joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x10
lea edx, [eax + 1]
jmp 0x421030
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421030
push esi
push edi
sub eax, edx
lea esi, [eax + ebx]
push 0x5c
push ebx
mov dword [ebp - 4], esi
call fcn.00470c30
xor ecx, ecx
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
test eax, eax
jne 0x421060
mov dword [ebp - 0xc], ebx
jmp 0x421060
cmp byte [esi], 0x5c
jne 0x421076
inc esi
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], esi
mov byte [esi], 0x5f
mov eax, dword [0x498ea0]
mov dword [ecx + esi], eax
mov edx, dword [0x498ea4]
mov dword [ecx + esi + 4], edx
mov al, byte [0x498ea8]
mov byte [ecx + esi + 8], al
test ebx, ebx
je 0x4210df
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jle 0x4210dc
lea ecx, [esi + esi + 2]
push ecx
call fcn.0046f16d
add esp, 4
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov word [edi + esi*2 - 2], dx
mov esi, dword [ebp - 4]
jmp 0x4210e1
mov esi, dword [ebp - 4]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov dword [ebp - 0x10], eax
call fcn.0046f133
add esp, 4
cmp dword [ebp - 0x10], 0xffffffff
jne 0x42111b
mov eax, dword [ebp - 0xc]
push 0x2e
push eax
call fcn.00470310
add esp, 8
test eax, eax
je 0x421123
cmp eax, esi
ja 0x421123
mov ecx, dword [ebp - 8]
mov byte [eax], 0x5c
jmp 0x421060
pop edi
mov eax, ebx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46d3f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ae9fc]
jne 0x46d3fb
repz ret
jmp fcn.00476d1c

Function at 0x470986
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4709ad
call fcn.0047124b
mov dword [eax], esi
call fcn.00471238
push 0x16
pop esi
mov dword [eax], esi
call fcn.00470c20
mov eax, esi
jmp 0x470a02
test dword [ebp + 0xc], 0xfffffff9
jne 0x470993
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4709da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047125e
pop ecx
call fcn.00471238
mov eax, dword [eax]
jmp 0x470a02
test al, 0x10
jne 0x470a00
test al, 1
je 0x470a00
test byte [ebp + 0xc], 2
je 0x470a00
call fcn.0047124b
mov dword [eax], 5
call fcn.00471238
mov dword [eax], 0xd
jmp 0x4709d1
xor eax, eax
pop esi
pop ebp
ret

Function at 0x480948
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x48096f
call fcn.0047124b
mov dword [eax], esi
call fcn.00471238
push 0x16
pop esi
mov dword [eax], esi
call fcn.00470c20
mov eax, esi
jmp 0x4809c4
test dword [ebp + 0xc], 0xfffffff9
jne 0x480955
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x48099c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047125e
pop ecx
call fcn.00471238
mov eax, dword [eax]
jmp 0x4809c4
test al, 0x10
jne 0x4809c2
test al, 1
je 0x4809c2
test byte [ebp + 0xc], 2
je 0x4809c2
call fcn.0047124b
mov dword [eax], 5
call fcn.00471238
mov dword [eax], 0xd
jmp 0x480993
xor eax, eax
pop esi
pop ebp
ret
Function at 0x486a07
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ae9fc]
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.004795d6
and dword [ebp - 0x14], 0
cmp dword [0x4b130c], 0
mov dword [ebp - 0x18], eax
jne 0x486aba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x486b62
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x495bb8
push ebx
call edi
test eax, eax
je 0x486b62
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x495ba8
push ebx
mov dword [0x4b130c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b1310], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b1314], eax
call edi
push eax
call esi
mov dword [0x4b131c], eax
test eax, eax
je 0x486aba
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b1318], eax
mov eax, dword [0x4b1318]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x486b13
cmp dword [0x4b131c], ecx
je 0x486b13
push eax
call esi
push dword [0x4b131c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x486b13
test ebx, ebx
je 0x486b13
call edi
test eax, eax
je 0x486b0a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x486b0a
test byte [ebp - 8], 1
jne 0x486b13
or dword [ebp + 0x10], 0x200000
jmp 0x486b46
mov eax, dword [0x4b1310]
cmp eax, dword [ebp - 0x18]
je 0x486b46
push eax
call esi
test eax, eax
je 0x486b46
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x486b46
mov eax, dword [0x4b1314]
cmp eax, dword [ebp - 0x18]
je 0x486b46
push eax
call esi
test eax, eax
je 0x486b46
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b130c]
call esi
test eax, eax
je 0x486b62
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x486b64
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d3f1
leave
ret
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100c1f10], 0
je 0x10001539
mov eax, dword [0x100c1f10]
jmp 0x100016d6
mov dword [0x100c1f10], 0x100c1ee8
push 0x28
push 0
push 0x100c1ee8
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x100c1ee8], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100c1eec], eax
cmp dword [0x100c1eec], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x100c1eec]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c1ef0], eax
push str.SymInitialize
mov ecx, dword [0x100c1eec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c1ef4], eax
push str.SymSetOptions
mov edx, dword [0x100c1eec]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c1ef8], eax
push str.SymGetOptions
mov eax, dword [0x100c1eec]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c1efc], eax
push str.SymLoadModule
mov ecx, dword [0x100c1eec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c1f00], eax
push str.SymGetModuleInfo
mov edx, dword [0x100c1eec]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c1f04], eax
push str.SymGetSymFromName
mov eax, dword [0x100c1eec]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c1f08], eax
push str.BindImage
mov ecx, dword [0x100c1eec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c1f0c], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x100c1ef0], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x100c1ef0]
cmp dword [0x100c1ef0], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x100c1eec]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x100c1eec], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x100c1ef4], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x100c1ee8]
push eax
call dword [0x100c1ef4]
cmp dword [0x100c1efc], 0
je 0x100016d1
cmp dword [0x100c1ef8], 0
je 0x100016d1
call dword [0x100c1efc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x100c1ef8]
mov eax, dword [0x100c1f10]
mov esp, ebp
pop ebp
ret
Function at 0x10005eb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x1003d00c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [esp + 0x4c]
xorps xmm1, xmm1
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
push edi
mov edi, edx
call fcn.10005d50
cmp dword [eax + 0x14], 0x10
jb 0x10005edd
mov eax, dword [eax]
push ebx
push 0x20
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jb 0x10005f26
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005f1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005f1c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002e4f6
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov ecx, dword [esp + 0x50]
add esp, 4
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002e1ce
add esp, 0x44
ret

Function at 0x10005fe0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x48
mov eax, dword [0x1003d00c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [esp + 0x58]
mov ebx, edx
mov edx, dword [esp + 0x54]
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.1000bf70
cmp dword [esp + 0x28], 0x10
lea ecx, [esp + 0x2c]
push esi
push 0x20
push ecx
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jb 0x1000605d
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006053
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006053
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002e4f6
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [esp + 0x50]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002e1ce
add esp, 0x48
ret
Function at 0x1000f2c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x1003d00c]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov dword [0x100c1f2c], 0
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.10002710
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1000f324
test eax, 0x68000
jne 0x1000f324
mov eax, dword [esp + 0x22]
test eax, eax
je 0x1000f3b0
cmp eax, 5
je 0x1000f374
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.10002710
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1000f358
test eax, 0x68000
jne 0x1000f358
mov ecx, dword [esp + 0x22]
jmp 0x1000f35b
or ecx, 0xffffffff
mov eax, dword [0x100c1f2c]
add eax, ecx
add esi, eax
mov dword [0x100c1f2c], eax
cmp eax, 5
jl 0x1000f2e5
jmp 0x1000f381
mov eax, dword [0x100c1f2c]
add eax, 4
mov dword [0x100c1f2c], eax
push eax
call fcn.1002e637
add esp, 4
mov dword [0x100c1f34], eax
mov dword [0x100c1f30], edi
push 0x40
push 0x3000
push dword [0x100c1f2c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000f3c5
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1002e1ce
mov esp, ebp
pop ebp
ret 8
push dword [0x100c1f2c]
push edi
push dword [0x100c1f34]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [0x100c1f2c]
push dword [0x100c1f34]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x100c1f2c]
mov eax, edi
sub eax, esi
mov byte [esp + 0x20], 0xe9
sub eax, 5
add esp, 0xc
mov dword [esp + 0x15], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + esi], eax
mov al, byte [esp + 0x18]
mov byte [ecx + esi + 4], al
lea eax, [esp + 0x1c]
push eax
push 0x40
push dword [0x100c1f2c]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x100c1f2c], 5
mov cl, 5
jle 0x1000f451
mov eax, 5
nop dword [eax + eax]
inc cl
mov byte [eax + edi], 0x90
movzx eax, cl
cmp eax, dword [0x100c1f2c]
jl 0x1000f440
mov eax, dword [ebp + 0xc]
sub eax, edi
sub eax, 5
mov dword [esp + 0x15], eax
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov al, byte [esp + 0x18]
mov byte [edi + 4], al
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push dword [0x100c1f2c]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1002e1ce
mov esp, ebp
pop ebp
ret 8
Function at 0x1001d530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.1001d220
mov ecx, dword [0x100c21e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001d576
cmp byte [0x100d3878], 0
je 0x1001d576
push dword [0x100d34dc]
push dword [0x100d34d8]
push dword [0x100d34d4]
push dword [0x100d34d0]
call fcn.1001cbb0
cmp byte [0x100d387f], 0
je 0x1001d59c
push dword [0x100d34ec]
push dword [0x100d34e8]
push dword [0x100d34e4]
push dword [0x100d34e0]
call fcn.10018450
cmp byte [0x100d3880], 0
je 0x1001d5c5
push dword [0x100d34fc]
mov eax, dword [0x100d34f8]
add eax, 0x64
push eax
push dword [0x100d34f4]
push dword [0x100d34f0]
call fcn.10018020
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x2d
call esi
test al, 1
je 0x1001d5e4
cmp byte [0x100c1f3a], 0
sete al
mov byte [0x100c1f3a], al
jmp 0x1001d5e9
mov al, byte [0x100c1f3a]
test al, al
je 0x1001d76c
push 1
call esi
test al, 1
je 0x1001d602
mov byte [0x100c1f46], 1
jmp 0x1001d611
push 1
call esi
test al, 1
jne 0x1001d611
mov byte [0x100c1f46], 0
push 2
call esi
test al, 1
je 0x1001d622
mov byte [0x100c1f44], 1
jmp 0x1001d631
push 2
call esi
test al, 1
jne 0x1001d631
mov byte [0x100c1f44], 0
push 1
call esi
test ax, ax
je 0x1001d643
mov byte [0x100c206c], 1
jmp 0x1001d651
push 1
call esi
test ax, ax
jne 0x1001d651
mov byte [0x100c206c], al
push 2
call esi
test ax, ax
je 0x1001d663
mov byte [0x100c1f45], 1
jmp 0x1001d671
push 2
call esi
test ax, ax
jne 0x1001d671
mov byte [0x100c1f45], al
cmp byte [0x100d38c8], 0
je 0x1001d68b
mov ecx, 0x100c1f28
call fcn.100067f0
mov byte [0x100d38c8], 0
cmp byte [0x100d38c7], 0
je 0x1001d6a5
mov ecx, 0x100c1f28
call fcn.10009180
mov byte [0x100d38c7], 0
push dword [0x100d34cc]
mov ecx, 0x100c2ec8
push dword [0x100d34c8]
push dword [0x100d34c4]
push dword [0x100d34c0]
call fcn.10018840
push dword [0x100d3f2c]
push dword [0x100d3f24]
call fcn.10029b00
mov ecx, dword [0x100d34d0]
test ecx, ecx
jns 0x1001d6ea
xor ecx, ecx
mov dword [0x100d34d0], ecx
mov eax, dword [0x100d34d4]
test eax, eax
jns 0x1001d6fa
xor eax, eax
mov dword [0x100d34d4], eax
mov edi, dword [0x100c2348]
mov ebx, edi
mov edx, dword [0x100c2344]
mov esi, edx
sub ebx, dword [0x100d34dc]
sub esi, dword [0x100d34d8]
cmp ecx, ebx
jle 0x1001d720
mov dword [0x100d34d0], ebx
cmp eax, esi
jle 0x1001d72a
mov dword [0x100d34d4], esi
mov ecx, dword [0x100d34c0]
test ecx, ecx
jns 0x1001d73c
xor ecx, ecx
mov dword [0x100d34c0], ecx
mov eax, dword [0x100d34c4]
test eax, eax
jns 0x1001d74c
xor eax, eax
mov dword [0x100d34c4], eax
sub edi, dword [0x100d34c8]
sub edx, dword [0x100d34cc]
cmp ecx, edi
jle 0x1001d762
mov dword [0x100d34c0], edi
cmp eax, edx
jle 0x1001d76c
mov dword [0x100d34c4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026f90
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
mov dword [edi + 0xd60], 0
mov dword [0x2438ff74], 0xffffffff
mov dword [0x243b2ef8], 0
cmp byte [0x100d38c0], 0
je 0x10026fd5
push 0x45
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10026fd5
cmp byte [0x100d38c0], 0
jne 0x10027005
mov ecx, dword [esi + 8]
cmp ecx, dword [esi]
jne 0x10026ff8
mov eax, dword [esi + 4]
inc eax
add ecx, eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [edi + 0xe08], ecx
mov eax, dword [esi + 8]
pop edi
mov dword [esi], eax
pop esi
ret 8
mov dword [esi + 4], 0
mov dword [edi + 0xe08], ecx
mov eax, dword [esi + 8]
pop edi
mov dword [esi], eax
pop esi
ret 8
Function at 0x10029670
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1003d00c]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [esp + 0x18], 0xefcdab89
add ecx, eax
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
sub edx, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x20], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x10029712
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.10028fd0
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x10029721
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.10028fd0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xe]
pop esi
xor ecx, esp
call fcn.1002e1ce
mov esp, ebp
pop ebp
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5c0b721b
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x530a17b1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x414dec
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [edx], ebx
add edx, 4
sub ecx, 0x7af5cd8b
cmp edx, edi
jne fcn.00414dec
dec ecx
ret
Function at 0x40a0f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddfe6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5181bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x40a19c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x40a19c
call fcn.004092e0
mov edi, eax
jmp 0x40a2bb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40a1bf
call fcn.004092e0
jmp 0x40a2ae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40a1dd
call fcn.004092e0
jmp 0x40a2ae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40a1fe
mov edi, 0x8007000e
jmp 0x40a2b0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x40a2f4
jb 0x40a21c
cmp eax, 0xffffffff
ja 0x40a2f4
cmp eax, 0x400
jbe 0x40a231
push eax
lea ecx, [ebp - 0x418]
call fcn.00409200
jmp 0x40a257
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40a257
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40a26e
mov edi, 0x8007000e
jmp 0x40a2b0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40a28e
call fcn.004092e0
jmp 0x40a2ae
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00409f50
mov edi, eax
test esi, esi
je 0x40a2bb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40a2d4
lea ecx, [ebp - 0x418]
call fcn.00409600
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004437fa
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404b50
int3