joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b29d0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0045f680
mov edx, dword [0x55f1a8]
mov dword [ebp - 0x10], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
jle 0x4b2be1
mov edi, 1
mov dword [ebp - 4], edi
mov ebx, dword [eax]
mov edx, edi
mov ecx, esi
call fcn.0045f050
mov ecx, eax
test ecx, ecx
jle 0x4b2bca
cmp dword [ebx + 0x27], ecx
jge 0x4b2ab8
imul eax, dword [0x563db0], 0x8088405
mov edx, 0x64
inc eax
mov dword [0x563db0], eax
mul edx
mov dword [ebp - 0x18], eax
cmp edx, dword [ebx + 0x2b]
jge 0x4b2ab8
mov edx, edi
mov ecx, esi
call fcn.0045f430
cmp edi, dword [ebp - 0x10]
jne 0x4b2bca
cmp byte [esi + 0xbd], 0
jne 0x4b2bca
mov ecx, esi
call fcn.0045f680
sub eax, 0
je 0x4b2a8a
sub eax, 1
je 0x4b2a7e
mov byte [esi + 0xc0], 9
jmp 0x4b2bca
mov byte [esi + 0xc0], 7
jmp 0x4b2bca
mov al, byte [esi + 0xc2]
movzx ecx, al
cmp ecx, 1
jb 0x4b2aac
cmp ecx, 2
jbe 0x4b2aa1
cmp al, 0xd
jne 0x4b2aac
mov byte [esi + 0xc0], al
jmp 0x4b2bca
mov byte [esi + 0xc0], 0xf
jmp 0x4b2bca
cmp byte [ebx + 9], 0
jne 0x4b2bca
lea eax, [ecx + 1]
mov edx, edi
push eax
mov ecx, esi
call fcn.0045f0e0
mov eax, dword [esi]
add esp, 4
mov eax, dword [eax]
push esi
call eax
mov ecx, dword [ebx + 0x59]
add esp, 4
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [ebx + 0x84]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x5d]
mov dword [ebp - 0x14], eax
sub ecx, 0
je 0x4b2b14
sub ecx, 1
jne 0x4b2b5b
mov edx, eax
mov ecx, esi
call fcn.0045eae0
jmp 0x4b2b5b
mov edi, dword [esi + 0x10]
test edi, edi
je 0x4b2b5b
mov eax, dword [esi]
push esi
mov eax, dword [eax]
call eax
mov ecx, edi
add esp, 4
sub ecx, dword [ebp - 0x14]
cmp ecx, 1
jl 0x4b2b36
cmp ecx, eax
cmovle eax, ecx
jmp 0x4b2b3b
mov eax, 1
sub edi, eax
mov dword [esi + 0x10], eax
test edi, edi
jle 0x4b2b5b
push 0
push 0
mov edx, edi
mov dword [esi + 0x68], 0x7f
mov ecx, esi
call fcn.0045e510
add esp, 8
mov eax, dword [esi]
push esi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebx + 0x69]
add esp, 4
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
mov eax, dword [ebx + 0x88]
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, dword [ebx + 0x6d]
sub eax, 0
je 0x4b2ba9
sub eax, 1
jne 0x4b2bc7
mov eax, dword [esi]
push esi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esi + 0x14]
add esp, 4
add ecx, edi
js 0x4b2bc2
cmp ecx, eax
cmovle eax, ecx
jmp 0x4b2bc4
mov eax, dword [esi]
push esi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esi + 0x14]
add esp, 4
sub ecx, edi
js 0x4b2bc2
cmp ecx, eax
cmovle eax, ecx
jmp 0x4b2bc4
xor eax, eax
mov dword [esi + 0x14], eax
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc edi
add eax, 4
mov dword [ebp - 4], edi
sub dword [ebp - 0xc], 1
mov dword [ebp - 8], eax
jne 0x4b2a05
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b2bf0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
imul eax, dword [0x563db0], 0x8088405
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, 0x64
inc eax
push edi
mov edi, edx
mov dword [0x563db0], eax
mul ecx
mov dword [ebp - 8], eax
cmp edx, ebx
jl 0x4b2c27
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
cmp byte [eax], 0
jne 0x4b2c56
cmp byte [eax + 1], 2
jne 0x4b2c56
mov eax, edi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esi]
push esi
sar edi, 1
mov eax, dword [eax + 0x38]
call eax
add esp, 4
test al, al
je 0x4b2c56
mov eax, edi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp byte [esi + 0xbd], 1
jne 0x4b2c81
mov ecx, dword [0x56465c]
cmp dword [ecx + 4], 0
cmove ecx, dword [0x5640a0]
call fcn.00492480
mov dword [esi + 0xd0], 0x14
jmp 0x4b2cb5
test edi, edi
jle 0x4b2c9f
mov al, byte [esi + 0xc0]
mov dword [esi + 0x44], 0
mov byte [esi + 0xc2], al
mov byte [esi + 0xc0], 8
mov ecx, dword [0x564660]
cmp dword [ecx + 4], 0
cmove ecx, dword [0x5640a4]
call fcn.00492480
cmp dword [esi + 0x10], 0
je 0x4b2d0a
mov eax, dword [esi]
push esi
mov eax, dword [eax]
call eax
mov ecx, dword [esi + 0x10]
add esp, 4
sub ecx, edi
js 0x4b2cdf
cmp ecx, eax
cmovle eax, ecx
mov dword [esi + 0x10], eax
test eax, eax
je 0x4b2ce6
mov eax, 0x83
jmp 0x4b2cf7
mov dword [esi + 0x10], 0
mov edx, 1
mov ecx, esi
call fcn.0045f170
mov eax, 0x7f
push 0
push 0
mov edx, edi
mov dword [esi + 0x68], eax
mov ecx, esi
call fcn.0045e510
add esp, 8
mov dword [esi + 0x68], 0x80
test edi, edi
jns 0x4b2d49
imul eax, dword [0x563db0], 0x8088405
mov ecx, 0x64
neg edi
inc eax
mov dword [0x563db0], eax
mul ecx
mov dword [ebp - 8], eax
cmp edx, ebx
jge 0x4b2d49
call fcn.004ae470
cmp dword [esi + 0x10], 0
je 0x4b2d49
mov edx, edi
mov ecx, esi
call fcn.0045eae0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4b2d92
lea edx, [eax + 1]
mov ecx, esi
call fcn.004b2810
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4b2d92
cmp byte [esi + 0xbd], 1
jne 0x4b2e17
mov ecx, dword [0x564668]
cmp dword [ecx + 4], eax
cmove ecx, dword [0x5640ac]
call fcn.00492480
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esi + 0xd4], 0x24
jle 0x4b2e17
imul eax, dword [0x563db0], 0x8088405
mov ecx, 0xa
inc eax
mov dword [0x563db0], eax
mul ecx
mov dword [ebp - 8], eax
cmp edx, dword [ebp + 0xc]
jge 0x4b2e17
mov eax, dword [0x55f1a8]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [ebp + 8], ecx
test ecx, ecx
jle 0x4b2e17
mov edi, 1
nop
mov eax, dword [ebx]
mov edx, edi
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0045f050
test eax, eax
jle 0x4b2e0d
imul eax, dword [0x563db0], 0x8088405
mov ecx, 0x64
inc eax
mov dword [0x563db0], eax
mul ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp edx, dword [eax + 0x2f]
jge 0x4b2e0d
mov edx, edi
mov ecx, esi
call fcn.0045f430
add ebx, 4
inc edi
sub dword [ebp + 8], 1
jne 0x4b2dd0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b2e20
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
imul eax, dword [0x563db0], 0x8088405
push esi
mov esi, ecx
mov ecx, 0x64
push edi
mov edi, edx
inc eax
mov dword [0x563db0], eax
mul ecx
mov dword [ebp - 8], eax
cmp edx, dword [ebp + 0xc]
jge 0x4b2e99
cmp edi, 1
jne 0x4b2eb0
mov eax, dword [esi]
push esi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esi + 0x14]
add esp, 4
mov edi, dword [ebp + 8]
sub ecx, edi
js 0x4b2ea1
cmp ecx, eax
cmovle eax, ecx
mov dword [esi + 0x14], eax
test eax, eax
je 0x4b2e99
neg eax
mov edx, 3
push eax
mov ecx, esi
call fcn.004a9030
add esp, 4
neg edi
mov edx, 1
mov ecx, esi
push edi
call fcn.0045ec30
add esp, 4
neg eax
jne 0x4b2eb0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], 0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004ae470
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4b2ec0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
mov ecx, ebx
call fcn.00466130
mov edx, ebx
mov ecx, edi
mov esi, eax
call fcn.0045f050
test eax, eax
jle 0x4b2efb
cmp dword [esi + 0x4d], 0
je 0x4b2fe0
call fcn.004ae470
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push ebx
push edi
mov eax, dword [eax + 0x20]
call eax
add esp, 8
cmp eax, 4
ja case.default.0x4b2f0c
jmp dword [eax*4 + 0x4b2ff4]
mov ecx, dword [esi + 0x13]
imul ecx, dword [ebp + 8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jmp 0x4b2f44
mov ecx, dword [esi + 0x17]
jmp 0x4b2f16
mov ecx, dword [esi + 0x1b]
jmp 0x4b2f16
mov ecx, dword [esi + 0x1f]
jmp 0x4b2f16
mov ecx, dword [esi + 0x23]
jmp 0x4b2f16
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
push ebx
push edi
mov ecx, dword [ecx + 0x2c]
call ecx
mov ecx, 0x64
add esp, 8
sub ecx, eax
mov eax, 0x51eb851f
imul ecx, esi
imul ecx
imul eax, dword [0x563db0], 0x8088405
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 0x64
inc eax
mov dword [0x563db0], eax
mul edx
mov dword [ebp - 8], eax
cmp edx, ecx
jge 0x4b2fe9
mov edx, ebx
mov ecx, edi
call fcn.0045f170
test eax, eax
je 0x4b2f9f
mov edx, eax
mov ecx, edi
call fcn.004b2810
mov edx, ebx
mov ecx, edi
call fcn.0045f050
test eax, eax
je 0x4b2fe9
call fcn.004ae470
cmp dword [edi + 0x10], 0
jne 0x4b2fe0
cmp byte [edi + 0xbd], 1
jne 0x4b2fe0
mov ecx, dword [0x564668]
cmp dword [ecx + 4], 0
cmove ecx, dword [0x5640ac]
call fcn.00492480
mov dword [edi + 0xd4], 0x24
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c9ef0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ca1a0

Function at 0x4ca1c0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ca1d0
Function at 0x4ce620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x4ce645
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x4ce65d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [esi + ebp]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x4ce68b
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [edi + eax - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x4ce6ca
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x4ce79e
sub edx, 0x10000
js 0x4ce79e
movzx eax, word [esi + ecx - 1]
cmp eax, ebx
jne 0x4ce6b0
mov eax, dword [esp + 4]
movzx eax, word [eax + ecx]
cmp eax, dword [esp + 0x10]
jne 0x4ce6b0
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [edi + eax + 0x108]
lea esi, [esi + eax + 0x108]
mov eax, dword [esi + edx]
xor eax, dword [edi + edx]
jne 0x4ce721
mov eax, dword [esi + edx + 4]
xor eax, dword [edi + edx + 4]
jne 0x4ce71e
add edx, 8
jne 0x4ce705
jmp 0x4ce78f
add edx, 4
test eax, 0xffff
jne 0x4ce72e
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edi + edx]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x4ce78f
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x4ce762
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x4ce6b0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x4ce79e
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi + eax - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x4ce6b0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x4ce7af
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4e81ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x5110ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00510d9d

Function at 0x5110f7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00510f27
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
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
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x37853193
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3a635eee
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0xf8f370
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 0xf8f38e
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 0xfb8074
push ecx
mov edi, eax
call fcn.00fa3198
mov esi, eax
add esp, 8
test esi, esi
jne 0xf8f3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00fa302e
push esi
call fcn.00fa2fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xf92850
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 0xf928ae
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 0xfbd720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf928ba
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.00fa31e1
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 0xf928ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xfbd720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf9292a
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.00fa4082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xf92957
mov word [eax], si
add eax, 2
push eax
call fcn.00fa4030
add esp, 4
jmp 0xf92959
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 0xf928ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xf928b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xf92ff0
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 0xf93080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xf930c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xfb8458
push ecx
call fcn.00fa31e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00fa31e1
add esp, 0x10
jmp 0xf930d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00fa320b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00fa2dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00f93050
mov eax, dword [0xfbd728]
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 0xf9313b
push esi
call fcn.00f92fb0
add esp, 4
mov dword [0xfbd728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xf9314c
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.00f92ff0
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 0xf96440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xf964b7
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 0xf9648e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf96471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf9647e
add edx, ecx
cmp ebx, edx
jb 0xf9648a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf96467
xor ecx, ecx
jmp 0xf964a2
test eax, eax
jne 0xf96492
xor ecx, ecx
jmp 0xf964a2
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.00f963c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xf968f0
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 0xf96921
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 0xf96946
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 0xf9696e
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 0xf96993
push ecx
push esi
call fcn.00f964c0
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 0xf97c00
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 0xf97c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xf97c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xf97c38
add edx, eax
cmp ebx, edx
jb 0xf97c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xf97c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xf97c50
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 0xf97c70
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 0xf97cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf97c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf97ca8
add edx, ecx
cmp ebx, edx
jb 0xf97cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf97c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xf97f60
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.00fa4145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xf97ffb
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 0xf97fdd
lea eax, [esp + 0x18]
push eax
jmp 0xf97fe2
push 0xfbd720
call fcn.00fa3fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xf97fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xf97f40
push 4
push ecx
push eax
call fcn.00fa443f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xf98310
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.00fa4145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xf983ab
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 0xf9838d
lea eax, [esp + 0x18]
push eax
jmp 0xf98392
push 0xfbd720
call fcn.00fa3fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xf98360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xf97f40
push 4
push ecx
push eax
call fcn.00fa443f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret