joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470b64
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x470b8d
call fcn.00472326
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x470bb2
push eax
push dword [esi + 4]
call fcn.00470af1
jmp 0x470bbe
push esi
push eax
mov ecx, 0x49c088
call fcn.004709a1
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x470e95
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 1
push edi
je 0x470ea9
cmp dword [esi + 0x14], 0
jne 0x470eb3
push 6
push dword [esi + 0x1c]
call fcn.00470af1
mov ecx, dword [esi + 0x30]
test ecx, ecx
jne 0x470eec
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x470edb
push eax
push dword [esi + 0x1c]
call fcn.00470af1
cmp dword [ebp - 4], edi
je 0x470f55
push 0
push dword [esi + 0x1c]
call fcn.00470af1
jmp 0x470f55
mov eax, dword [esi + 0x2c]
mov edi, dword [sym.imp.WININET.dll_InternetWriteFile]
push ebx
mov ebx, dword [ebp + 0xc]
lea edx, [eax + ebx]
cmp edx, dword [esi + 0x28]
jb 0x470f1d
lea edx, [ebp - 4]
push edx
push eax
push ecx
push dword [esi + 0x14]
call edi
test eax, eax
jne 0x470f19
push eax
push dword [esi + 0x1c]
call fcn.00470af1
and dword [esi + 0x2c], 0
cmp ebx, dword [esi + 0x28]
jb 0x470f3e
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [esi + 0x14]
call edi
test eax, eax
jne 0x470f54
push eax
push dword [esi + 0x1c]
call fcn.00470af1
jmp 0x470f54
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x2c]
push ebx
push dword [ebp + 8]
push eax
call fcn.00459980
add esp, 0xc
add dword [esi + 0x2c], ebx
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x470f8a
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jne 0x470fd4
push 0x1000
call fcn.0047074a
test eax, eax
je 0x471038
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x470fcb
push ebx
push dword [esi + 0x1c]
call fcn.00470af1
mov eax, dword [ebp - 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x3c]
push edi
mov edi, dword [ebp + 8]
jmp 0x47102d
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x40]
jb 0x471018
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x471008
push ebx
push dword [esi + 0x1c]
call fcn.00470af1
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x47103e
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov cl, byte [eax]
cmp cl, 0xd
je 0x471022
mov byte [edi], cl
inc edi
inc dword [esi + 0x38]
mov cl, byte [eax]
inc eax
cmp cl, 0xa
je 0x471032
dec dword [ebp + 0xc]
jne 0x470fe0
mov eax, dword [ebp + 8]
mov byte [edi], bl
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, edi
sub eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
jmp 0x471035

Function at 0x471234
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x47bd7e
call fcn.00459960
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0046ca42
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [esi], vtable.CInternetFile.0
mov dword [esi + 0x1c], eax
call fcn.004023c0
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.00402a00
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00402a00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x4723fb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4994a0]
xor eax, dword [ebp + 4]
cmp dword [ebp + 0xc], 0x800
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x472458
push 0x487320
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00456aa7
leave
ret
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x472427
jmp 0x47244b
Function at 0x47247e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4994a0]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x472523
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0xc], ecx
call esi
push dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x472625
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x4725d3
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x472626
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4725c8
cmp dword [ebp - 0x14], 1
jne 0x4725c8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push 0x4849dc
push eax
call fcn.00458d6a
add esp, 0xc
cmp eax, 1
jne 0x4725c8
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x472626
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x472626
lea ecx, [ebp - 8]
push ecx
push 0x47246c
push 1
push 0x10
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 8], bx
je 0x472626
movzx eax, word [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x47264c
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.004723fb
cmp eax, ebx
pop ecx
pop ecx
jne 0x47264e
inc edi
cmp edi, esi
jl 0x472635
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.00456aa7
leave
ret 4
Function at 0x472660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x4989a4
je 0x47271c
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x472704
mov esi, dword [ebx + 4]
jmp 0x4726fe
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4726ee
cmp dword [ebp - 0xc], 4
jne 0x4726ee
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x4726e6
or dword [eax + 0x9c], ecx
jmp 0x4726ee
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x4726b2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x472695
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x472ab9
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x47bc09
call fcn.00459960
sub esp, 0x110
mov eax, dword [0x4994a0]
xor eax, dword [ebp + 4]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x472b74
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, 0xff
jmp 0x472b3d
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405920
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
call fcn.00472ab9
mov ecx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
setne byte [ebp - 0x11]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402030
cmp byte [ebp - 0x11], 0
jne 0x472b52
push ebx
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x18]
call edi
mov esi, eax
test esi, esi
je 0x472b01
cmp esi, 0x103
pop edi
pop ebx
je 0x472b64
cmp esi, 0x3f2
jne 0x472b74
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
call fcn.00456aa7
leave
ret 8
Function at 0x472f77
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x47bcc8
call fcn.00459960
mov eax, 0x1014
call fcn.00457240
mov eax, dword [0x4994a0]
xor eax, dword [ebp + 4]
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp dword [ecx + 0x50], edi
mov dword [ebp - 0x10], eax
je 0x47304e
push dword [ebp + 0xc]
call fcn.00472ec8
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x472fbd
push dword [ebp + 0x14]
jmp 0x47307f
push esi
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp - 0x14]
call esi
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x47301f
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp + 0xc]
call fcn.00402740
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call esi
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x18], eax
call fcn.00402260
mov ebx, dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], edi
mov ecx, dword [ebp + 8]
pop esi
jne 0x47303c
lea eax, [ebp + 0xc]
push eax
call fcn.004023e0
jmp 0x473044
push dword [ebp + 0x14]
call fcn.00405920
lea ecx, [ebx - 0x10]
call fcn.00402030
jmp 0x473087
cmp dword [ebp + 0x14], edi
jne 0x47305a
mov dword [ebp + 0x14], 0x47e490
push dword [ecx + 0x64]
lea eax, [ebp - 0x1020]
push 0x1000
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405920
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop ebx
call fcn.00456aa7
leave
ret 0x10

Function at 0x473316
Capabilities:
Get thread local storage value

Disassembly:
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x473333
mov ecx, dword [esp + 4]
cmp ecx, dword [eax + 8]
jge 0x473333
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4]
jmp 0x473335
xor eax, eax
ret 4

Function at 0x47342d
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x473461
call fcn.00464c5e
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret
Function at 0x4734c9
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4734f7
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jl 0x473592
cmp dword [esp + 0x14], ebx
je 0x473592
jmp 0x473534
push 0x10
call fcn.004731db
cmp eax, ebx
je 0x47350d
mov ecx, eax
call fcn.00473424
mov esi, eax
jmp 0x47350f
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
push ebx
mov dword [edi + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x47354b
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x47355b
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x473567
call fcn.00464c5e
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0xc]
sub ecx, eax
shl ecx, 2
push ecx
mov ecx, dword [esi + 0xc]
lea eax, [ecx + eax*4]
push ebx
push eax
call fcn.00459900
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + edx*4], ecx
pop ebx
ret 8
Function at 0x4056f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jl 0x405756
push dword [eax]
xor edi, edi
mov esi, dword [edx + 0x28]
movzx ecx, word [edx + 0x26]
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x405751
sub al, 0x20
ror edi, 0xd
add edi, eax
dec ecx
jne 0x405748
push edx
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
push edi
add eax, edx
mov eax, dword [eax + 0x78]
test eax, eax
je 0x4057b6
add eax, edx
mov ecx, dword [eax + 0x18]
push eax
mov ebx, dword [eax + 0x20]
add ebx, edx
test ecx, ecx
je 0x4057b5
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor eax, eax
lodsb al, byte [esi]
ror edi, 0xd
add edi, eax
cmp al, ah
jne 0x405781
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x405775
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop eax
pop edi
pop edx
mov edx, dword [edx]
jmp 0x40573f

Function at 0x405cf3
Capabilities:
Accept command line arguments

Disassembly:
push esi
sub eax, 0x5879ae64
invalid
jb 0x405cc1
cmp dword [eax], eax
push eax
call [edx]
jnp 0x405d17
les edx, [eax]
mov edx, dword [ebp + 0x10]
mov cl, byte [esi + 0x10]
xor bl, byte [eax + 0x1047c]
mov ecx, dword [edx]
mov ecx, 0xdbc25d
nop
nop
fcom dword [eax - 0x6f6f3f70]
dec esi
nop
nop
xchg edx, eax
rcl byte [eax - 0x6f6fb170], 0x92
nop
nop
aam 0x8b
aam 0x51
push edi
call fcn.00405f20
test eax, eax
jne 0x405e30
cmp dword [0x41efdc], 0x48
jle 0x405dba
out dx, al
add byte [edx + 0x384a130], bh
inc ecx
add byte [ebp - 0x1eedf040], al
add byte [eax], al
add byte [ebp + eax - 0x58], al
add eax, dword [ecx + 0x5e]
add dword [eax], eax
fadd qword [eax]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test dword [eax + 0x58a15074], edi
add eax, dword [ecx]
test eax, eax
jne 0x405dd4
push eax
push 0x72f443
push 4
call fcn.0040a940
add esp, 0x61
mov dword [0xb80358], eax
test eax, eax
test byte ds:[edi - 0x6aff2400], ch
dec ebp
cld
sub al, 0x56
dec dword [ecx - 0x75]
invalid
mov ebx, eax
push 0xffffffffffffffff
push ebx
call dword [sym.imp.MSVCRT.dll___p__environ]
push eax
call fcn.00405e50
mov edi, dword [ebp + 0x10]
add esp, 0xc
or al, 0x85
push ds
je 0x405e02
sub eax, 0x585d88d
add byte [eax], al
add byte [esi - 1], dl
push ss
pop esp
inc eax
add byte [ebx + 0x78904c4], al
call dword [0x6fc1a5]
mov edi, dword [edi]
mov ecx, esi
mov esi, dword [eax]
mov edx, ecx
sar dword [ebp + 2], 0xf3
stc
mov ecx, edx
pop esi
loope 0x405e03
invalid
add byte [ebp + ebp*4 - 0x3faf5e01], ah
imul eax, dword [eax], 0x1d28358b
inc eax
add byte [esi + edx*8], bl
in al, dx
mov edx, 0x74c985e9
push ss
fisttp qword [ecx + 0x57d6ff38]
mov dword [eax], 0
call dword [0x5e40c130]
sub dword [ebx + 0x5fc03304], 0x5e
lodsd eax, dword [esi]
jmp dword [ecx + 0x69c050]
pop edi
pop esi
mov esp, ebp
push ss
ret 0x8c0c
Function at 0x42e005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x20ad3b41
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3556636c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40b85c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041e630
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x40b87a
xor al, al
jmp 0x40b9e4
push ebx
push edi
push esi
call fcn.0040b9f6
push esi
call fcn.00423883
pop ecx
push esi
mov edi, eax
call fcn.0040ba22
test al, al
je 0x40b90c
push esi
call fcn.0040b9f6
test al, al
je 0x40b8c3
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40b9e0
push dword [ebp + 0x10]
push 0x4338ac
push dword [ebp + 0xc]
call fcn.00410131
push dword [ebp + 0x10]
jmp 0x40b9d3
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40b9e0
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40b9e0
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40b9e0
push esi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.00410131
push esi
push 0x4338b8
push dword [ebp + 0xc]
call fcn.00410109
push esi
push ebx
jmp 0x40b9d4
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40b9e0
cmp eax, ebx
ja 0x40b9e0
movzx eax, word [esi]
push eax
call fcn.0040bafd
test al, al
je 0x40b973
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40b9e0
push edi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.00410131
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.00410109
jmp 0x40b9d2
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040b3f7
lea eax, [ebp - 0x1000]
push eax
call fcn.00423883
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40b9e0
push edi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.00410131
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.00410109
cmp word [esi], 0x2e
jne 0x40b9d2
movzx eax, word [esi + 2]
push eax
call fcn.0040bafd
test al, al
je 0x40b9d2
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.00410109
mov al, 1
jmp 0x40b9e2
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c630
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40c64d
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40c645
cmp cl, byte [edx]
jne 0x40c688
push esi
push edx
push 0xffffffffffffffff
call fcn.00405ebc
not eax
mov ecx, ebx
cmp dword [ecx + 0x43e02c], eax
jne 0x40c66e
cmp dword [ecx + 0x43e028], esi
je 0x40c679
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40c65e
jmp 0x40c688
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43e030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc