joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x414024]
xor eax, ebp
mov dword [ebp - 8], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x401ab1
jmp 0x401b3c
mov dword [ebp - 0x130], 0x128
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.00403fa0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0x138], eax
jmp 0x401b0e
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x401b22
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x401af4
cmp dword [ebp - 4], 0x50
jg 0x401b2f
push 1
call fcn.00404406
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004036d1
mov esp, ebp
pop ebp
ret

Function at 0x401b50
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f2eb
mov eax, dword fs:[0]
push eax
mov eax, 0x13d0
call fcn.0040a520
mov eax, dword [0x414024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x41225a
lea ecx, [ebp - 0x13dc]
call fcn.00402470
mov dword [ebp - 4], 0
lea eax, [ebp - 0x13dc]
push eax
lea ecx, [ebp - 0x13b5]
call fcn.004010f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13dc]
call fcn.00402580
push 0x6c078965
push 0xffffffffffffffff
lea ecx, [ebp - 0x13b5]
call fcn.00401110
push eax
lea ecx, [ebp - 0x13b4]
call fcn.00402600
push 0x2710
push 0x3e8
lea ecx, [ebp - 0x13c0]
call fcn.00402630
lea ecx, [ebp - 0x13b4]
push ecx
lea ecx, [ebp - 0x13c0]
call fcn.004030a0
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004036d1
mov esp, ebp
pop ebp
ret
Function at 0x403460
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x40347e
mov ecx, dword [ebp - 8]
call fcn.00403650
jmp 0x403491
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x403491
mov ecx, dword [ebp - 8]
call fcn.00403500
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403500
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
jmp 0x40351b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x40357d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp - 0xc]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 4], edx
jmp 0x403512
jmp 0x403588
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x26f
jge 0x4035ec
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + edx*4 + 0x9c8]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
shr eax, 1
mov ecx, dword [ebp - 0x10]
and ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor eax, ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + edx*4 - 0x388]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 4], eax
jmp 0x40357f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
and eax, 0x7fffffff
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp - 8]
and edx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
mov eax, dword [ebp - 0x14]
xor ecx, dword [eax + 0x634]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret

Function at 0x403650
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x270
jmp 0x40366b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x4036cd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp - 8]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor edx, dword [eax + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [eax + ecx*4 + 4], edx
jmp 0x403662
mov esp, ebp
pop ebp
ret

Function at 0x4036d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414024]
jne 0x4036db
repz ret
jmp fcn.00404858
Function at 0x4084ad
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x414024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004054e2
and dword [ebp - 0x14], 0
cmp dword [0x415e74], 0
mov dword [ebp - 0x18], eax
jne 0x408560
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408608
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408608
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x415e74], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x415e78], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x415e7c], eax
call edi
push eax
call esi
mov dword [0x415e84], eax
test eax, eax
je 0x408560
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x415e80], eax
mov eax, dword [0x415e80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4085b9
cmp dword [0x415e84], ecx
je 0x4085b9
push eax
call esi
push dword [0x415e84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4085b9
test ebx, ebx
je 0x4085b9
call edi
test eax, eax
je 0x4085b0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4085b0
test byte [ebp - 8], 1
jne 0x4085b9
or dword [ebp + 0x10], 0x200000
jmp 0x4085ec
mov eax, dword [0x415e78]
cmp eax, dword [ebp - 0x18]
je 0x4085ec
push eax
call esi
test eax, eax
je 0x4085ec
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4085ec
mov eax, dword [0x415e7c]
cmp eax, dword [ebp - 0x18]
je 0x4085ec
push eax
call esi
test eax, eax
je 0x4085ec
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x415e74]
call esi
test eax, eax
je 0x408608
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40860a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004036d1
leave
ret
Function at 0x401fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467156
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push 0xc
mov dword [esp + 0x10], esi
mov dword [esi], 0x46b30c
mov dword [esi + 4], 0x46b308
mov byte [esi + 0xc], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
push 0x19018
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x46b300
mov dword [esi + 4], 0x46b2fc
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x30], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x402032
mov ecx, eax
call fcn.004108b0
jmp 0x402034
xor eax, eax
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x34], bl
mov dword [esi + 0x28], eax
call dword [0x477d54]
push ebx
mov dword [esi + 8], eax
call dword [0x477cf0]
test eax, eax
jl 0x4020a8
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
lea ecx, [esp + 0x38]
push 0x477d70
mov al, 0x37
push ecx
push ebx
mov byte [esp + 0x44], 0x23
mov byte [esp + 0x45], 0x33
mov byte [esp + 0x46], 0x32
mov byte [esp + 0x47], al
mov byte [esp + 0x48], al
mov byte [esp + 0x49], 0x30
mov byte [esp + 0x4a], bl
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x34], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x402340
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46718b
push eax
mov dword fs:[0], esp
sub esp, 0x824
lea eax, [esp + 0xc]
push ebp
push eax
xor ebp, ebp
push 0x46b41c
push 1
push ebp
push 0x46b4ac
call dword [0x477cec]
test eax, eax
je 0x402382
or eax, 0xffffffff
jmp 0x4024b3
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
lea edx, [esp + 4]
push 0
push edx
mov ecx, dword [eax]
push 0x46b49c
push eax
mov dword [esp + 0x840], 0
call dword [ecx + 0xc]
test eax, eax
je 0x4023d0
mov eax, dword [esp + 4]
mov dword [esp + 0x830], 0xffffffff
test eax, eax
je 0x4023c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
jmp 0x4024b3
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0xc]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x402498
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x47300c
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x40246e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
mov word [esp + 0x24], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x402464
mov ecx, dword [esp + 0x28]
push eax
push eax
lea eax, [esp + 0x38]
push 0x800
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
inc ebp
call esi
mov edx, dword [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x402406
pop edi
pop esi
mov eax, dword [esp + 4]
mov dword [esp + 0x830], 0xffffffff
test eax, eax
je 0x4024b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebp
mov ecx, dword [esp + 0x828]
pop ebp
mov dword fs:[0], ecx
add esp, 0x830
ret 4
Function at 0x4028b0
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4671d0
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [esp + 0x34]
xor ebx, ebx
cmp edi, ebx
jge 0x4028e9
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 8], ebx
lea eax, [esp + 8]
mov dword [esp + 0x2c], ebx
push eax
push 0x46b41c
push 1
push ebx
push 0x46b4ac
call dword [0x477cec]
cmp eax, ebx
je 0x402938
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402982
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 0x34]
push ebx
push ecx
mov edx, dword [eax]
push 0x46b49c
push eax
mov byte [esp + 0x3c], 1
call dword [edx + 0xc]
cmp eax, ebx
je 0x402997
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2c], bl
cmp eax, ebx
je 0x40296c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402982
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x34]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
xor esi, esi
call dword [ecx + 0xc]
cmp edi, ebx
jl 0x402a56
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0x47300c
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x402a2c
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push ebx
mov word [esp + 0x20], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x402a22
cmp esi, edi
jne 0x402a17
mov eax, dword [esp + 0x14]
push ebp
push 0x46b40c
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc esi
call dword [ecx + 0xc]
cmp esi, edi
jle 0x4029c7
pop ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
cmp eax, ebx
pop esi
je 0x402a69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402a7f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4044f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x130
push esi
mov esi, ecx
mov dl, 0x44
mov cl, 0x73
mov byte [esp + 7], dl
mov byte [esp + 0x1e], dl
mov al, 0x61
mov byte [esp + 6], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0x13], cl
mov byte [esp + 0x1d], cl
mov dl, 0x65
mov byte [esp + 0x2f], cl
push edi
mov ecx, esi
mov byte [esp + 8], 0x52
mov byte [esp + 9], al
mov byte [esp + 0xc], 0x69
mov byte [esp + 0xd], al
mov byte [esp + 0xe], 0x6c
mov byte [esp + 0xf], 0x50
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0x6d
mov byte [esp + 0x15], 0x21
mov byte [esp + 0x16], 0x25
mov byte [esp + 0x18], 0x23
mov byte [esp + 0x19], 0x30
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1c], 0x4c
mov byte [esp + 0x1d], 0x24
mov byte [esp + 0x1e], 0x5f
mov byte [esp + 0x1f], 0x52
mov byte [esp + 0x20], al
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0x66
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], 0x43
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], 0x64
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], 0x74
mov byte [esp + 0x30], 0x69
mov byte [esp + 0x31], al
mov byte [esp + 0x32], 0x6c
mov byte [esp + 0x34], 0x23
mov byte [esp + 0x35], 0x30
mov byte [esp + 0x36], 0
call fcn.004041a0
push eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esi
push edx
call fcn.004042d0
mov edi, eax
test edi, edi
je 0x40461c
mov ax, word [edi]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00404360
mov edx, dword [edi + 4]
push edx
call sub.ADVAPI32.dll_LsaFreeMemory
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004042d0
mov edi, eax
test edi, edi
je 0x404646
mov cx, word [edi]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, esi
call fcn.00404360
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.dll_LsaFreeMemory
pop edi
pop esi
add esp, 0x130
ret
Function at 0x4057d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b340
push 0x466282
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call sub.MSVCRT.dll_malloc
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x40592a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x40587b
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x40587b
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x405856
cmp al, 0x5c
je 0x405856
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x40583e
cmp byte [esi], 0
je 0x40585f
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x405874
cmp al, 0x5c
je 0x405874
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x40585c
cmp byte [esi], 0
je 0x40589a
jmp 0x405896
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x40589a
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x40589a
cmp al, 0x5c
jne 0x40589a
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov al, byte [esi]
test al, al
je 0x4058f0
cmp al, 0x5c
jne 0x4058e2
mov byte [esi], 0
push edi
call ebx
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x4058d5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4058df
call dword [0x4780e8]
cmp eax, 0xb7
je 0x4058df
push edi
jmp 0x405922
and eax, 0x10
cmp al, 0x10
je 0x4058df
push edi
jmp 0x405922
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x4058a0
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.0046627c
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0046627c
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405c60
Capabilities:
Get disk information

Disassembly:
sub esp, 0x784
push ebx
lea eax, [esp + 0x128]
push ebp
push eax
mov dword [esp + 0x28], ecx
push 0x100
mov byte [esp + 0x394], 0x68
call dword [0x4780dc]
mov al, byte [esp + 0x12c]
xor edx, edx
test al, al
lea ebp, [esp + 0x12c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov ebx, 1
je 0x405dfd
push esi
push edi
jmp 0x405cba
xor edx, edx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x30]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push ecx
push edx
push edx
push edx
push edx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x410
lea edx, [esp + 0x238]
push 0x160
push edx
push 0x80
push ebp
call dword [0x4780e0]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x344]
push eax
call esi
mov edi, eax
lea ecx, [esp + 0x30]
inc edi
push ecx
mov dword [esp + 0x2c], edi
call esi
inc eax
mov dword [esp + 0x14], eax
mov al, byte [ebp]
cmp al, 0x41
je 0x405d6c
cmp al, 0x42
je 0x405d6c
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push ebp
call dword [0x4780d8]
test eax, eax
je 0x405d6c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, 0x14
call fcn.00466290
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, 0x14
call fcn.00466290
mov dword [esp + 0x10], eax
jmp 0x405d72
xor esi, esi
mov dword [esp + 0x10], esi
mov cl, byte [ebp]
push ebp
mov byte [esp + ebx + 0x398], cl
call dword [0x4780e4]
mov edx, dword [esp + 0x10]
mov ecx, edi
mov byte [esp + ebx + 0x395], al
mov eax, ecx
mov dword [esp + ebx + 0x396], esi
lea esi, [esp + 0x344]
lea edi, [esp + ebx + 0x39e]
mov dword [esp + ebx + 0x39a], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x28]
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ebx]
lea esi, [esp + 0x34]
lea edi, [esp + edx + 0x3a2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add ecx, eax
lea ebx, [ebx + ecx + 0xa]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x405cb8
pop edi
pop esi
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x38c]
push ebx
push edx
call fcn.0040af40
pop ebp
pop ebx
add esp, 0x784
ret
Function at 0x407e00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x64
push esi
push edi
mov edi, dword [esp + 0x70]
push 0x2f
push edi
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 8
inc esi
jne 0x407e21
pop edi
xor al, al
pop esi
add esp, 0x64
ret
push esi
push edi
call fcn.0040ff70
add esp, 8
test al, al
jne 0x407e35
pop edi
pop esi
add esp, 0x64
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
mov edx, 0x44
rep stosd dword es:[edi], eax
mov cl, 0x74
mov dword [esp + 0x28], edx
mov byte [esp + 0xc], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x10], dl
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push 0
mov al, 0x61
push 0
push 0
mov byte [esp + 0x29], al
mov byte [esp + 0x2f], al
push 0
lea eax, [esp + 0x28]
push 0
push esi
mov byte [esp + 0x30], 0x57
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x32], 0x6e
mov byte [esp + 0x33], 0x53
mov byte [esp + 0x36], 0x30
mov byte [esp + 0x37], 0x5c
mov byte [esp + 0x39], 0x65
mov byte [esp + 0x3a], 0x66
mov byte [esp + 0x3c], 0x75
mov byte [esp + 0x3d], 0x6c
mov byte [esp + 0x3f], 0
mov dword [esp + 0x58], eax
call dword [0x478134]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x64
ret