joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438430
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.default.0x4385b7
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x11c]
lea ecx, [eax - 4]
cmp ecx, 6
ja case.0x438481.7
jmp dword [ecx*4 + 0x438678]
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x4384c6
cmp eax, 0xa
je 0x4384b3
cmp eax, 0x5a
jne case.default.0x4385b7
mov eax, 6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
cmp eax, 2
jne 0x4384e4
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne case.default.0x4385b7
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x438595
sub eax, 1
je 0x438582
sub eax, 1
jne case.default.0x4385b7
cmp byte [ebp - 6], 1
jne 0x438540
cmp word [ebp - 0x144], 9
jne 0x438540
mov eax, 9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x43855f
mov eax, 0xa
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je case.default.0x4385b7
mov eax, 0xb
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov eax, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov eax, 7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
cmp eax, 3
ja case.default.0x4385b7
jmp dword [eax*4 + 0x438694]
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 0xe
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov eax, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov eax, 0x11
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x118], 0
jne 0x438651
mov eax, 0x12
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
cmp eax, 3
jae 0x43864c
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
cmp eax, 6
jbe case.default.0x4385b7
mov eax, 0x13
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
Function at 0x4386b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push eax
xor edi, edi
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4386f2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004ecad0
add esp, 0xc
mov dword [ebp - 0x214], edi
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x438773
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x438773
lea edx, [ebp - 0x210]
lea edi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x438750
sub edx, edi
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.00416d70
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460412
mov esp, ebp
pop ebp
ret

Function at 0x438790
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4387e8
push edi
push dword [ebp + 0x10]
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.004ebfd0
movzx eax, word [ebp + 8]
add esp, 0xc
push edi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
ret
Function at 0x43aa90
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533d57
mov eax, dword fs:[0]
push eax
mov eax, 0x38e4
call fcn.00460460
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38e4], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38f0], esi
mov dword [ebp - 0x38e8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x110
lea eax, [ebp - 0x38dc]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x38e8], 1
call fcn.004ecad0
add esp, 0xc
mov dword [ebp - 0x38e0], 0x114
lea eax, [ebp - 0x38e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x38d0], 2
jne 0x43ad23
xor edi, edi
nop dword [eax]
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004ecad0
push edi
lea eax, [ebp - 0x110]
push 0x53f3c0
push eax
call fcn.00428df0
add esp, 0x18
lea eax, [ebp - 0x110]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43ad19
push 0x2710
lea eax, [ebp - 0x37c0]
mov dword [ebp - 0x38ec], 0
push 0
push eax
mov dword [ebp - 0x37c4], 0
mov dword [ebp - 0x37cc], 0
mov dword [ebp - 0x37c8], 0
call fcn.004ecad0
add esp, 0xc
lea eax, [ebp - 0x38ec]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37c0]
push eax
push 0xc
lea eax, [ebp - 0x37cc]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43ad0c
push 0x3e8
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.004ecad0
push 0x3e8
lea eax, [ebp - 0x4f8]
push 0
push eax
call fcn.004ecad0
push 0x3e8
lea eax, [ebp - 0x10b0]
push 0
push eax
call fcn.004ecad0
push 0x3e8
lea eax, [ebp - 0x8e0]
push 0
push eax
call fcn.004ecad0
mov ecx, dword [ebp - 0x38e4]
lea eax, [ebp - 0x10b0]
add esp, 0x30
push eax
push 0
push dword [ebp - 0x37b4]
lea eax, [ebp - 0x37c0]
push eax
call fcn.0043bdf0
mov ecx, dword [ebp - 0x38e4]
lea eax, [ebp - 0x4f8]
push eax
push 0
push dword [ebp - 0x37b0]
lea eax, [ebp - 0x37c0]
push eax
call fcn.0043bdf0
mov ecx, dword [ebp - 0x38e4]
lea eax, [ebp - 0x8e0]
push eax
push 0
push dword [ebp - 0x37ac]
lea eax, [ebp - 0x37c0]
push eax
call fcn.0043bdf0
mov ecx, dword [ebp - 0x38e4]
lea eax, [ebp - 0xcc8]
push eax
push 0
push dword [ebp - 0x37a8]
lea eax, [ebp - 0x37c0]
push eax
call fcn.0043bdf0
lea eax, [ebp - 0x4f8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43acd8
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.00404d00
lea eax, [ebp - 0x8e0]
mov ecx, esi
push eax
call fcn.00405180
lea eax, [ebp - 0xcc8]
mov ecx, esi
push eax
call fcn.00405180
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x10], 0
jne 0x43ad23
inc edi
cmp edi, 0x10
jl 0x43ab40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 4
Function at 0x43b4a0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533e3f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x579258]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x43b4f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._d_r_n
call fcn.0041a060
add esp, 8
jmp 0x43b5f3
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x43b5ed
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push 0x55169c
push 1
push 0
push 0x55168c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43b5ed
push 0xc
mov dword [ebp - 0x10], edi
call fcn.004603d4
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x43b575
push str.ROOT_CIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x43b64e
jmp 0x43b577
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
test esi, esi
je 0x43b658
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
mov dword [ebp - 4], 1
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0043c280
test esi, esi
js 0x43b5e4
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x43b609
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.0043b670
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.004eb430
push 0x8007000e
call fcn.004eb430
int3
Function at 0x43de70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5341c7
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
movzx eax, word [ebp + 8]
push str.MAINFONT
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43debc
xor al, al
jmp 0x43dfa4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x53f9a0
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0043e370
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
test ecx, ecx
je 0x43df13
mov edx, dword [ecx]
lea eax, [ebp - 0x70]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x4c], 0
push esi
push 0
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43df6f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x43df6f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43df6f
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push ecx
push 0
push esi
push eax
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x43df6f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebx + 4]
call fcn.0043e000
mov bl, 1
jmp 0x43df71
xor bl, bl
cmp byte [ebp - 0x18], 0
mov dword [ebp - 4], 3
jne 0x43df8a
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43dfc2
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43dfa2
mov esi, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 4
call fcn.0045f14f
int3
Function at 0x43e490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x240], ecx
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov eax, 1
push esi
mov ecx, 0x104
mov dword [ebp - 0x234], eax
push edi
mov dword [ebp - 0x238], ecx
nop dword [eax]
cmp dword [ebx + 0x10], 0
je 0x43e5b4
cmp dword [ebx + 0x14], 8
mov edi, ebx
jb 0x43e4e4
mov edi, dword [ebx]
mov dword [ebp - 0x23c], 0
test edi, edi
je 0x43e5b4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x43e5a8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x43e530
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43e5a8
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004fe0bb
add esp, 8
test eax, eax
je 0x43e557
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43e530
jmp 0x43e563
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x23c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x23c], 0
je 0x43e5a8
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x23c], eax
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x43e59b
mov edx, dword [ebp - 0x234]
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x43e5a8
lea edx, [ebp - 0x23c]
push edx
push eax
call fcn.004281b0
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
inc eax
add ebx, 0x18
sub ecx, 1
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], ecx
jne 0x43e4d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460412
mov esp, ebp
pop ebp
ret
Function at 0x440c60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53455d
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xa50]
mov edi, dword [ebp + 0xc]
xor eax, eax
push eax
mov dword [ebp - 0xa60], esi
push 0x53e9d0
mov dword [ebp - 0xa60], edi
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 7
mov word [ebp - 0xa50], ax
call fcn.00416d70
mov dword [ebp - 4], 0
test edi, edi
je 0x440de9
lea eax, [ebp - 0xa58]
mov dword [ebp - 0xa58], 0
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xa54], eax
test eax, eax
je 0x440de9
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x440de9
push edi
push dword [ebp - 0xa54]
push dword [ebp - 0xa58]
push dword [ebp - 0xa60]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x440de2
lea eax, [ebp - 0xa5c]
mov dword [ebp - 0xa54], 0
push eax
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa5c], 0
push eax
push 0x53ee40
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x440de2
cmp dword [ebp - 0xa5c], 0
je 0x440de2
push 0xa28
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004ecad0
mov ecx, dword [ebp - 0xa54]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0xa38]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0xa38]
add esp, 0x24
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440dc0
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa50]
call fcn.00416d70
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [ebp - 0xa50]
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xa40]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret

Function at 0x443f30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, eax
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
jb 0x443f70
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00444430
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x445b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x445bca
cmp byte [esi + 0x3d], 0
je 0x445bca
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x445bb8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x445b80
sub eax, 1
je 0x445b84
sub eax, 2
jne 0x445bb8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x445ba1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004fecfc
add esp, 0x10
cmp edi, eax
jne 0x445bb8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00460412
mov esp, ebp
pop ebp
ret
Function at 0x447870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4478c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4478c9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4478ba
cmp esi, edx
jae 0x4478c9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4478a8
cmp esi, edx
jae 0x4478c9
cmp word [esi], 0
je 0x4478c9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x44b460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53508e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x579258]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0xffffffff
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0xf
mov byte [ecx + 0x20], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx], 0x53fed0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0xf
mov byte [ecx + 0x48], 0
mov dword [ecx + 0x68], 0xffffffff
lea edx, [ecx + 0x48]
mov dword [ecx + 0x64], 0xffffffff
mov dword [ecx + 0x60], 4
mov byte [ecx + 0x6c], 0
mov byte [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
cmp dword [ecx + 0x5c], 0x10
jb 0x44b51f
mov edx, dword [ecx + 0x48]
mov dword [ecx + 0x58], 0
mov eax, ecx
mov byte [edx], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44bc50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x44bc70
push ebx
push ebx
push ebx
push 2
call fcn.00450c30
pop edi
xor al, al
pop ebx
pop ebp
ret 8
push esi
mov esi, dword [edi + 0x18]
test esi, esi
je 0x44bc87
mov ecx, esi
mov esi, dword [esi + 0x3c]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x44bc78
push 2
push 0
push ebx
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.004ff6cc
push ebx
call fcn.004ffce8
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp + 8], esi
call fcn.004ff6cc
add esp, 0x1c
test esi, esi
jg 0x44bce1
push 0
push 0
push 0
push 0xc
mov ecx, edi
call fcn.00450c30
pop esi
pop edi
xor al, al
pop ebx
pop ebp
ret 8
lea eax, [esi + 1]
push eax
call fcn.0046048d
push ebx
mov ebx, dword [ebp + 8]
mov esi, eax
push 1
push ebx
push esi
mov byte [esi], 0
call fcn.004ff356
add esp, 0x14
cmp eax, 1
je 0x44bd25
push esi
call fcn.00460496
add esp, 4
mov ecx, edi
push 0
push 0
push 0
push 2
call fcn.00450c30
pop esi
pop edi
xor al, al
pop ebx
pop ebp
ret 8
mov byte [esi + ebx], 0
mov eax, esi
mov dl, byte [esi]
mov ecx, esi
test dl, dl
je 0x44bd51
inc eax
lea ebx, [ecx + 1]
cmp dl, 0xd
jne 0x44bd47
mov byte [ecx], 0xa
cmp byte [eax], 0xa
jne 0x44bd49
inc eax
jmp 0x44bd49
mov byte [ecx], dl
mov dl, byte [eax]
mov ecx, ebx
test dl, dl
jne 0x44bd33
push dword [ebp + 0xc]
mov byte [ecx], 0
mov ecx, edi
mov eax, dword [edi]
push 0
push esi
call dword [eax + 8]
push esi
call fcn.00460496
add esp, 4
cmp byte [edi + 0x40], 0
sete al
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x453e90
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x100
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004ecad0
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.004ecad0
mov esi, dword [ebp + 0x14]
add esp, 0x18
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, ecx
mov byte [ebp + ecx - 0x104], cl
cdq
idiv esi
mov al, byte [edx + edi]
mov byte [ebp + ecx - 0x204], al
inc ecx
cmp ecx, 0x100
jl 0x453ee0
xor edi, edi
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov dl, byte [ebp + esi - 0x104]
movzx eax, byte [ebp + esi - 0x204]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x453f36
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], al
inc esi
mov byte [ebp + edi - 0x104], dl
cmp esi, 0x100
jl 0x453f10
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], ebx
jle 0x453fd7
nop
inc edi
and edi, 0x800000ff
jns 0x453f71
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [ebp + edi - 0x104]
movzx edx, cl
add esi, edx
and esi, 0x800000ff
jns 0x453f8d
dec esi
or esi, 0xffffff00
inc esi
mov al, byte [ebp + esi - 0x104]
mov byte [ebp + edi - 0x104], al
mov eax, dword [ebp - 0x208]
mov byte [ebp + esi - 0x104], cl
movzx ecx, byte [ebp + edi - 0x104]
add ecx, edx
movzx ecx, cl
movzx ecx, byte [ebp + ecx - 0x104]
xor byte [eax + ebx], cl
inc ebx
cmp ebx, dword [ebp + 0xc]
jl 0x453f60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x208]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00460412
mov esp, ebp
pop ebp
ret