joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40df1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00406bd0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete al
pop ebp
ret

Function at 0x40dfc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406b2c
xor eax, eax
push ebp
push 0x40e052
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x40e038
mov eax, dword [ebp - 4]
test eax, eax
je 0x40e005
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x40e005
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405f28
mov ebx, eax
test ebx, ebx
je 0x40e010
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.00406bd0
push eax
push 1
push 0
mov eax, edi
call fcn.00406bd0
push eax
push esi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
jmp 0x40e03a
xor eax, eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e059
lea eax, [ebp - 4]
call fcn.00406b34
ret

Function at 0x40e0d8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40e199
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00413bfc
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push edi
call sub.advapi32.dll_RegQueryInfoKeyW
test eax, eax
jne 0x40e183
cmp dword [ebp - 8], 0
jbe 0x40e181
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, eax
call fcn.004040f4
mov ebx, eax
xor esi, esi
jmp 0x40e15f
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00406cf0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00413bd4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call sub.advapi32.dll_RegEnumKeyExW
cmp eax, 0x103
jne 0x40e142
mov eax, ebx
call fcn.00404110
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e1a0
lea eax, [ebp - 0x10]
call fcn.00406b34
ret
Function at 0x40e1ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40e26d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00413bfc
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call sub.advapi32.dll_RegQueryInfoKeyW
test eax, eax
jne 0x40e257
cmp dword [ebp - 8], 0
jbe 0x40e255
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, eax
call fcn.004040f4
mov ebx, eax
xor esi, esi
jmp 0x40e233
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00406cf0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00413bd4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call sub.advapi32.dll_RegEnumValueW
cmp eax, 0x103
jne 0x40e216
mov eax, ebx
call fcn.00404110
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e274
lea eax, [ebp - 0x10]
call fcn.00406b34
ret

Function at 0x40e480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [0x455cfc]
mov byte [eax], 1
mov edx, dword [0x40a7e4]
xor eax, eax
call fcn.0040ad6c
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x40e470
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x40e600
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x40e61f
mov byte [ebx + 0x18], 1
pop ebx
pop ebp
ret
cmp word [ebx + 0x2c], 0
je 0x40e62e
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
pop ebp
ret

Function at 0x40e690
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
pop ebp
ret

Function at 0x40eccc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push ecx
push esi
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
je 0x40ed35
push ebx
push esi
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 8], eax
push ebx
push esi
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
je 0x40ed35
push ebx
call sub.kernel32.dll_GlobalLock
mov esi, eax
test esi, esi
jne 0x40ed1c
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
jne 0x40ed35
mov esi, ebx
mov edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.0040e774
mov edi, eax
cmp esi, ebx
je 0x40ed35
push ebx
call sub.kernel32.dll_GlobalUnlock
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x40ed68
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ee00
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x40edb5
mov eax, dword [ebx + 0x19]
call fcn.00406bd0
push eax
push esi
mov eax, edi
call fcn.00406bd0
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00406bd0
push eax
call sub.kernel32.dll_GetPrivateProfileIntW
mov dword [ebp - 4], eax
jmp 0x40edea
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.00406bd0
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.0040c0fc
mov eax, dword [ebp - 8]
call fcn.00406bd0
push eax
mov eax, edi
call fcn.00406bd0
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00406bd0
push eax
call sub.kernel32.dll_WritePrivateProfileStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ee07
lea eax, [ebp - 8]
call fcn.00406b34
ret

Function at 0x40ee14
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40ee1d
mov eax, dword [ebp - 4]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
cmp byte [ebx + 0x18], 0
jne 0x40ee9d
mov word [ebp - 0x2004], 0
mov eax, dword [ebx + 0x19]
call fcn.00406bd0
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
mov eax, esi
call fcn.00406bd0
push eax
mov eax, dword [ebp - 4]
call fcn.00406bd0
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00406bd0
push eax
call sub.kernel32.dll_GetPrivateProfileStringW
test eax, eax
je 0x40ee92
mov eax, edi
lea edx, [ebp - 0x2004]
mov ecx, 0x1000
call fcn.00406d44
jmp 0x40eece
mov eax, edi
xor edx, edx
call fcn.00406b44
jmp 0x40eece
mov eax, edi
mov edx, esi
call fcn.00406b44
mov eax, dword [ebx + 0x19]
call fcn.00406bd0
push eax
mov eax, esi
call fcn.00406bd0
push eax
mov eax, dword [ebp - 4]
call fcn.00406bd0
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00406bd0
push eax
call sub.kernel32.dll_WritePrivateProfileStringW
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ef00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x40ef91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xfffe
call fcn.004040f4
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
mov eax, dword [esi + 0x19]
call fcn.00406bd0
push eax
push 0x7fff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetPrivateProfileSectionNamesW
mov esi, eax
add esi, esi
add esi, ebx
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00406cf0
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00413bd4
mov eax, ebx
call fcn.00406930
add eax, eax
add ebx, eax
add ebx, 2
cmp esi, ebx
ja 0x40ef4d
mov eax, dword [ebp - 4]
call fcn.00404110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef98
lea eax, [ebp - 8]
call fcn.00406b34
ret
Function at 0x4114c4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
and dword [ebx + 0x24], 0xefffffff
test dl, dl
je 0x4114dc
or dword [ebx + 0x24], 0x10000000
cmp dword [ebx + 0x1c], 0
je 0x411512
test dl, dl
je 0x4114fb
mov eax, ebx
call dword [0x452abc]
push 5
mov eax, dword [ebx + 0x1c]
push eax
call sub.user32.dll_ShowWindow
jmp 0x411512
and byte [ebx + 0x37], 0xfe
push 0
mov eax, dword [ebx + 0x1c]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call dword [0x452abc]
pop ebx
pop ebp
ret

Function at 0x4139f8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x413aa8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edx
mov edx, 0x80000301
call fcn.0040d024
mov edi, eax
cmp edi, 0xffffffff
setne bl
test bl, bl
je 0x413a92
push 0
push edi
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.00405e90
mov esi, dword [ebp - 4]
test esi, esi
je 0x413a6a
mov eax, esi
sub eax, 0xa
cmp word [eax], 1
je 0x413a6a
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00405f58
mov esi, eax
lea eax, [ebp - 4]
call fcn.004064dc
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, edi
call fcn.0040d0c4
mov eax, edi
call fcn.0040d070
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00413420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413aaf
lea eax, [ebp - 4]
call fcn.00405d94
ret
Function at 0x41afec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41b095
test eax, edx
je 0x41b098
push 0
push 0
cmp word [eax - 0xa], 2
je 0x41b015
push edx
mov edx, eax
mov eax, esp
call fcn.00406d60
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41b02b
push eax
lea eax, [esp + 8]
call fcn.00406d60
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41b03a
movzx eax, word [eax]
sub eax, ecx
jmp 0x41b061
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41b07b
add ecx, 4
js 0x41b052
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41b078
push eax
mov eax, ecx
mov edx, 2
call fcn.00405db8
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41b05f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41b061
xor eax, eax
ret
test eax, eax
je 0x41b0a8
test edx, edx
jne 0x41affc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41f084
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41f0bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406c80
jmp 0x41f0c6
mov eax, ebx
mov edx, esi
call fcn.00406b44
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41f0d0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41f0f2
movzx eax, word [esp]
jmp 0x41f0f4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41f9d4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41faf9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041f7e4
mov esi, eax
mov eax, dword [0x455e44]
cmp byte [eax], 0
je 0x41faa1
mov eax, dword [0x455d34]
call fcn.00404484
call fcn.0040423c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41f9ac]
call fcn.004080f4
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41fb14
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41fadd
push pe_nt_image_headers32
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x455d04]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458c40]
call fcn.004081ac
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fb00
lea eax, [ebp - 4]
mov edx, dword [0x41f9ac]
call fcn.00408100
ret

Function at 0x421df3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004060cc
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x421e16
mov eax, edi
add eax, eax
call fcn.004040f4
mov esi, eax
jmp 0x421e18
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x421e51
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x421e3b
mov eax, esp
cmp esi, eax
je 0x421e5e
mov eax, esi
call fcn.00404110
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x421e98
cmp bl, 0
je 0x421e94
cmp bl, 0x41
jl 0x421e8f
cmp bl, 0x5a
jg 0x421e8f
or bl, 0x20
xor al, bl
inc esi
jmp 0x421e73
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x421dd8
Function at 0x436378
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4559d4
call sub.advapi32.dll_AllocateAndInitializeSid
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4363cb
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
jne 0x4363c2
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
cmp dword [ebp - 4], 1
sbb eax, eax
inc eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x436504
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor eax, eax
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
push 0x3b
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jbe 0x43653d
lea eax, [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle_1
pop ebx
pop ecx
pop ebp
ret

Function at 0x436544
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406b2c
mov eax, dword [ebp - 8]
call fcn.00406b2c
xor eax, eax
push ebp
push 0x43662a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4365fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404558
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0x500
mov eax, 0x43663c
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0040d3a8
mov eax, dword [ebp - 0x48]
call fcn.00406bd0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00406bd0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x4365ef
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x436607
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x436607
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436631
lea eax, [ebp - 0x48]
call fcn.00406b34
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b3c
ret
Function at 0x436b10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b2c
xor eax, eax
push ebp
push 0x436cc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 2
mov dl, 0x5c
mov eax, dword [ebp - 4]
call fcn.00436a7c
mov ebx, eax
lea ecx, [ebx + 1]
mov dl, 0x5c
mov eax, dword [ebp - 4]
call fcn.00436a7c
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x436b78
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x436b78
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405f28
mov edi, eax
test edi, edi
je 0x436b83
sub edi, 4
mov edi, dword [edi]
push esi
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004071c4
mov eax, dword [ebp - 4]
test eax, eax
je 0x436bad
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x436bad
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405f28
test eax, eax
je 0x436bb6
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
mov ecx, eax
mov eax, ebx
xchg edx, eax
call fcn.00407294
mov bx, 0x41
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00406e00
push 0x104
mov eax, dword [ebp - 8]
call fcn.00406bd0
push eax
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00406cb0
lea eax, [ebp - 0xc]
mov edx, 0x436ce4
call fcn.00406e98
mov eax, dword [ebp - 0xc]
call fcn.00406bd0
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
je 0x436c84
mov eax, dword [ebp - 8]
call fcn.00406bd0
mov edx, eax
lea eax, [ebp - 8]
call fcn.00406cf0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406d88
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040c460
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406d88
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040c460
mov edx, dword [ebp - 0x18]
pop eax
call fcn.004063e8
jne 0x436c84
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.00406cb0
push dword [ebp - 0x20]
push 0x436ce4
push dword [esi]
mov eax, esi
mov edx, 3
call fcn.0040703c
jmp 0x436c98
inc ebx
cmp bx, 0x5b
jne 0x436bc7
mov eax, esi
xor edx, edx
call fcn.00406b44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436ccf
lea eax, [ebp - 0x20]
call fcn.00406b34
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405db8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406b3c
ret
Function at 0x438004
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b2c
xor eax, eax
push ebp
push 0x4380ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004378a8
cmp dword [ebp - 8], 0
je 0x43809c
mov edx, dword [ebp - 0xc]
mov eax, 0x438108
call fcn.004073b0
test eax, eax
jle 0x43805e
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x438108
call fcn.0040cadc
jmp 0x438078
push 0x43811c
push dword [ebp - 4]
push 0x43811c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040703c
push 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406bd0
push eax
mov eax, dword [ebp - 8]
call fcn.00406bd0
push eax
push 0x438120
push 0
call sub.shell32.dll_ShellExecuteW_1
jmp 0x4380d4
push 5
push 0
push 0x43812c
push 0x43811c
push dword [ebp - 4]
push 0x43811c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040703c
mov eax, dword [ebp - 0x14]
call fcn.00406bd0
push eax
push 0x438120
push 0
call sub.shell32.dll_ShellExecuteW_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4380f6
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00406b3c
ret

Function at 0x438650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4386cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406b44
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x1a
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x4386b6
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406d44
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.0040d3a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4386d6
lea eax, [ebp - 0x210]
call fcn.00406b34
ret

Function at 0x4386dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43875b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406b44
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x1c
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x438742
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406d44
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.0040d3a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438762
lea eax, [ebp - 0x210]
call fcn.00406b34
ret
Function at 0x438768
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4387e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406b44
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x26
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x4387ce
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406d44
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.0040d3a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4387ee
lea eax, [ebp - 0x210]
call fcn.00406b34
ret

Function at 0x4387f4
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x438873
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406b44
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x2a
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x43885a
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406d44
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.0040d3a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43887a
lea eax, [ebp - 0x210]
call fcn.00406b34
ret