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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x100150e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0xdc], eax
or edi, 0xffffffff
mov eax, dword [ecx + 0x20]
xor ebx, ebx
mov dword [ebp - 0xd4], 0x64
test eax, eax
je 0x10009ab8
mov edx, dword [eax]
jmp 0x10009aba
mov edx, ebx
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.1000ebc9
mov esi, eax
test esi, esi
js 0x10009b9a
lea eax, [ebp - 0xd8]
push eax
push 0x20019
push ebx
push str.MSProject.ApplicationCurVer
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009b93
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10009b93
push 0x16
lea eax, [ebp - 0xd0]
push str.MSProject.Application.
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10009b93
mov eax, dword [ebp - 0xa4]
push 0x30
pop ecx
cmp ax, cx
jbe 0x10009b93
cmp ax, 0x39
ja 0x10009b93
movzx edi, ax
mov eax, dword [ebp - 0xa2]
sub edi, ecx
push 0x17
pop ebx
test ax, ax
je 0x10009b7f
movzx edx, ax
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x10009b7f
imul ecx, edi, 0xa
movzx edi, dx
movzx edx, word [ebp + ebx*2 - 0xce]
add edi, 0xffffffd0
add edi, ecx
inc ebx
test dx, dx
jne 0x10009b5d
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp + ebx*2 - 0xd0], cx
cmovne esi, eax
jmp 0x10009b98
mov esi, 0x80004005
test esi, esi
mov eax, dword [ebp - 0xdc]
cmovns esi, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
call fcn.10001171
leave
ret 8

Function at 0x1000bc9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1054
call fcn.1000ee3e
mov eax, dword [0x100150e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, 0x1048
mov esi, dword [eax]
lea eax, [ebp - 0x104c]
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1050], edi
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1054]
push eax
push 0
push str.Path
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
pop edi
pop esi
test ecx, ecx
jne 0x1000bd10
lea eax, [ebp - 0x104c]
push eax
call fcn.10007b7d
jmp 0x1000bd1d
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001171
leave
ret 4
Function at 0x1000ebc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1000ebd8
pop dword [ebp - 0x3c]
mov eax, 0x531a6a2d
add eax, 0xbce681ab
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x29eafc25
add dword [ebp - 0x4c], 0x24674926
mov dword [ebp - 0x48], 0xe22ff1a5
sub dword [ebp - 0x48], 0xaffca560
mov dword [ebp - 0x44], 0x2f987511
sub dword [ebp - 0x44], 0xe34c30e3
mov dword [ebp - 0x40], 0xcb892711
add dword [ebp - 0x40], 0x3476d8ef
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x32af2d4f
sub dword [ebp - 0x4c], 0xbe3cc3f9
mov dword [ebp - 0x48], 0x4826744
sub dword [ebp - 0x48], 0xc31605cf
mov dword [ebp - 0x44], 0xed8965c6
sub dword [ebp - 0x44], 0x8a19f95a
mov dword [ebp - 0x40], 0x756bc53d
sub dword [ebp - 0x40], 0x756bc53d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x2da2f20c
sub eax, 0x1da1f1f0
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3acd4
push 0
call eax
mov ecx, 0x5045
mov edx, eax
mov ebx, 0x10044600
add ebx, dword [ebp - 0x3c]
mov edi, 0x9a1fcbcb
add edi, 0xd87fa628
sub dword [ebp - 0x28], esi
mov esi, dword [ebx]
sub dword [ebp - 4], edi
add esi, edi
xor dword [ebp - 0x24], ebx
mov dword [edx], esi
sub dword [ebp - 0x2c], 0xf78dbe35
add edx, 4
add ebx, 4
loop 0x1000ece9
add eax, 0x133e7
mov ebx, eax
add eax, 0x6302f2ba
sub eax, 0x6302f2b5
mov ecx, 0x5c643b70
add ecx, 0xb39bc490
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x641c1950
Capabilities:
Get process heap flags

Disassembly:
sub esp, 0x1c
mov edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
add esp, 0x1c
ret

Function at 0x641c6370
Capabilities:
Get process heap flags

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
sub esp, 0x1c
mov dword [esp + 8], 0x20
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x641c63ee
mov ebx, eax
mov ebp, eax
mov dword [eax], 0x641d28e0
mov dword [eax + 4], 1
test edi, edi
je 0x641c63cf
mov dword [esp], edi
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
mov dword [ebx + 8], eax
test eax, eax
je 0x641c63e7
mov eax, dword [esi]
mov dword [ebx + 0xc], esi
mov dword [esp], esi
call dword [eax + 4]
sub esp, 4
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call fcn.641c1950
xor ebp, ebp
jmp 0x641c63dd
Function at 0x641c6b00
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, ecx
mov ecx, edx
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x5c
mov eax, dword [edx]
mov dword [esp + 0x34], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x48]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov edx, dword [ebp]
mov dword [esp], ecx
mov dword [esp + 4], edx
call dword [eax + 0x1c]
sub esp, 0x14
test eax, eax
mov dword [esp + 0x30], eax
js 0x641c6c1c
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [sym.imp.oleaut32.dll_SysStringLen]
mov dword [esp + 0x2c], eax
call eax
sub esp, 4
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], 0x400
mov dword [esp], 1
mov dword [esp + 8], eax
call dword [sym.imp.oleaut32.dll_LHashValOfNameSys]
mov esi, eax
mov eax, 0x2fa0be83
sub esp, 0xc
mul esi
shr edx, 3
imul eax, edx, 0x2b
mov edx, esi
sub edx, eax
lea ecx, [ebx + edx*8]
mov eax, dword [ecx + 0x10]
lea edi, [ebx + edx*8 + 0x10]
lea ebx, [eax - 0xc]
cmp edi, eax
je 0x641c6c48
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebp
jmp 0x641c6bc2
mov eax, dword [ebx + 0xc]
lea ebx, [eax - 0xc]
cmp edi, eax
je 0x641c6c40
cmp dword [ebx + 8], esi
jne 0x641c6bb8
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call eax
sub esp, 4
cmp eax, dword [esp + 0x4c]
jne 0x641c6bb8
mov ebp, dword [esp + 0x48]
add eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call sub.ucrtbase.dll_memcmp
test eax, eax
jne 0x641c6bb8
mov edx, ebp
mov ebp, dword [esp + 0x38]
mov dword [esp], edx
call dword [sym.imp.oleaut32.dll_SysFreeString]
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], ebx
call dword [eax + 4]
sub esp, 4
mov eax, dword [esp + 0x70]
mov dword [eax], ebx
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov dword [esp + 4], ebp
mov dword [esp], edi
call dword [eax + 0x50]
sub esp, 8
mov eax, dword [esp + 0x30]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
mov ecx, dword [esp + 0x2c]
je 0x641c6cd1
mov edx, dword [esp + 0x48]
mov dword [eax + 8], esi
movd xmm0, edi
movzx ebx, word [ebp + 0x1a]
mov dword [eax], 0x641d2980
add bx, word [ebp + 0x18]
mov dword [eax + 4], 1
mov esi, dword [esp + 0x70]
mov dword [eax + 0x14], edx
movzx edx, word [ebp + 0x24]
movzx ebx, bx
shl edx, 0x10
or edx, ebx
mov ebx, dword [ecx + 0x14]
mov dword [eax + 0x18], edx
lea edx, [eax + 0xc]
movd xmm1, ebx
punpckldq xmm0, xmm1
movq qword [eax + 0xc], xmm0
mov dword [ebx], edx
mov dword [ecx + 0x14], edx
mov dword [esi], eax
jmp 0x641c6c1c
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysFreeString]
push eax
mov dword [esp + 0x30], 0x8007000e
jmp 0x641c6c1c
Function at 0x641cd560
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x220
mov eax, dword [0x641d50c0]
test eax, eax
je 0x641cd608
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
mov dword [ebx + 8], eax
jns 0x641cd598
mov eax, dword [ebx]
add esp, 0x220
pop ebx
pop esi
pop edi
ret
lea edi, [esp + 0x18]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x641cd589
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x641cd63d
mov dword [esp + 4], 0x641d3fd8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x641d50c0], eax
test eax, eax
jne 0x641cd57a
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x641cd58b
Function at 0x402ef8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], 0
mov dword [esp + 0x10], 0
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x402f38
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], 0
mov dword [esp + 0x10], 0
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x4145e8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [ebp + 8]
mov dword [esp + 4], 0x524728
lea eax, [esi + 0x18]
mov dword [esp], eax
call fcn.004b3f40
test eax, eax
jne 0x414638
add esi, 0x1c
mov dword [esp + 4], 0x524732
mov dword [esp], esi
call fcn.004b3f40
test eax, eax
jne 0x414714
mov esi, 1
mov eax, esi
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov edi, dword [esi + 0x18]
mov dword [esp + 4], 0x524736
mov dword [esp], edi
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
je 0x414758
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll_fseek
mov dword [esp], ebx
call sub.msvcrt.dll_ftell
mov edi, eax
mov dword [esp], ebx
call sub.msvcrt.dll_rewind
cmp edi, 3
jbe 0x414738
lea edi, [ebp - 0x29]
mov dword [ebp - 0x29], 0
mov byte [ebp - 0x25], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], edi
call sub.msvcrt.dll_fread
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x19]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov dword [esp + 4], edi
lea edi, [ebp - 0x20]
mov dword [esp], edi
call fcn.004da798
mov byte [ebp - 0x39], 1
mov dword [esp + 4], 0x52474c
mov dword [esp], edi
call fcn.004b3f40
test eax, eax
jne 0x414748
mov esi, 1
mov dword [esp], edi
call fcn.004dad88
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
mov eax, esi
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], 0x524734
mov dword [esp], esi
call fcn.004b3f40
test eax, eax
sete al
mov esi, eax
mov eax, esi
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
xor esi, esi
jmp 0x41462b
mov eax, dword [esi + 0x1c]
mov edx, dword [eax - 0xc]
test edx, edx
setne al
mov esi, eax
jmp 0x4146f9
lea eax, [ebp - 0x1a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x524739
lea ebx, [ebp - 0x24]
mov dword [esp], ebx
call fcn.004da74c
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.004d9548
mov dword [esp], 8
call fcn.0050981c
mov esi, eax
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004e7434
mov dword [esp + 8], 0x4e75ac
mov dword [esp + 4], 0x536f34
mov dword [esp], esi
call fcn.0050a02c
mov edi, eax
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
mov dword [esp], edi
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
mov esi, eax
cmp byte [ebp - 0x39], 0
je 0x4147d2
mov dword [esp], edi
call fcn.004dad88
mov edi, esi
jmp 0x4147b2

Function at 0x420fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 0x10]
test esi, 3
jne 0x420fe8
test esi, esi
js 0x420ff4
sar esi, 2
test esi, esi
jle 0x420fe8
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
xor edx, edx
xor eax, eax
lea edi, [ebp - 0x10]
mov ebx, dword [ecx]
mov dword [edi], ebx
xor eax, ebx
inc edx
add ecx, 4
cmp edx, esi
jl 0x420fd0
add esp, 0x10
pop ebx
pop esi
pop edi
leave
ret
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
leave
ret
add esi, 3
jmp 0x420fb8
Function at 0x425cd4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov dword [esi], fcn.00425cd4
mov dword [esi + 4], 0x53f58c
mov dword [esi + 8], 0x53f598
mov dword [esi + 0xc], 0x53f5a4
mov dword [esi + 0x10], 0x53f5b0
mov dword [esi + 0x14], 0x53f5bc
mov dword [esi + 0x18], 0x53f5c8
mov dword [esi + 0x1c], 0x53f5d4
mov dword [esi + 0x20], 0x53f5e0
mov dword [esi + 0x24], 0x53f5ec
mov dword [esi + 0x28], 0x53f5f8
mov dword [esi + 0x2c], 0x53f604
mov dword [esi + 0x30], 0x53f610
mov dword [esi + 0x34], 0x53f61c
mov dword [esi + 0x38], 0x53f628
mov dword [esi + 0x3c], 0x53f634
mov dword [esi + 0x40], 0x53f640
mov dword [esi + 0x44], 0x53f64c
mov dword [esi + 0x48], 0x53f658
mov dword [esi + 0x4c], 0x53f664
mov dword [esi + 0x50], 0x53f670
mov dword [esi + 0x54], 0x53f67c
mov dword [esi + 0x58], 0x53f688
mov dword [esi + 0x5c], 0x53f694
mov dword [esi + 0x60], 0x53f6a0
mov dword [esi + 0x64], 0x53f6ac
mov dword [esi + 0x68], 0x53f6b8
mov dword [esi + 0x6c], 0x53f6c4
mov dword [esi + 0x70], 0x53f6d0
mov dword [esi + 0x74], 0x53f6dc
mov dword [esi + 0x78], 0x53f6e8
mov dword [esi + 0x7c], 0x53f6f4
mov dword [esi + 0x80], 0x53f700
mov dword [esi + 0x84], 0x53f70c
mov dword [esi + 0x88], 0x53f718
mov dword [esi + 0x8c], 0x53f724
mov dword [esi + 0x90], 0x53f730
mov dword [esi + 0x94], 0x53f73c
mov ebx, dword [esi + 0x164]
lea eax, [esi + 0x15c]
mov dword [ebp - 0x28], eax
lea edx, [esi + 0x158]
mov dword [ebp - 0x20], edx
lea eax, [esi + 0x170]
mov dword [ebp - 0x24], eax
jmp 0x425e4b
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x425e38
mov eax, dword [edx]
mov dword [esp], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov edi, dword [ebp - 0x24]
call dword [eax + 4]
mov dword [esp], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x24]
call fcn.00502d2c
mov ebx, eax
cmp ebx, dword [ebp - 0x28]
jne 0x425e20
lea edx, [esi + 0x158]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x160]
mov dword [esp + 4], eax
mov dword [esp], edx
lea edi, [esi + 0x170]
call fcn.004fd8a0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x164], eax
mov dword [esi + 0x160], 0
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], 0
mov eax, dword [esi + 0x178]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004fd984
lea eax, [esi + 0x174]
mov dword [esi + 0x17c], eax
mov dword [esi + 0x178], 0
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], 0
mov ebx, dword [esi + 0x134]
test ebx, ebx
je 0x425ee6
mov dword [esp], ebx
call fcn.0046e30c
mov dword [esp], ebx
call fcn.0050961c
mov ebx, dword [esi + 0x138]
test ebx, ebx
je 0x425f00
mov dword [esp], ebx
call fcn.0046f11c
mov dword [esp], ebx
call fcn.0050961c
mov eax, dword [esi + 0x178]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004fd984
mov eax, dword [esi + 0x160]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004fd8a0
mov dword [esi], 0x53f4c8
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
Function at 0x434a04
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov dword [esi], fcn.00434a04
mov dword [esi + 4], 0x53c98c
mov dword [esi + 8], 0x53c998
mov dword [esi + 0xc], 0x53c9a4
mov dword [esi + 0x10], 0x53c9b0
mov dword [esi + 0x14], 0x53c9bc
mov dword [esi + 0x18], 0x53c9c8
mov dword [esi + 0x1c], 0x53c9d4
mov dword [esi + 0x20], 0x53c9e0
mov dword [esi + 0x24], 0x53c9ec
mov dword [esi + 0x28], 0x53c9f8
mov dword [esi + 0x2c], 0x53ca04
mov dword [esi + 0x30], 0x53ca10
mov dword [esi + 0x34], 0x53ca1c
mov dword [esi + 0x38], 0x53ca28
mov dword [esi + 0x3c], 0x53ca34
mov dword [esi + 0x40], 0x53ca40
mov dword [esi + 0x44], 0x53ca4c
mov dword [esi + 0x48], 0x53ca58
mov dword [esi + 0x4c], 0x53ca64
mov dword [esi + 0x50], 0x53ca70
mov dword [esi + 0x54], 0x53ca7c
mov dword [esi + 0x58], 0x53ca88
mov dword [esi + 0x5c], 0x53ca94
mov dword [esi + 0x60], 0x53caa0
mov dword [esi + 0x64], 0x53caac
mov dword [esi + 0x68], 0x53cab8
mov dword [esi + 0x6c], 0x53cac4
mov dword [esi + 0x70], 0x53cad0
mov dword [esi + 0x74], 0x53cadc
mov dword [esi + 0x78], 0x53cae8
mov dword [esi + 0x7c], 0x53caf4
mov dword [esi + 0x80], 0x53cb00
mov dword [esi + 0x84], 0x53cb0c
mov dword [esi + 0x88], 0x53cb18
mov dword [esi + 0x8c], 0x53cb24
mov dword [esi + 0x90], 0x53cb30
mov dword [esi + 0x94], 0x53cb3c
mov ebx, dword [esi + 0x168]
lea eax, [esi + 0x160]
mov dword [ebp - 0x28], eax
lea edx, [esi + 0x15c]
mov dword [ebp - 0x20], edx
lea eax, [esi + 0x174]
mov dword [ebp - 0x24], eax
jmp 0x434b7b
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x434b68
mov eax, dword [edx]
mov dword [esp], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov edi, dword [ebp - 0x24]
call dword [eax + 4]
mov dword [esp], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x24]
call fcn.00502d2c
mov ebx, eax
cmp ebx, dword [ebp - 0x28]
jne 0x434b50
lea edx, [esi + 0x15c]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x164]
mov dword [esp + 4], eax
mov dword [esp], edx
lea edi, [esi + 0x174]
call fcn.004fd8a0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x168], eax
mov dword [esi + 0x164], 0
mov dword [esi + 0x16c], eax
mov dword [esi + 0x170], 0
mov eax, dword [esi + 0x17c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004fd984
lea eax, [esi + 0x178]
mov dword [esi + 0x180], eax
mov dword [esi + 0x17c], 0
mov dword [esi + 0x184], eax
mov dword [esi + 0x188], 0
mov ebx, dword [esi + 0x134]
test ebx, ebx
je 0x434c16
mov dword [esp], ebx
call fcn.004712f0
mov dword [esp], ebx
call fcn.0050961c
mov ebx, dword [esi + 0x138]
test ebx, ebx
je 0x434c30
mov dword [esp], ebx
call fcn.00472100
mov dword [esp], ebx
call fcn.0050961c
mov eax, dword [esi + 0x17c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004fd984
mov eax, dword [esi + 0x164]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004fd8a0
mov dword [esi], 0x53f4c8
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
Function at 0x458bb4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 4
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov byte [eax + 0xcc], 0
mov byte [eax + 0xce], 0
mov byte [eax + 0xcd], 0
mov byte [eax + 0xcf], 0
mov dword [eax + 0xbc], 0
mov edx, dword [eax + 0x50]
cmp byte [edx + 0x3a], 0
jne 0x458c30
mov dword [eax + 0x40], ebx
mov byte [eax + 0xcc], 0
mov byte [eax + 0xce], 0
mov byte [eax + 0xcd], 0
mov byte [eax + 0xcf], 0
mov dword [eax + 0xdc], ecx
mov dword [eax + 0xbc], 0
mov dword [ebp + 8], eax
pop eax
pop ebx
leave
jmp fcn.00456060
pop edx
pop ebx
leave
jmp fcn.00457c18
Function at 0x45e308
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x194
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [esp + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045e218
mov edx, eax
cmp eax, 0xffffffff
je 0x45e3fc
lea edi, [ebp - 0x188]
mov ecx, 0x180
xor eax, eax
rep stosb byte es:[edi], al
mov dword [ebp - 0x188], 0x4478784d
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0x4458424c
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0x52445924
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0x484c5424
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0x2441434b
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0x4e41434b
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0x454f494f
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0x45523430
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp + edx*8 - 0x188]
mov edx, dword [ebp + edx*8 - 0x184]
add esp, 0x194
pop edi
leave
ret
xor eax, eax
xor edx, edx
add esp, 0x194
pop edi
leave
ret
Function at 0x46def4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.004338b8
mov dword [ebx + 0x5c], eax
mov dword [esp], eax
call fcn.0050963c
mov dword [ebx + 0x18], eax
test eax, eax
je 0x46df92
mov dword [esp + 4], 0x52e82f
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov esi, eax
test eax, eax
je 0x46df88
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, dword [ebx + 0x5c]
jne 0x46dfbc
xor edi, edi
test esi, esi
je 0x46df79
mov dword [esp], esi
call sub.msvcrt.dll_fclose
test edi, edi
sete al
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov al, 1
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x46e031
cmp edx, 2
je 0x46e08e
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], 0x52e9f3
mov dword [esp + 8], 0x52e9ad
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0043102c
call fcn.00509b8c
mov edi, 1
jmp 0x46df6d
mov dword [esp], eax
call fcn.005099c0
mov edi, dword [eax]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x52e9f3
mov dword [esp + 8], 0x52e974
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0043102c
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0046ca28
call fcn.00509b8c
jmp 0x46df6d
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x52e9f3
mov dword [esp + 8], 0x52e996
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0043102c
jmp 0x46e022