joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b84
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec esi
or al, 0xf
mov bh, 0xd0
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x405b98
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x405b89
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00405944
loope 0x405bfc
enter 0xffffffffffff8deb, 0x45
test al, 0x50
call fcn.00405954
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00405909
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x405c32
or al, ch
pop es
std
invalid
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
invalid
invalid
cld

Function at 0x405cac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x5128ba3a
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf

Function at 0x405d18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6

Function at 0x405e04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x765100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2ac000]
push edi
or ebp, 0xffffffff
jmp 0x765122
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x765129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x765118
mov eax, 1
add ebx, ebx
jne 0x76513b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x76514c
jne 0x76516b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x76516b
dec eax
add ebx, ebx
jne 0x765158
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x765130
add ebx, ebx
jne 0x765167
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7651bd
xor ecx, ecx
sub eax, 3
jb 0x765183
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7651f2
sar eax, 1
mov ebp, eax
jmp 0x76518e
add ebx, ebx
jne 0x76518e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x76515c
inc ecx
add ebx, ebx
jne 0x76519c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x76515c
add ebx, ebx
jne 0x7651a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x76519e
jne 0x7651ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x76519e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7651dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7651ce
jmp 0x76511e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7651dc
add edi, ecx
jmp 0x76511e
pop esi
mov edi, esi
mov ecx, 0xda00
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7651fa
cmp byte [edi], 0xa4
jne 0x7651fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7651ff
lea edi, [esi + 0x361000]
mov eax, dword [edi]
or eax, eax
je 0x76526e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4829e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x482b28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x76522c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x482b2c]
or eax, eax
je 0x765268
mov dword [ebx], eax
add ebx, 4
jmp 0x765249
call dword [esi + 0x482b3c]
mov ebp, dword [esi + 0x482b30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x7652a2
sub esp, 0xffffff80
jmp 0x5e7070
Function at 0x401160
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
xor esi, esi
nop word [eax + eax]
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0xf9
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x34
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xc4
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x70
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x13
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xaf
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x95
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x5e
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x2c
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x92
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xe5
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xa
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x32
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x49
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x84
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x67
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x34
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xc3
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xc1
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x6c
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xc7
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x3d
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x7a
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xa9
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xd3
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xcb
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x27
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x82
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xda
inc esi
cmp esi, 0x83000
jb 0x401170
pop edi
pop esi
ret
Function at 0x4018c0
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x41800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
clc
jae 0x4018e4
call 0x63d1b1
add byte [eax], al
mov eax, 0x23
cmp eax, 0x100
jl 0x4018f2
call 0x3dcb7d57
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x49d000], eax
stc
jb 0x401910
call 0xe84883c8
add al, 0xe
add byte [eax], al
push 8
call fcn.0040271b
add esp, 4
mov esi, eax
push 4
call fcn.0040271b
add esp, 4
lea edi, [esi + 4]
mov dword [eax], 0x4018b0
push edi
push 0
push eax
push 0x401c70
push 0
push 0
call fcn.0040555f
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x401a2b
cmp dword [edi], 0
je 0x401a38
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi], eax
je 0x401a3f
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0040230e
add esp, 0xc
test eax, eax
jne 0x401a46
push 0xc
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [ebp - 0x10], 0x422e28f6
mov dword [ebp - 0xc], 0x440762a0
mov dword [ebp - 8], 0x3f443958
call fcn.0040271b
add esp, 4
mov edi, eax
lea eax, [ebp - 0x10]
push 0xc
push eax
push edi
lea esi, [edi + 0xc]
call fcn.00403610
add esp, 0xc
xor dl, dl
mov ebx, edi
cmp edi, esi
je 0x4019e9
movss xmm1, dword [0x415b5c]
movss xmm0, dword [ebx]
mov cl, dl
comiss xmm0, xmm1
lea eax, [ecx + 1]
movzx edx, al
movzx eax, cl
cmovbe edx, eax
add ebx, 4
cmp ebx, esi
jne 0x4019c3
cmp dl, 5
jbe 0x4019e9
or ebx, 0xffffffff
jmp 0x4019eb
xor ebx, ebx
test edi, edi
je 0x401a18
sub esi, edi
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x401a0e
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x401a4d
mov edi, ecx
push esi
push edi
call fcn.0040274b
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040270d
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.004020b0
push 1
call fcn.004020b0
push 5
call fcn.004020b0
push 2
call fcn.004020b0
call fcn.0040590c
int3

Function at 0x402cd6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402d15
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402d15
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402d15
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402d15
cmp dword [ecx + 0x74], 0xe
jbe 0x402d15
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407a04
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41227c
push 0x412274
push str.FlsAlloc
push 0x1e
call fcn.00407885
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407a38
push dword [ebp + 8]
mov ecx, esi
call dword [0x410140]
call esi
jmp 0x407a3e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4181cd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [0x300217d0], ecx
push esi
mov esi, 0xff
jne 0x418216
mov dword [0x300217d0], 1
push edi
push 8
mov edx, ecx
pop edi
test dl, 1
je 0x418202
shr edx, 1
xor edx, 0xedb88320
jmp 0x418204
shr edx, 1
dec edi
test edi, edi
jg 0x4181f3
mov dword [ecx*4 + 0x300213d0], edx
inc ecx
cmp ecx, esi
jle 0x4181ee
pop edi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x418237
mov edx, dword [ebp + 8]
movzx edx, byte [edx]
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x300213d0]
inc dword [ebp + 8]
dec ecx
jne 0x41821d
not eax
pop esi
pop ebp
ret 8

Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
sub eax, eax
add esi, esi
dec esi
call fcn.0043b68a
and esi, esi
xor dword [edi], edx
mov esi, esi
sub eax, 0x6320c59a
add esi, 1
add edi, 1
mov esi, 0x947947ac
cmp edi, ebx
jne fcn.0043b64a
sub esi, esi
add esi, 0x15e4b8a2
add eax, 0x221e7de2
ret

Function at 0x40ed6f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x40eae0
pop eax
and ebx, edx
call fcn.0040edb5
add ebx, 0x58713dcd
xor dword [esi], eax
add edx, 0x1df41de9
sub ebx, 0x8ef19a0f
add esi, 1
cmp esi, ecx
jne fcn.0040ed6f
mov ebx, 0x1a912e91
ret
Function at 0x839860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2fe000]
lea eax, [edi + 0x409074]
push dword [eax]
mov dword [eax], 0xa20d080
push eax
push edi
jmp 0x83988a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x839891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x839880
mov eax, 1
add ebx, ebx
jne 0x8398a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8398b4
jne 0x8398d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8398d3
dec eax
add ebx, ebx
jne 0x8398c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x839898
add ebx, ebx
jne 0x8398cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x839925
xor ecx, ecx
sub eax, 3
jb 0x8398eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x83995a
sar eax, 1
mov ebp, eax
jmp 0x8398f6
add ebx, ebx
jne 0x8398f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8398c4
inc ecx
add ebx, ebx
jne 0x839904
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8398c4
add ebx, ebx
jne 0x839911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x839906
jne 0x839922
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x839906
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x839944
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x839936
jmp 0x839886
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x839944
add edi, ecx
jmp 0x839886
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xbd9f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x839966
cmp byte [edi], 0x22
jne 0x839966
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x83996b
lea edi, [esi + 0x428000]
mov eax, dword [edi]
or eax, eax
je 0x8399e3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4391dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4392b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x839998
mov ecx, edi
jns 0x8399c7
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4392bc]
or eax, eax
je 0x8399dd
mov dword [ebx], eax
add ebx, 4
jmp 0x8399b5
call dword [esi + 0x4392b8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x839a14
cmp al, 0xef
ja 0x839a07
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8399e9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8399f6
mov ebp, dword [esi + 0x4392c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x839a48
sub esp, 0xffffff80
jmp 0x609f2c
Function at 0x5eb370
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 0x5eb38e
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 0x614074
push ecx
mov edi, eax
call fcn.005ff198
mov esi, eax
add esp, 8
test esi, esi
jne 0x5eb3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.005ff02e
push esi
call fcn.005fefb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x5ee850
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 0x5ee8ae
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 0x619720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5ee8ba
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.005ff1e1
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 0x5ee8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x619720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5ee92a
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.00600082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x5ee957
mov word [eax], si
add eax, 2
push eax
call fcn.00600030
add esp, 4
jmp 0x5ee959
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 0x5ee8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x5ee8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x5ef0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x614458
push ecx
call fcn.005ff1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.005ff1e1
add esp, 0x10
jmp 0x5ef0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.005ff20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.005fedff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.005ef050
mov eax, dword [0x619728]
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 0x5ef13b
push esi
call fcn.005eefb0
add esp, 4
mov dword [0x619728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x5ef14c
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.005eeff0
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 0x5f2440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x5f24b7
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 0x5f248e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5f2471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5f247e
add edx, ecx
cmp ebx, edx
jb 0x5f248a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5f2467
xor ecx, ecx
jmp 0x5f24a2
test eax, eax
jne 0x5f2492
xor ecx, ecx
jmp 0x5f24a2
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.005f23c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x5f28f0
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 0x5f2921
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 0x5f2946
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 0x5f296e
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 0x5f2993
push ecx
push esi
call fcn.005f24c0
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 0x5f3c00
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 0x5f3c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x5f3c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x5f3c38
add edx, eax
cmp ebx, edx
jb 0x5f3c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x5f3c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x5f3c50
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 0x5f3c70
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 0x5f3cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5f3c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5f3ca8
add edx, ecx
cmp ebx, edx
jb 0x5f3cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5f3c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x5f3f60
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.00600145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x5f3ffb
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 0x5f3fdd
lea eax, [esp + 0x18]
push eax
jmp 0x5f3fe2
push 0x619720
call fcn.005fffd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x5f3fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x5f3f40
push 4
push ecx
push eax
call fcn.0060043f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret