joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ef10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5541f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5ad880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
cmp dword [edi + 0x10], 0xffffffff
je 0x42efc0
lea ebx, [edi + 0x34]
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x98]
push eax
mov dword [ebp - 4], 0
call fcn.00524a3b
push 0x50
call fcn.0042a9f0
mov esi, eax
add esp, 8
test esi, esi
je 0x42efa5
mov dword [esi], 0
cmp dword [edi + 8], 0
je 0x42efd6
mov dword [esi + 0x14], 0
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x74]
or edx, 0x40001
mov dword [esi + 0x14], edx
jmp 0x42efdd
cmp dword [edi + 4], 0
je 0x42efb2
mov eax, edi
call fcn.0042ecf0
push ebx
mov dword [ebx + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [esi + 0x14], 0x40101
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea ebx, [esi + 0x1c]
mov dword [ebx], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dx, word [ebp + 0x10]
push 0
push esi
push 0
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x20]
push eax
push 1
mov word [esi + 0x48], dx
mov ecx, dword [edi + 0x10]
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x42f072
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x42f072
cmp dword [edi + 4], 0
je 0x42f034
mov eax, edi
call fcn.0042ecf0
mov eax, esi
call fcn.0042aac0
mov eax, dword [ebp - 0x18]
push eax
mov dword [eax + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edi + 0x34]
push eax
mov dword [eax + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42f0a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5541d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5ad880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
or edi, 0xffffffff
cmp dword [esi + 0x10], edi
je 0x42f176
mov ecx, dword [esi + 0xb8]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ebx, dword [ebp + 0xc]
test eax, eax
jne 0x42f118
mov eax, dword [esi + 0xb8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx + 8]
sub edx, dword [ecx + 0xc]
jns 0x42f107
mov dword [ebp - 0x14], edi
jmp 0x42f11f
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x42f11f
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jle 0x42f218
push 0x50
call fcn.0042a9f0
mov edi, eax
xor eax, eax
add esp, 4
cmp edi, eax
je 0x42f15c
mov dword [edi], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
cmp dword [esi + 8], eax
je 0x42f18c
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x74]
or edx, 0x20001
mov dword [edi + 0x14], edx
jmp 0x42f193
push str.OVERLAPPEDIO_Create_Failed
call fcn.0042e9a0
add esp, 4
cmp dword [esi + 4], 0
je 0x42f176
mov eax, esi
call fcn.0042ecf0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x14], 0x20101
mov eax, dword [esi + 0xb8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x14]
lea ebx, [edi + 0x1c]
mov dword [ebx], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push edi
push 0
lea edx, [ebp - 0x14]
push edx
push 1
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x10]
push ebx
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x42f1f3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x42f1f3
mov eax, edi
call fcn.0042aac0
jmp 0x42f169
mov ecx, dword [esi + 0xb8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
test eax, eax
jne 0x42f218
mov esi, dword [esi + 0xb8]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebx]
add dword [eax + 0xc], ecx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42f490
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5541b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5ad880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 0x10], 0xffffffff
jne 0x42f4eb
push str.CTcpSock::Recv
push str.__s__Invalid_Socket
call fcn.0042e9a0
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x50
call fcn.0042a9f0
mov edi, eax
add esp, 4
test edi, edi
je 0x42f52d
lea eax, [esi + 0x98]
push eax
mov dword [edi], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
call fcn.00524a3b
mov eax, dword [esi + 0xbc]
add esp, 4
test eax, eax
jne 0x42f546
mov eax, edi
call fcn.0042aac0
jmp 0x42f4d5
cmp dword [esi + 4], 0
je 0x42f53a
mov eax, esi
call fcn.0042ecf0
push str.CTcpSock::Recv
push str.__s__Cant_Creaet_IO
jmp 0x42f4cd
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x10]
sub ebx, dword [ecx + 8]
mov edx, dword [edx + 0x10]
add ebx, dword [ecx]
jns 0x42f55f
or eax, 0xffffffff
jmp 0x42f56c
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
add eax, dword [ecx]
cmp edx, eax
jle 0x42f572
mov edx, eax
xor ebx, ebx
cmp dword [esi + 8], ebx
je 0x42f58c
mov dword [edi + 0x14], ebx
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x74]
or eax, 0x20002
mov dword [edi + 0x14], eax
jmp 0x42f593
mov dword [edi + 0x14], 0x20102
lea eax, [edi + 0x1c]
mov dword [eax], edx
mov ecx, dword [esi + 0xbc]
cmp ecx, ebx
je 0x42f670
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
push ebx
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [edi + 0x34], ecx
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x1c]
push ecx
push 1
mov dword [edi + 0x18], esi
mov edx, dword [esi + 0x10]
push eax
push edx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x42f651
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x42f651
mov eax, edi
call fcn.0042aac0
cmp ebx, 0x2736
je 0x42f635
cmp dword [esi + 4], 0
je 0x42f605
mov eax, esi
call fcn.0042ecf0
cmp ebx, 0x2746
je 0x42f4d5
cmp ebx, 0x2749
je 0x42f4d5
push ebx
push str.CTcpSock::Recv
push str.__s__Sock_Error1___d
call fcn.0042e9a0
add esp, 0xc
jmp 0x42f4d5
push 0x2736
push str.CTcpSock::Recv
push str.__s__Invalid_Socket2___d
call fcn.0042e9a0
add esp, 0xc
jmp 0x42f4d5
mov eax, 1
add dword [esi + 0x78], eax
mov dword [esi + 0x74], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
call fcn.0042aac0
push str.CTcpSock::Recv
push str.__s__Recv_Buff_Is_not_Exist
jmp 0x42f4cd
Function at 0x42fcc0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
test edi, edi
jne 0x42fcd6
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
lea ebx, [esi + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x50
mov dword [ebx + 0x18], 1
call fcn.0042a9f0
add esp, 4
test eax, eax
je 0x42fd88
mov dword [eax], 0
cmp dword [esi + 8], 0
je 0x42fd1e
mov dword [eax + 0x14], 0
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x74]
or edx, 0x40001
mov dword [eax + 0x14], edx
jmp 0x42fd25
mov dword [eax + 0x14], 0x40101
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp + 8]
lea ecx, [eax + 0x1c]
mov dword [eax + 0x20], edx
mov dword [eax + 0x18], esi
mov edx, dword [edi]
mov dword [eax + 0x24], edx
mov edx, dword [edi + 4]
mov dword [eax + 0x28], edx
mov edx, dword [edi + 8]
push 0
push eax
mov dword [eax + 0x2c], edx
mov edx, dword [edi + 0xc]
push 0x10
mov dword [eax + 0x30], edx
mov dx, word [ebp + 0x10]
push edi
push 0
mov word [eax + 0x48], dx
lea eax, [ebp + 0x14]
push eax
push 1
push ecx
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x42fdac
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x42fdac
cmp eax, 0x2736
je 0x42fdac
cmp dword [esi + 4], 0
je 0x42fd95
mov eax, esi
call fcn.0042ecf0
push ebx
mov dword [ebx + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
mov dword [ebx + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x42fdd0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x5ad880]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov esi, ecx
jmp 0x42fdf0
mov ecx, dword [esi + 0xb8]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov edx, dword [eax + 8]
sub edx, dword [eax + 0xc]
js 0x42ff3d
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 8]
sub eax, dword [edx + 0xc]
test eax, eax
jle 0x42ff3d
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
mov edx, dword [eax]
movzx edi, word [eax]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
add dword [eax + 0xc], 0x10
push 0x50
call fcn.0042a9f0
add esp, 4
test eax, eax
je 0x42ff1d
mov dword [eax], 0
cmp dword [esi + 8], 0
je 0x42fe7f
mov dword [eax + 0x14], 0
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x74]
or ecx, 0x20001
mov dword [eax + 0x14], ecx
jmp 0x42fe86
mov dword [eax + 0x14], 0x20101
mov dword [eax + 0x1c], edi
mov edx, dword [esi + 0xb8]
mov edx, dword [edx + 4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
lea ecx, [eax + 0x1c]
mov dword [eax + 0x20], edx
mov dword [eax + 0x18], esi
mov edx, dword [esp + 0xc]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x18]
push 0
mov dword [eax + 0x30], edx
mov edx, dword [esi + 0xb8]
mov edx, dword [edx + 4]
mov edx, dword [edx]
add dword [edx + 0xc], edi
push eax
push 0x10
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push 1
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x42ff01
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x42ff01
cmp eax, 0x2736
jne 0x42ff1d
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov ecx, dword [esi + 0xb8]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
add dword [ecx + 4], eax
jmp 0x42fdf0
cmp dword [esi + 4], 0
je 0x42ff2a
mov eax, esi
call fcn.0042ecf0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005232d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.005232d4
mov esp, ebp
pop ebp
ret
Function at 0x430140
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x50
mov esi, eax
call fcn.0042a9f0
add esp, 4
test eax, eax
je 0x43017b
mov dword [eax], 0
cmp dword [esi + 8], 0
je 0x430191
mov dword [eax + 0x14], 0
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x74]
or edx, 0x20002
mov dword [eax + 0x14], edx
jmp 0x430198
cmp dword [esi + 4], 0
je 0x430188
mov eax, esi
call fcn.0042ecf0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [eax + 0x14], 0x20102
mov edx, dword [ebp + 8]
push 0
push eax
mov dword [eax + 0x20], edx
lea ecx, [eax + 0x1c]
mov dword [eax + 0x18], esi
lea edx, [ebp - 4]
push edx
add eax, 0x24
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xc]
push edx
mov dword [ecx], 0x1000
mov eax, dword [esi + 0x10]
push 1
push ecx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x10
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x4301f1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x4301f1
cmp eax, 0x2736
jne 0x43017b
inc dword [esi + 0x78]
mov dword [esi + 0x74], 1
mov esi, dword [esi + 4]
inc dword [esi + 0xc4]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43f2dc
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0043ef80
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43f326
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00430e5e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041ff80
jmp 0x43f331
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00438d30
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43f337
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0043f48d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x43f374
call fcn.0043ef80
mov dword [esi + 0xc], 1
jmp 0x43f379
call fcn.0043ef80
cmp dword [esi], 0
je 0x43f3c2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x43f39a
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00430e5e
jmp 0x43f3ac
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00408010
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041ff80
jmp 0x43f3e6
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x43f3e6
push dword [esi]
push dword [ebp + 8]
call fcn.00438d30
pop esi
pop ebp
ret 0xc
Function at 0x43f7c3
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5515f6
call fcn.00528e92
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x43f7e8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43f83a
call fcn.00430f5d
push eax
lea ecx, [ebp - 0x10]
call fcn.00407b30
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005289e1
push eax
call fcn.00407c10
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00407ec0
mov eax, esi
call fcn.00528f6a
ret 8

Function at 0x445bd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x445c1f
call fcn.00435038
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x445c1f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x445c3b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004456d8
mov esi, eax
test edi, edi
je 0x445c39
test ebx, ebx
je 0x445c39
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4968fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00435038
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x496933
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.00496537
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 0x496991
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4969b5
cmp dword [edi + 0x74], 0
jne 0x4969b5
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00435038
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00496952
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x49cd5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x49cd76
call fcn.00435038
mov esi, dword [eax + 0xc]
push dword [0x5b471c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x49cd94
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x49cd8c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x49cdc1
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x49cd8e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0049cc8a
mov esi, eax
jmp 0x49cdb3

Function at 0x4fadfb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00443fb9
call fcn.0043186e
cmp eax, esi
pop esi
jne 0x4fae17
mov ecx, 0x5b0e88
jmp fcn.0043c834
ret

Function at 0x4fe793
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4fe7ab
mov edi, dword [esi + 0xc]
jmp 0x4fe7eb
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4fe7c4
call fcn.00437a47
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4fe7d9
call fcn.00437a47
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4fe7eb
call fcn.00437a47
call fcn.00435038
cmp dword [eax + 0x3c], 0
je 0x4fe800
push edi
mov ecx, ebx
call fcn.004fd5c5
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004fe6ad
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4fe81e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4fe82a
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5232d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ad880]
jne 0x5232de
repz ret
jmp fcn.0052d494
Function at 0x53dc0e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ad880]
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.0052f5c7
and dword [ebp - 0x14], 0
cmp dword [0x5b6ff0], 0
mov dword [ebp - 0x18], eax
jne 0x53dcc1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x53dd69
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x584438
push ebx
call edi
test eax, eax
je 0x53dd69
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x584428
push ebx
mov dword [0x5b6ff0], eax
call edi
push eax
call esi
push 0x584414
push ebx
mov dword [0x5b6ff4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5b6ff8], eax
call edi
push eax
call esi
mov dword [0x5b7000], eax
test eax, eax
je 0x53dcc1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5b6ffc], eax
mov eax, dword [0x5b6ffc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x53dd1a
cmp dword [0x5b7000], ecx
je 0x53dd1a
push eax
call esi
push dword [0x5b7000]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x53dd1a
test ebx, ebx
je 0x53dd1a
call edi
test eax, eax
je 0x53dd11
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x53dd11
test byte [ebp - 8], 1
jne 0x53dd1a
or dword [ebp + 0x10], 0x200000
jmp 0x53dd4d
mov eax, dword [0x5b6ff4]
cmp eax, dword [ebp - 0x18]
je 0x53dd4d
push eax
call esi
test eax, eax
je 0x53dd4d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x53dd4d
mov eax, dword [0x5b6ff8]
cmp eax, dword [ebp - 0x18]
je 0x53dd4d
push eax
call esi
test eax, eax
je 0x53dd4d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5b6ff0]
call esi
test eax, eax
je 0x53dd69
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x53dd6b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005232d4
leave
ret