joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ab30
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push esi
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
xor esi, esi
push 0x20000013
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 8
mov dword [ebp - 4], esi
call ebx
test eax, eax
je 0x46abba
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp ecx, 0xc8
jne 0x46ab7a
cmp eax, esi
je 0x46ab86
cmp ecx, 0x12e
jne 0x46abba
cmp eax, esi
jne 0x46abba
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x20000005
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 8
mov dword [ebp - 4], esi
call ebx
test eax, eax
je 0x46abba
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
or edx, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46d120
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [edx]
push edi
mov edi, dword [ebp + 8]
xor edx, edx
push 0x206
mov dword [ebp - 0x214], eax
push edx
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x210], ecx
mov word [ebp - 0x20c], dx
call fcn.00472390
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx]
mov ebx, dword [ebx]
mov edi, dword [edi]
add esp, 0xc
push esi
push 0x104
lea edx, [ebp - 0x20c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [ebp - 0x20c]
lea ecx, [eax + 2]
jmp 0x46d1a0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x46d1a0
sub eax, ecx
mov ecx, dword [ebp - 0x210]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401b40
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e885
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46d280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x496c08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
lea ebx, [esi + 4]
push ecx
mov dword [esp + 0x30], 0
call fcn.00407870
add esp, 8
lea edi, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.00404ef0
xor bl, bl
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46d30c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.004015d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], 2
call fcn.00403ec0
add esp, 4
push eax
mov byte [esp + 0x30], bl
call fcn.00404070
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46d364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46dc50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4cc730], 0
push esi
push edi
jne 0x46dbc6
call fcn.0046db32
test eax, eax
je 0x46dc0b
mov eax, dword [0x4cc730]
cmp eax, 1
jne 0x46dbe7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46dc0b
jmp 0x46dc4d
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x46dc4d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46dc0f
xor eax, eax
jmp 0x46dc4d
mov eax, dword [esi]
push dword [0x4cc730]
call edi
mov edi, eax
test edi, edi
je 0x46dc31
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x46dc4d
lea edi, [esi + 0xff0]
push esi
push dword [0x4cc730]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x46dc37
mov eax, esi
pop edi
pop esi
ret
jmp 0x46dbb2

Function at 0x46e885
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c51d0]
jne 0x46e88f
repz ret
jmp fcn.00476871
Function at 0x481798
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00478868
and dword [ebp - 0x14], 0
cmp dword [0x4cd7b8], 0
mov dword [ebp - 0x18], eax
jne 0x48184b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4818f3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a2fb4
push ebx
call edi
test eax, eax
je 0x4818f3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4cd7b8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4cd7bc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4cd7c0], eax
call edi
push eax
call esi
mov dword [0x4cd7c8], eax
test eax, eax
je 0x48184b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4cd7c4], eax
mov eax, dword [0x4cd7c4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4818a4
cmp dword [0x4cd7c8], ecx
je 0x4818a4
push eax
call esi
push dword [0x4cd7c8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4818a4
test ebx, ebx
je 0x4818a4
call edi
test eax, eax
je 0x48189b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48189b
test byte [ebp - 8], 1
jne 0x4818a4
or dword [ebp + 0x10], 0x200000
jmp 0x4818d7
mov eax, dword [0x4cd7bc]
cmp eax, dword [ebp - 0x18]
je 0x4818d7
push eax
call esi
test eax, eax
je 0x4818d7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4818d7
mov eax, dword [0x4cd7c0]
cmp eax, dword [ebp - 0x18]
je 0x4818d7
push eax
call esi
test eax, eax
je 0x4818d7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4cd7b8]
call esi
test eax, eax
je 0x4818f3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4818f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e885
leave
ret
Function at 0x489050
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x48d7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [0x4c66bc]
cmp eax, 0xffffffff
jne 0x489090
xor esi, esi
jmp 0x489099
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x18], esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x58], 0
test esi, esi
je 0x4890ed
nop
cmp dword [esi + 0x14], 0
jne 0x48913a
cmp dword [esi + 0x10], 0
jne 0x489140
push 0x4886b0
push 0x4cd7e4
call fcn.00488940
mov eax, dword [0x4c66bc]
add esp, 8
cmp eax, 0xffffffff
je 0x4891f1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x58], 0xffffffff
test esi, esi
je 0x48911b
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x48911b
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046e885
add esp, 0x48
ret
cmp dword [esi + 0x10], 0
je 0x489182
mov ebp, dword [esi + 0x10]
mov eax, dword [ebp + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp]
test ecx, ecx
je 0x489170
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp dword [esi + 0x10], 0
jne 0x489140
cmp dword [esi + 0x14], 0
je 0x4890ba
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4891a7
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebp, dword [edi + 8]
test ebp, ebp
je 0x4891da
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4891da
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
lea ecx, [ebp + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4891da
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp dword [esi + 0x14], 0
jne 0x48918c
jmp 0x4890b0
call fcn.0048a000
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov edi, 0xb
mov dword [esp + 0x18], str.boost::thread_resource_error
call fcn.0046ee85
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x1c], vtable.boost::thread_resource_error.0
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x5c], 1
call fcn.00405b90
int3
Function at 0x489340
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x48d808
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebp
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x489250
push 0
push 0
call fcn.0046f562
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x4893e2
call fcn.0048a000
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov esi, eax
lea edi, [ebp + 0xb]
mov dword [esp + 0x14], str.boost::thread_resource_error
call fcn.0046ee85
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
mov dword [esp + 0x14], vtable.boost::thread_resource_error.0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x54], ebp
call fcn.00405b90
mov ecx, dword [esi]
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x489405
cmp eax, 0xffffffff
je 0x489405
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebp
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046e885
add esp, 0x44
ret
Function at 0x4971e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x61000]
push edi
jmp 0x4971fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x497201
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4971f0
mov eax, 1
add ebx, ebx
jne 0x497213
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x497224
jne 0x497243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497243
dec eax
add ebx, ebx
jne 0x497230
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x497208
add ebx, ebx
jne 0x49723f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x497295
xor ecx, ecx
sub eax, 3
jb 0x49725b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4972ca
sar eax, 1
mov ebp, eax
jmp 0x497266
add ebx, ebx
jne 0x497266
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497234
inc ecx
add ebx, ebx
jne 0x497274
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x497234
add ebx, ebx
jne 0x497281
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x497276
jne 0x497292
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x497276
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4972b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4972a6
jmp 0x4971f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4972b4
add edi, ecx
jmp 0x4971f6
pop esi
mov edi, esi
mov ecx, 0x2f90
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4972d2
cmp byte [edi], 0x1b
jne 0x4972d2
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 0x4972d7
lea edi, [esi + 0x94000]
mov eax, dword [edi]
or eax, eax
je 0x49734f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9dfa0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9e0b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x497304
mov ecx, edi
jns 0x497333
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 + 0x9e0bc]
or eax, eax
je 0x497349
mov dword [ebx], eax
add ebx, 4
jmp 0x497321
call dword [esi + 0x9e0cc]
mov ebp, dword [esi + 0x9e0c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x497383
sub esp, 0xffffff80
jmp 0x450aed

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4340e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x4340f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x4341d6
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00434a50
add esp, 8
sar eax, 0xc
cmp eax, 3
jne 0x4341d1
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x9922c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00434a50
add esp, 8
and eax, dword [ebp - 0x10]
add eax, 0x8702
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
cmp dword [ebp - 4], 0
jne 0x4341aa
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4341aa
xor eax, eax
jmp 0x4341d6
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx - 0x8702]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx - 0x8702], eax
jmp 0x4340ef
mov esp, ebp
pop ebp
ret

Function at 0x434a50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x240be8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x240be8
push 0x15b9
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x434a85
xor eax, eax
jmp 0x434a8f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + edx*2]
mov esp, ebp
pop ebp
ret
Function at 0x401310
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
push dword [esp + 4]
bswap eax
push 1
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
call fcn.00403a83
push dword [esp + 0x14]
call fcn.004031a9
add esp, 0x14
ret

Function at 0x406514
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040638a
Function at 0x4ab7d0f9
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ab840ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x214], esi
cmp eax, ebx
jne 0x4ab7d1e5
mov dword [ebp - 0x210], ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push dword [ebp - 0x214]
call dword [0x4ab84018]
mov esi, eax
cmp esi, ebx
jne 0x4ab7d1be
cmp word [ebp - 0x20c], 0x2e
jne 0x4ab7d1a3
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call fcn.4ab7d003
mov edi, eax
cmp edi, ebx
je 0x4ab7d1d1
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4ab7d176
sub eax, edx
sar eax, 1
je 0x4ab7d19d
push edi
lea eax, [ebp - 0x20c]
push eax
push str._s_s_r_n
call fcn.4ab658f3
add esp, 0xc
mov esi, eax
push edi
call fcn.4ab6142e
cmp dword [0x4ab841b4], ebx
jne 0x4ab7d1e0
inc dword [ebp - 0x210]
cmp esi, ebx
jne 0x4ab7d257
jmp 0x4ab7d12d
cmp esi, 0x103
jne 0x4ab7d257
xor esi, esi
jmp 0x4ab7d257
push ebx
call dword [fcn.4ab612d4]
push eax
call fcn.4ab66d44
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x4ab7d259
push ebx
push eax
call fcn.4ab62b0d
push eax
call fcn.4ab619d6
mov edi, eax
cmp edi, ebx
je 0x4ab7d1e0
push 0x20
push edi
call fcn.4ab62148
cmp eax, ebx
je 0x4ab7d209
xor ecx, ecx
mov word [eax], cx
push edi
push esi
call fcn.4ab7d003
mov ebx, eax
test ebx, ebx
je 0x4ab7d239
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4ab7d219
sub eax, edx
sar eax, 1
je 0x4ab7d239
push ebx
push edi
push str._s_s_r_n
call fcn.4ab658f3
mov esi, eax
jmp 0x4ab7d248
xor esi, esi
push edi
inc esi
push esi
push 0x400023a3
call fcn.4ab66d44
add esp, 0xc
push ebx
call fcn.4ab6142e
push edi
call fcn.4ab6142e
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4ab613a9
leave
ret 8
Function at 0x4ab7d26f
Capabilities:
Set registry value

Disassembly:
push 0xc
push 0x4ab7d398
call fcn.4ab6264a
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp edi, esi
je 0x4ab7d2e6
cmp word [edi], si
je 0x4ab7d2e6
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x4ab7d28e
sub eax, edx
sar eax, 1
push eax
push edi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4ab8401c]
mov ebx, eax
mov dword [ebp + 0x10], ebx
cmp ebx, esi
jne 0x4ab7d2cb
push edi
push dword [ebp + 0xc]
push str._s_s_r_n
call fcn.4ab658f3
add esp, 0xc
jmp 0x4ab7d355
push esi
push ebx
call fcn.4ab66d44
push dword [ebp + 0xc]
push 1
push 0x235d
call fcn.4ab66d44
add esp, 0x14
jmp 0x4ab7d355
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4ab61368]
mov ebx, eax
mov dword [ebp + 0x10], ebx
cmp ebx, esi
je 0x4ab7d359
lea eax, [ebp + 0xc]
push eax
push 0x2000000
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [fcn.4ab61360]
mov ebx, eax
mov dword [ebp + 0x10], ebx
cmp ebx, esi
je 0x4ab7d32c
cmp ebx, 2
je 0x4ab7d355
push esi
push ebx
call fcn.4ab66d44
pop ecx
pop ecx
jmp 0x4ab7d355
push 0x4ab63afc
push dword [ebp + 0xc]
call dword [0x4ab61364]
mov ebx, eax
mov dword [ebp + 0x10], eax
cmp ebx, esi
je 0x4ab7d34c
push esi
push ebx
call fcn.4ab66d44
pop ecx
pop ecx
push dword [ebp + 0xc]
call dword [fcn.4ab61354]
cmp ebx, esi
jne 0x4ab7d389
mov dword [ebp - 4], esi
push esi
push esi
push esi
push 0x8000000
call dword [0x4ab84040]
jmp 0x4ab7d382
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp + 0x10]
call fcn.4ab613b6
ret 0xc
Function at 0x4ab7d685
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4ab840ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x48], edi
cmp eax, edi
jne 0x4ab7d6ab
xor eax, eax
jmp 0x4ab7d7b5
push ebx
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [0x4ab612f0]
mov ebx, eax
mov dword [ebp - 0x4c], ebx
cmp ebx, 0xffffffff
je 0x4ab7d7b0
push esi
lea eax, [ebp - 0x44]
push eax
push ebx
push 0x40
pop esi
call fcn.4ab7d3db
test eax, eax
je 0x4ab7d6f5
mov eax, 0x5a4d
xor ecx, ecx
cmp ax, word [ebp - 0x44]
sete cl
mov eax, ecx
jmp 0x4ab7d6f7
xor eax, eax
cmp eax, edi
je 0x4ab7d7a6
push edi
push edi
push dword [ebp - 8]
push ebx
call dword [fcn.4ab61284]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
cmp eax, edi
je 0x4ab7d7a6
lea eax, [ebp - 0x50]
push eax
push ebx
push 4
pop esi
call fcn.4ab7d3db
test eax, eax
je 0x4ab7d73c
xor eax, eax
cmp dword [ebp - 0x50], 0x4550
sete al
jmp 0x4ab7d73e
xor eax, eax
cmp eax, edi
je 0x4ab7d7a6
lea eax, [ebp - 0x64]
push eax
push ebx
push 0x14
pop esi
call fcn.4ab7d3db
test eax, eax
je 0x4ab7d7a6
cmp word [ebp - 0x54], di
jbe 0x4ab7d7a6
movzx eax, word [ebp - 0x54]
mov edi, dword [fcn.4ab61294]
push eax
push 8
call edi
push eax
call dword [fcn.4ab612a8]
mov ebx, eax
test ebx, ebx
je 0x4ab7d7a6
movzx esi, word [ebp - 0x54]
push ebx
push dword [ebp - 0x4c]
call fcn.4ab7d3db
test eax, eax
je 0x4ab7d79a
mov edx, dword [ebp - 0x64]
mov ecx, ebx
call fcn.4ab7d3b9
test eax, eax
je 0x4ab7d79a
movzx eax, word [eax]
mov dword [ebp - 0x48], eax
push ebx
push 0
call edi
push eax
call dword [fcn.4ab61290]
push dword [ebp - 0x4c]
call dword [0x4ab612ac]
pop esi
mov ax, word [ebp - 0x48]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.4ab613a9
leave
ret 4