joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd2a7d20
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ebx, ebx
je 0xd2a7d3f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
jmp 0xd2a7d41
xor eax, eax
mov ecx, dword [ebp + 0x18]
and ecx, 4
cmp dword [ebp + 0x14], 0
jne 0xd2a7d53
lea edx, [ebp - 4]
mov dword [ebp + 0x14], edx
test ebx, ebx
je 0xd2a7dee
test eax, eax
je 0xd2a7dee
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0xd2a7d6d
mov eax, esi
push edi
mov edi, eax
test ecx, ecx
je 0xd2a7da6
lea esi, [eax + eax]
lea eax, [esi + 1]
push 1
push eax
call dword [sym.imp.msvcrt.dll_calloc]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0xd2a7db4
push 0xd273d38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, esi
jl 0xd2a7dac
mov edi, esi
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
je 0xd2a7dd5
mov ecx, dword [ecx]
push 0
push 0
push esi
push ecx
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
jg 0xd2a7de0
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], esi
jg 0xd2a7de0
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14

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
push 4
nop
nop
nop
nop
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
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x246a2ec0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..text_1
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xeb373cc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x404300
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x40e4e0], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x40e4dc]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x40e4e0], edx
cmp eax, 0x26f
jl 0x404308
mov dword [0x40bca0], 0x270
ret

Function at 0x404340
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x40e4e4]
mov ebx, dword [eax*4 + 0x40e4e0]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x40eb14]
mov dword [eax*4 + 0x40e4e0], edx
cmp eax, 0xe2
jl 0x404348
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x40e4e4]
mov ebx, dword [eax*4 + 0x40e4e0]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x40e154]
mov dword [eax*4 + 0x40e4e0], edx
cmp eax, 0x26e
jl 0x404398
mov edx, dword [0x40e4e0]
mov ecx, dword [0x40ee9c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x40eb10]
mov dword [0x40ee9c], eax
mov dword [0x40bca0], 0
pop ebx
ret

Function at 0x404420
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x40bca0]
add dword [0x40bca0], 1
mov eax, dword [0x40d150]
cmp eax, dword [0x40bc50]
jne 0x404443
cmp ebx, 0x271
jb 0x404464
mov eax, dword [0x40d150]
call fcn.00404300
not dword [0x40d150]
mov eax, dword [0x40d150]
mov dword [0x40bc50], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x404480
call fcn.00404340
xor ebx, ebx
mov dword [0x40bca0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x40e4e0]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x405c80
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x40ba40]
cmp ax, 0xcb
je 0x405d8c
cmp ax, 0xcc
je 0x405d8c
lea esi, [esi]
mov edx, dword [0x40f0e0]
test edx, edx
je 0x405cb5
mov eax, dword [0x40ef90]
call edx
mov ebx, eax
jmp 0x405cba
mov ebx, 0x40ef94
cmp word [0x40ef80], 0
jle 0x405ce0
mov eax, 0x40ef60
call fcn.00405ef0
mov eax, ebx
call fcn.00405840
mov eax, ebx
call fcn.004058b0
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x405d02
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x405cfd
mov edx, edi
mov eax, ebx
call fcn.00404cb0
jmp 0x405d00
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x405ce8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x40ef80], 0
jle 0x405d8c
mov edx, 0x40eea0
mov eax, ebx
call fcn.00404df0
mov edi, eax
test edi, edi
je 0x405d5c
mov eax, dword [0x40ef34]
mov dword [edi + 0xc], eax
cmp dword [0x40ef34], 0
je 0x405d50
mov eax, dword [0x40ef34]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x40ef34], eax
nop
sub word [0x40ef80], 1
cmp word [0x40ef80], 0
sete bl
mov eax, 0x40ef60
call fcn.00405f00
test bl, bl
je 0x405d8c
mov eax, 0x40ef60
call fcn.00405ee0
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x4077f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x40e390], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.004079d0
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x40e390]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00402790
call sub.kernel32.dll_GetCommandLineA
mov dword [0x40bab0], eax
mov ebx, eax
jmp 0x407993
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x407878
cmp byte [ebx], 0
je 0x40799c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x4078f3
mov al, byte [ebx]
cmp al, 1
jb 0x4078e8
sub al, 0x20
jbe 0x4078b8
sub al, 2
je 0x4078cc
jmp 0x4078e8
mov al, byte [ebp - 0x114]
test al, al
je 0x4078f8
add dword [ebp - 0x110], 1
jmp 0x4078f0
cmp byte [ebx + 1], 0x22
je 0x4078e3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x4078f0
add ebx, 1
jmp 0x4078f0
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4078a8
test dword [ebp - 0x10c], 0xffffffff
je 0x40798c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.004079d0
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x40e390]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x407983
mov al, byte [ebx]
cmp al, 1
jb 0x407978
sub al, 0x20
jbe 0x407948
sub al, 2
je 0x40795c
jmp 0x407978
mov al, byte [ebp - 0x114]
test al, al
je 0x407988
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x407980
cmp byte [ebx + 1], 0x22
je 0x407973
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x407980
add ebx, 1
jmp 0x407980
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x407938
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x40787b
mov ebx, dword [ebp - 0x10c]
mov dword [0x40e380], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x40e390
call fcn.00405ac0
mov eax, dword [0x40e390]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [0x40fce0]
lea eax, [eax + 1]
mov dword [0x40fce0], eax
mov eax, dword [0x40fce0]
and eax, 0xff
mov dword [0x40fce0], eax
mov eax, dword [0x40fce0]
call fcn.004091b0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp - 4]
push 0
push 0
call sub.kernel32.dll_CreateThread
mov edx, dword [0x40fce0]
mov dword [edx*4 + 0x40f8e0], eax
mov eax, dword [0x40fce0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
leave
ret

Function at 0x4091b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push dword [eax*4 + 0x40f8e0]
call sub.kernel32.dll_TerminateThread
leave
ret
Function at 0x40ab18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407b04
xor eax, eax
push ebp
push 0x40ad3d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40ab58
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40ab72
mov eax, dword [ebp - 4]
call fcn.004084ec
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a34c
cmp word [ebp - 0x21a], 0
je 0x40ad27
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad4c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac41
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad4c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac41
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad88
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac41
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad88
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac41
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40adbc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ac41
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40adf0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40ad27
xor eax, eax
push ebp
push 0x40ad20
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a928
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40acb0
mov eax, dword [ebp - 0x10]
call fcn.004053f0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
invalid
Function at 0x407d90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x407daa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407db1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407da0
mov eax, 1
add ebx, ebx
jne 0x407dc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407db8
jne 0x407dd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407db8
xor ecx, ecx
sub eax, 3
jb 0x407de8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407e5a
mov ebp, eax
add ebx, ebx
jne 0x407df3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407e00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x407e24
inc ecx
add ebx, ebx
jne 0x407e10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407e05
jne 0x407e21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407e05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x407e44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x407e35
jmp 0x407da6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x407e44
add edi, ecx
jmp 0x407da6
pop esi
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x407ea3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x71b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7208]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407e61
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x720c]
or eax, eax
je 0x407e9d
mov dword [ebx], eax
add ebx, 4
jmp 0x407e7e
call dword [esi + 0x721c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x407ed4
cmp al, 0xef
ja 0x407ec7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x407ea9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x407eb6
mov ebp, dword [esi + 0x7210]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x407f08
sub esp, 0xffffff80
jmp 0x4017ab
Function at 0xf80370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xf8038e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xfa9074
push ecx
mov edi, eax
call fcn.00f94198
mov esi, eax
add esp, 8
test esi, esi
jne 0xf803cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00f9402e
push esi
call fcn.00f93fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xf83850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xf838ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xfae720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf838ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00f941e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xf838ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xfae720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf8392a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00f95082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xf83957
mov word [eax], si
add eax, 2
push eax
call fcn.00f95030
add esp, 4
jmp 0xf83959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xf838ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xf838b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xf83ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xf84080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xf840c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xfa9458
push ecx
call fcn.00f941e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00f941e1
add esp, 0x10
jmp 0xf840d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00f9420b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00f93dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00f84050
mov eax, dword [0xfae728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xf8413b
push esi
call fcn.00f83fb0
add esp, 4
mov dword [0xfae728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xf8414c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00f83ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xf87440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xf874b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xf8748e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf87471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf8747e
add edx, ecx
cmp ebx, edx
jb 0xf8748a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf87467
xor ecx, ecx
jmp 0xf874a2
test eax, eax
jne 0xf87492
xor ecx, ecx
jmp 0xf874a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00f873c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xf878f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xf87921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xf87946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xf8796e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xf87993
push ecx
push esi
call fcn.00f874c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xf88c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xf88c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xf88c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xf88c38
add edx, eax
cmp ebx, edx
jb 0xf88c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xf88c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xf88c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xf88c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xf88cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf88c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf88ca8
add edx, ecx
cmp ebx, edx
jb 0xf88cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf88c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xf88f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00f95145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xf88ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xf88fdd
lea eax, [esp + 0x18]
push eax
jmp 0xf88fe2
push 0xfae720
call fcn.00f94fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xf88fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xf88f40
push 4
push ecx
push eax
call fcn.00f9543f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xf89310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00f95145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xf893ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0xf8938d
lea eax, [esp + 0x18]
push eax
jmp 0xf89392
push 0xfae720
call fcn.00f94fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xf89360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xf88f40
push 4
push ecx
push eax
call fcn.00f9543f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret