joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411c80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x18
mov eax, dword [0x480810]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x411cc1
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x411cc1
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0044d190
add esp, 0xc
mov edx, dword [esp + 0x1c]
push edx
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 8]
push ecx
push eax
mov dword [edi], eax
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, 0xffffffff
setne dl
xor ecx, esp
mov eax, edx
call fcn.00448d99
add esp, 0x18
ret 4

Function at 0x411d10
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0xc10
mov eax, dword [0x480810]
xor eax, esp
mov dword [esp + 0xc0c], eax
mov eax, dword [esp + 0xc14]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc28]
push 0x800
mov ebx, edx
xor ebp, ebp
lea edx, [esp + 0x420]
push ebp
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edi
xor esi, esi
call fcn.0044cd20
add esp, 0xc
mov dword [edi], esi
push 0x400
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044cd20
mov edx, dword [ebx]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x411dc1
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + esi + 0x424]
push ecx
call fcn.0044d190
lea edx, [esp + 0x428]
push 0x46ed88
push edx
add esi, edi
call fcn.0044a870
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x411d60
jmp 0x411dc5
test ebp, ebp
je 0x411e03
mov ecx, dword [esp + 0x14]
lea ebx, [esp + 0x41c]
call fcn.00412830
mov ecx, dword [esp + 0x18]
sub esi, ebp
lea esi, [esp + esi + 0x41c]
lea eax, [esi - 4]
push eax
add ebp, 4
push ebp
push ecx
call fcn.0044d190
mov edx, dword [esp + 0x1c]
add esp, 0xc
add esi, 0xfffffffc
mov dword [edx], esi
mov eax, 1
jmp 0x411e05
xor eax, eax
mov ecx, dword [esp + 0xc1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448d99
add esp, 0xc10
ret 8
Function at 0x412510
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x404
mov eax, dword [0x480810]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x410]
push ebp
mov ebp, dword [esp + 0x40c]
push esi
push edi
mov esi, ecx
push esi
push eax
push ebp
call fcn.0044d190
add esp, 0xc
push 0x400
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044cd20
mov edx, dword [ebx]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
lea edi, [eax + esi]
cmp edi, dword [esp + 0x418]
jg 0x41258e
test eax, eax
jle 0x41258e
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + ebp]
push ecx
call fcn.0044d190
mov esi, edi
jmp 0x41253f
mov ecx, dword [esp + 0x40c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.00448d99
add esp, 0x404
ret 0xc

Function at 0x4125b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x480810]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
push 0x46dd44
push eax
mov edi, ecx
mov ebx, edx
call fcn.00449488
mov esi, eax
add esp, 8
test esi, esi
jne 0x4125f3
or eax, 0xffffffff
jmp 0x412659
test edi, edi
jle 0x412604
push esi
push 1
push edi
push ebx
call fcn.004495b5
add esp, 0x10
mov ebx, dword [sym.imp.WS2_32.dll_recv]
lea ebx, [ebx]
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0044cd20
mov edx, dword [ebp]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x18]
push ecx
push edx
call ebx
test eax, eax
push esi
jle 0x41264f
push 1
push eax
add edi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.004495b5
add esp, 0x10
jmp 0x412610
call fcn.004496b5
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448d99
add esp, 0x404
ret 8
Function at 0x412f60
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4621c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x480810]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480810]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1d4]
mov ebx, edx
push 0x46d9d8
push eax
mov esi, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
call fcn.00449488
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
jne 0x41301b
cmp ebp, eax
je 0x413014
call fcn.0044ab5d
mov eax, dword [eax]
push eax
call fcn.0044aabb
add esp, 4
test eax, eax
jne 0x412ff5
xor ecx, ecx
push ecx
push eax
mov ecx, ebp
call fcn.0040a260
xor al, al
jmp 0x4131ad
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x413000
sub ecx, esi
push ecx
push eax
mov ecx, ebp
call fcn.0040a260
xor al, al
jmp 0x4131ad
cmp ebx, eax
je 0x413027
mov ecx, dword [ebx]
mov dword [esp + 0x18], ecx
jmp 0x41302b
mov dword [esp + 0x18], eax
mov ecx, esi
mov byte [esp + 0x1a8], al
mov dword [esp + 0x1a9], eax
mov dword [esp + 0x1ad], eax
mov dword [esp + 0x1b1], eax
mov dword [esp + 0x1b5], eax
mov word [esp + 0x1b9], ax
mov byte [esp + 0x1bb], al
call fcn.0040a6a0
push 2
push 0
push edi
call fcn.0044a7e2
push edi
call fcn.0044ad39
push 0
push 0
push edi
mov ebp, eax
call fcn.0044a7e2
add esp, 0x1c
test ebp, ebp
je 0x413179
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebp
or eax, ecx
jge 0x4130a9
push ebp
mov ecx, esi
call fcn.0040a3a0
mov eax, dword [esi]
push edi
push 1
push ebp
push eax
call fcn.0044998e
add esp, 0x10
push ebp
mov ecx, esi
call fcn.004161f0
mov eax, dword [esi]
push 0xfde9
lea edx, [esp + 0xac]
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0xac], edx
call fcn.00416000
mov dword [esp + 0x1c8], 0
mov ebx, dword [esp + 0xa4]
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
call dword [0x481b70]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004160b0
mov byte [esp + 0x1c8], 1
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x413121
xor eax, eax
jmp 0x413131
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x413126
sub eax, ebx
push eax
push edx
mov ecx, esi
call fcn.0040a260
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x41314f
push eax
call fcn.0044b6f5
add esp, 4
mov dword [esp + 0x1c8], 0xffffffff
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0xa8]
cmp eax, ecx
je 0x413175
push eax
call fcn.0044b6f5
add esp, 4
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x413198
push ebp
lea edx, [esp + 0x1ac]
push edx
push str._s_d_bytes
push eax
call fcn.0040a2f0
add esp, 0x10
push edi
call fcn.004496b5
add esp, 4
test ebx, ebx
je 0x4131ab
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov al, 1
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.00448d99
add esp, 0x1b8
ret
Function at 0x41aea0
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
test edi, edi
mov esi, eax
jne 0x41aeba
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
cmp esi, 4
jge 0x41aecc
pop edi
mov eax, 2
pop esi
add esp, 8
ret 4
cmp esi, 0x38
jle 0x41aede
pop edi
mov eax, 3
pop esi
add esp, 8
ret 4
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, 0x471808
lea ecx, [ebp + 0x4c]
lea esp, [esp]
mov edx, pe_nt_image_headers32
mov ebx, dword [eax]
mov dword [ecx], ebx
add eax, 4
add ecx, 4
sub edx, 1
jne 0x41aef5
cmp eax, 0x472808
jl 0x41aef0
xor eax, eax
mov ebx, 0x4717c0
add ebp, 4
movzx ecx, byte [eax + edi]
add eax, 1
cmp eax, esi
jl 0x41af22
xor eax, eax
movzx edx, byte [eax + edi]
shl ecx, 8
add eax, 1
or edx, ecx
cmp eax, esi
jl 0x41af34
xor eax, eax
movzx ecx, byte [eax + edi]
shl edx, 8
add eax, 1
or ecx, edx
cmp eax, esi
jl 0x41af46
xor eax, eax
movzx edx, byte [eax + edi]
shl ecx, 8
add eax, 1
or edx, ecx
cmp eax, esi
jl 0x41af58
xor eax, eax
mov ecx, dword [ebx]
xor ecx, edx
mov dword [ebp], ecx
add ebx, 4
add ebp, 4
cmp ebx, 0x471808
jl 0x41af15
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea esi, [ebp + 8]
mov edi, 9
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov edx, ebp
call fcn.0041aff0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi - 4], ecx
mov dword [esi], edx
add esi, 8
sub edi, 1
jne 0x41af83
lea esi, [ebp + 0x50]
mov ebx, 4
mov edi, 0x80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, ebp
call fcn.0041aff0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi - 4], edx
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x41afb6
sub ebx, 1
jne 0x41afb1
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x41aff0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
test eax, eax
push esi
mov esi, dword [esp + 0x10]
je 0x41b132
test esi, esi
je 0x41b132
mov ecx, dword [eax]
push ebx
push ebp
push edi
mov edi, dword [esi]
lea esi, [edx + 8]
mov dword [esp + 0x10], 4
lea esp, [esp]
xor ecx, dword [esi - 4]
add esi, 0x10
mov eax, ecx
shr eax, 0x10
mov ebx, ecx
and eax, 0xff
mov eax, dword [edx + eax*4 + 0x44c]
shr ebx, 0x18
add eax, dword [edx + ebx*4 + 0x4c]
movzx ebx, ch
xor eax, dword [edx + ebx*4 + 0x84c]
mov ebx, ecx
and ebx, 0xff
add eax, dword [edx + ebx*4 + 0xc4c]
xor eax, edi
xor eax, dword [esi - 0x10]
mov edi, ecx
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [edx + ecx*4 + 0x44c]
mov ebp, eax
shr ebp, 0x18
add ecx, dword [edx + ebp*4 + 0x4c]
movzx ebp, ah
xor ecx, dword [edx + ebp*4 + 0x84c]
mov ebx, eax
and eax, 0xff
add ecx, dword [edx + eax*4 + 0xc4c]
xor ecx, edi
xor ecx, dword [esi - 0xc]
mov eax, ecx
shr eax, 0x10
mov ebp, ecx
and eax, 0xff
mov eax, dword [edx + eax*4 + 0x44c]
shr ebp, 0x18
add eax, dword [edx + ebp*4 + 0x4c]
movzx ebp, ch
xor eax, dword [edx + ebp*4 + 0x84c]
mov edi, ecx
and ecx, 0xff
add eax, dword [edx + ecx*4 + 0xc4c]
xor eax, ebx
xor eax, dword [esi - 8]
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [edx + ecx*4 + 0x44c]
mov ebp, eax
shr ebp, 0x18
add ecx, dword [edx + ebp*4 + 0x4c]
movzx ebp, ah
xor ecx, dword [edx + ebp*4 + 0x84c]
mov ebx, eax
and eax, 0xff
add ecx, dword [edx + eax*4 + 0xc4c]
xor ecx, edi
sub dword [esp + 0x10], 1
mov edi, ebx
jne 0x41b020
mov eax, dword [edx + 0x44]
mov edx, dword [edx + 0x48]
xor edx, edi
xor eax, ecx
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
pop ebp
pop ebx
mov dword [edx], eax
xor eax, eax
pop esi
pop ecx
ret 8
mov eax, 1
pop esi
pop ecx
ret 8
Function at 0x41c640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x461568
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x480810]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0042bd58
push eax
lea ecx, [esp + 0x30]
call fcn.004288e7
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0042bd58
mov ecx, eax
call fcn.0042859a
cmp dword [esi + 0x134], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x41c761
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x130]
call fcn.00428854
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x140]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00428b1b
test edi, edi
je 0x41c71b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x134]
push edi
push eax
call fcn.00428be9
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x148], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x134]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x130]
test edx, edx
je 0x41c77e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0042893b
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x4229f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x461f41
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480810]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], 0
push 0
push 0
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xffffffffffffffff
push eax
push 0
push ebp
call ebx
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00425149
mov esi, eax
lea eax, [edi + edi + 2]
push eax
push 0
push esi
call fcn.0044cd20
mov ecx, dword [esp + 0x3c]
add esp, 0x10
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push ebp
call ebx
mov edx, dword [esp + 0x34]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
lea ebx, [ebp + 1]
push ebx
call fcn.00425149
push ebx
mov edi, eax
push 0
push edi
call fcn.0044cd20
mov eax, dword [esp + 0x44]
add esp, 0x10
push 0
push 0
push ebp
push edi
push 0xffffffffffffffff
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call fcn.0042f9e8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x422adb
push 0x80004005
call fcn.0040a150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ebx, dword [esp + 0x28]
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x46fa00
push ebx
mov dword [esp + 0x20], 1
call fcn.0040a2f0
push esi
call fcn.0042514e
push edi
call fcn.0042514e
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4234f0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax + 0x14], 7
mov dword [eax + 0x18], 5
mov dword [eax + 0x1c], 4
mov dword [eax + 0x20], 6
mov dword [eax + 0x24], 0xc
mov dword [eax + 0x28], 9
mov dword [eax + 0x2c], 0xb
mov dword [eax + 0x30], 0xa
mov dword [eax + 0x34], 0x11
mov dword [eax + 0x38], 0xe
mov dword [eax + 0x3c], 0x10
mov dword [eax + 0x40], 0xf
mov dword [eax + 0x44], 0x16
mov dword [eax + 0x48], 0x14
mov dword [eax + 0x4c], 0x17
mov dword [eax + 0x50], 0x15
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret
Function at 0x424410
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x424481
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x424481
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x42446a
jmp 0x424481
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x426b2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x426b70
call fcn.0042f6af
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x426b70
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x426bb3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x426b9c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x426b9c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x426bb0
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x427f47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042f6af
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x427f7e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00427b69
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x42d059
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42d092
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042d01c
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004161f0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42edcb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42ee0e
call fcn.0042f6af
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42ee0e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ee29
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042e982
test ebx, ebx
mov esi, eax
je 0x42ee27
test edi, edi
je 0x42ee27
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43ff7d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43ffab
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43ffc9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043fee7
jmp 0x43ffc9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43ffc9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043fee7
test edi, edi
mov eax, edi
jne 0x43ffb3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x483da0]
test ecx, ecx
je 0x44008c
jmp 0x43ff7c
ret 8

Function at 0x448d99
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x480810]
jne 0x448da3
repz ret
jmp fcn.0044edb6
Function at 0x45b7c4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044f021
xor ebx, ebx
cmp dword [0x484c44], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x45b899
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x45b804
xor eax, eax
jmp 0x45b95d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46cdfc
push edi
call esi
cmp eax, ebx
je 0x45b7fd
push eax
call fcn.0044efbe
mov dword [esp], 0x46cdec
push edi
mov dword [0x484c44], eax
call esi
push eax
call fcn.0044efbe
mov dword [esp], 0x46cdd8
push edi
mov dword [0x484c48], eax
call esi
push eax
call fcn.0044efbe
mov dword [0x484c4c], eax
lea eax, [ebp - 8]
push eax
call fcn.0044da6f
test eax, eax
pop ecx
pop ecx
je 0x45b867
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044c969
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x45b899
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044efbe
cmp eax, ebx
pop ecx
mov dword [0x484c54], eax
je 0x45b899
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044efbe
pop ecx
mov dword [0x484c50], eax
mov eax, dword [0x484c50]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x45b912
cmp dword [0x484c54], esi
je 0x45b912
push eax
call fcn.0044f02a
pop ecx
call eax
cmp eax, ebx
je 0x45b8df
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x484c54]
call fcn.0044f02a
pop ecx
call eax
test eax, eax
je 0x45b8df
test byte [ebp - 0x18], 1
jne 0x45b912
lea eax, [ebp - 0xc]
push eax
call fcn.0044daa6
test eax, eax
pop ecx
je 0x45b8fa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044c969
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x45b909
or dword [ebp + 0x10], 0x200000
jmp 0x45b943
or dword [ebp + 0x10], 0x40000
jmp 0x45b943
mov eax, dword [0x484c48]
cmp eax, esi
je 0x45b943
push eax
call fcn.0044f02a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45b943
mov eax, dword [0x484c4c]
cmp eax, esi
je 0x45b943
push dword [ebp - 4]
push eax
call fcn.0044f02a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x484c44]
call fcn.0044f02a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret