joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b5cc
Capabilities:
Create process on windows

Disassembly:
push 0xc6c
mov eax, 0x59a35b
call fcn.0055da28
sub esp, 0x18
lea eax, [ebp + 8]
xor esi, esi
mov ecx, esp
inc esi
mov dword [ebp - 4], esi
push eax
call fcn.00403e6e
call fcn.0041e4bc
add esp, 0x18
xor edi, edi
test al, al
je 0x42b6d2
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp + 8]
call fcn.00417da5
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
lea edx, [ebp - 0xc20]
cmovae ecx, dword [ebp + 0x20]
call fcn.00417da5
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00403e6e
lea ecx, [ebp - 0xc38]
call fcn.0041eea3
add esp, 0x18
lea ecx, [ebp - 0xc38]
cmp dword [ebp - 0xc24], 0x10
lea edx, [ebp - 0x420]
cmovae ecx, dword [ebp - 0xc38]
call fcn.00417da5
lea eax, [ebp - 0x218]
mov dword [ebp - 0xc74], 0x3c
mov dword [ebp - 0xc64], eax
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xc60], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc74]
push eax
mov dword [ebp - 0xc70], edi
mov dword [ebp - 0xc6c], edi
mov dword [ebp - 0xc68], edi
mov dword [ebp - 0xc58], 5
mov dword [ebp - 0xc54], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push edi
push esi
lea ecx, [ebp - 0xc38]
call fcn.0040412f
push edi
push esi
lea ecx, [ebp + 8]
call fcn.0040412f
push edi
push esi
lea ecx, [ebp + 0x20]
call fcn.0040412f
call fcn.0055d9d7
ret
Function at 0x42d9e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x610490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov dword [ebp - 0x218], eax
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x42da1a
xor eax, eax
jmp 0x42db89
lea eax, [ebp - 0x210]
push eax
push 0x5dede4
push 1
xor eax, eax
push eax
push 0x5df0d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42da13
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5df134
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x42da63
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42da13
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
test esi, esi
jne 0x42da77
push dword [0x61d09c]
jmp 0x42da78
push esi
push eax
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x218]
test edx, edx
je 0x42da93
mov eax, dword [ebp - 0x210]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x210]
xor edx, edx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x42dabb
mov eax, dword [ebp - 0x210]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test edi, edi
je 0x42dad7
push edi
push ebx
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.0055d0e0
add esp, 0x10
jmp 0x42db53
push 0x5c
test esi, esi
je 0x42dae0
push esi
jmp 0x42dae6
push dword [0x61d09c]
call fcn.0055ce6c
pop ecx
pop ecx
test eax, eax
jne 0x42db02
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42da55
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.0055d0e0
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42db23
push 0x6c
sub ecx, edx
sar ecx, 1
pop eax
push 0x6e
mov word [ebp + ecx*2 - 0x212], ax
pop eax
push 0x6b
mov word [ebp + ecx*2 - 0x210], ax
pop eax
mov word [ebp + ecx*2 - 0x20e], ax
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559b09
mov esp, ebp
pop ebp
ret
Function at 0x42dca9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x610490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x230], ebx
mov ecx, ebx
movzx eax, word [ecx + 0x5e65a8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x42dcca
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x42dd02
push 0x5e268d
mov ecx, esi
call fcn.00403e94
jmp 0x42dd77
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42dd32
mov ecx, ebx
movzx eax, word [ecx + 0x5e65a8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x42dd1b
push dword [ebp - 0x22c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x228]
call fcn.00417df7
lea eax, [ebp - 0x228]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.00403f05
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.0040412f
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559b09
mov esp, ebp
pop ebp
ret

Function at 0x42e297
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x130]
sub eax, dword [ecx + 0x134]
cmp eax, 0x28
jl method.AgentAppLink.virtual_0
ret
cmp byte [ecx + 0x61], 0
jne 0x42e2ac
cmp byte [ecx + 0x60], 0
je 0x42e2ac
mov byte [ecx + 0x60], 0
jmp fcn.0042e2ad
ret
Function at 0x42ecea
Capabilities:
Connect socket

Disassembly:
push 0xdc
mov eax, 0x59a9de
call fcn.0055da28
mov esi, ecx
mov ebx, dword [ebp + 8]
and dword [ebp - 0x6c], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00407888
mov byte [ebp - 4], 1
cmp byte [esi + 0x61], 0
je 0x42ed21
mov byte [ebp - 0x68], 0
jmp 0x42eddf
lea ecx, [esi + 0x34]
lea eax, [ebp + 0x10]
cmp ecx, eax
je 0x42ed35
push 0xffffffffffffffff
push 0
push eax
call fcn.0040409b
mov ecx, dword [ebp + 0xc]
lea edi, [ebp - 0x1e]
xor eax, eax
mov word [esi + 0x4c], cx
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
pop eax
push ecx
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp + 0x24], 0x10
mov word [ebp - 0x1e], ax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
mov ecx, esi
lea eax, [ebp - 0xe8]
push eax
call fcn.0042eb1a
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004086e4
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.00405438
cmp byte [ebp - 0x68], 0
je 0x42ee49
lea eax, [ebp - 0xe8]
mov ecx, esi
push eax
call fcn.0042ec81
lea ecx, [ebp - 0xe8]
call fcn.00405438
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
test esi, esi
jne 0x42edf7
mov byte [ebp - 0x68], 1
mov esi, 0x5e268d
push esi
call fcn.004035ea
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.004042b9
jmp 0x42ee49
mov edx, eax
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x9c]
call fcn.00404abc
push eax
mov edx, str.connect_err._lastErr:
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407163
push 0
push 1
lea ecx, [ebp - 0x84]
call fcn.0040412f
push 0
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.0040412f
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.0040d019
lea ecx, [ebp - 0x68]
call fcn.00405438
push 0
push 1
lea ecx, [ebp + 0x10]
call fcn.0040412f
mov eax, ebx
call fcn.0055d9d7
ret 0x20
Function at 0x42ff16
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push 0xa8
mov eax, 0x59aa53
call fcn.0055da28
mov edi, edx
mov esi, ecx
push dword [ebp + 8]
xor ebx, ebx
push ebx
push edi
call fcn.0055dec0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push esi
call fcn.00403e94
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], ebx
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
push eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], 0xc
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x42ff82
or esi, 0xffffffff
jmp 0x4300e5
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ff90
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x2c]
push ebx
sub ecx, edx
cmp dword [ebp - 0x18], 0x10
push ebx
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
push ebx
push 0xfde9
call esi
test eax, eax
jg 0x42ffc2
push 0xfffffffffffffffe
pop esi
jmp 0x4300e5
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push ebx
add eax, 0xa
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x48]
call fcn.00430b0d
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42fff1
push dword [ebp - 0x38]
sub edx, ecx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push edx
push eax
push ebx
push 0xfde9
call esi
test eax, eax
jg 0x430029
push 0xfffffffffffffffd
jmp 0x4300bb
push 0x40
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb4], ebx
xorps xmm0, xmm0
push ebx
push eax
movdqu xmmword [ebp - 0x6c], xmm0
call fcn.0055dec0
add esp, 0xc
mov dword [ebp - 0x88], 0x101
lea ecx, [ebp - 0x6c]
xor eax, eax
cmp dword [ebp - 0x34], 8
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x74], eax
push ecx
push ebx
push ebx
push ebx
push 1
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x430092
push 0xfffffffffffffffc
jmp 0x4300bb
push 0xfa0
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
push eax
push dword [ebp + 8]
push edi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4300be
push 0xfffffffffffffffb
pop esi
jmp 0x4300da
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x68]
call esi
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00430b3b
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040412f
mov eax, esi
call fcn.0055d9d7
ret
Function at 0x4317e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x4317f5
cmp byte [ecx + 0x2c], 0
je 0x4317f5
mov byte [ecx + 0x2c], 0
jmp fcn.004317f6
ret
Function at 0x4317f6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59acc2
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x610490]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x610490]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2d], 0
jne 0x431a40
cmp byte [esi + 0x2c], 0
jne 0x431a40
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x4c], 0x10
mov word [esp + 0x52], ax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [esi + 0x7c]
push dword [esi + 0x80]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
push dword [esp + 0x54]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [esp + 0x52]
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esp + 0x18], eax
test edi, edi
js 0x4318c3
push eax
push ebx
push edi
push dword [esi + 0x80]
push esi
call dword [esi + 4]
add esp, 0x14
jmp 0x431a36
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2746
jne 0x431977
lea ecx, [esp + 0x60]
call fcn.00404ee2
and dword [esp + 0xb8], 0
lea ecx, [esp + 0x34]
xor ebx, ebx
mov byte [esp + 0x68], 0
mov edx, edi
inc ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
call fcn.00404abc
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], bl
lea ecx, [esp + 0x20]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00407163
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.0040412f
push 0
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], 0
call fcn.0040412f
cmp byte [esi + 0x2d], 0
jne 0x43196e
cmp dword [esi + 8], 0
je 0x43196e
push dword [esp + 0x18]
lea eax, [esp + 0x64]
push dword [esp + 0x14]
sub esp, 0x24
mov ecx, esp
push eax
call fcn.0040540c
push esi
call dword [esi + 8]
add esp, 0x30
lea ecx, [esp + 0x6c]
jmp 0x431a2e
cmp edi, 0x2733
je 0x431a36
lea ecx, [esp + 0x84]
call fcn.00404ee2
mov dword [esp + 0xb8], 2
lea ecx, [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x88], edi
inc ebx
mov edx, edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x8c], bl
call fcn.00404abc
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], 3
lea ecx, [esp + 0x38]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00407163
push 0
push ebx
lea ecx, [esp + 0x3c]
call fcn.0040412f
push 0
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 2
call fcn.0040412f
cmp byte [esi + 0x2d], 0
jne 0x431a27
cmp dword [esi + 0xc], 0
je 0x431a27
sub esp, 0x24
lea eax, [esp + 0xa8]
mov ecx, esp
push eax
call fcn.0040540c
push esi
call dword [esi + 0xc]
add esp, 0x28
lea ecx, [esp + 0x90]
push 0
push ebx
call fcn.0040412f
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00559b09
mov esp, ebp
pop ebp
ret
Function at 0x431a64
Capabilities:
Send data
Send data on socket

Disassembly:
push 0x74
mov eax, 0x59ad00
call fcn.0055da28
mov esi, ecx
cmp byte [esi + 0x2d], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
jne 0x431bad
lea eax, [esi + 0x4c]
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 2
pop eax
push dword [ebp + 0x14]
mov word [ebp - 0x24], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x10]
mov word [ebp - 0x22], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 0xc]
push ebx
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x431ba4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x431b20
xor ebx, ebx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x4c]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x431ba4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x431b20
inc ebx
cmp ebx, 0xa
jl 0x431ade
jmp 0x431ba4
lea ecx, [ebp - 0x48]
call fcn.00404ee2
xor ebx, ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], ebx
mov edx, edi
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x40], 1
call fcn.00404abc
push eax
mov edx, str.sendto_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00407163
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0040412f
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.0040412f
cmp byte [esi + 0x2d], bl
jne 0x431b99
cmp dword [esi + 0xc], ebx
je 0x431b99
sub esp, 0x24
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0040540c
push esi
call dword [esi + 0xc]
add esp, 0x28
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040412f
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0055d9d7
ret 0x10

Function at 0x44123c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x441281
call fcn.0044bb17
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x441281
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44129d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044bcb0
mov ebx, eax
test edi, edi
je 0x44129b
test esi, esi
je 0x44129b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x447577
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 esi, esi
call fcn.0044bb17
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4475ae
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004475cf
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c2570
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0044af8c
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4c25ac
call fcn.004c278f
mov dword [esi + 0xc], 1
jmp 0x4c25b1
call fcn.004c278f
cmp dword [esi], 0
je 0x4c25fa
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4c25d4
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00441311
jmp 0x4c25e5
push 0xff
mov ecx, esi
call fcn.004095fc
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0043f171
jmp 0x4c261e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4c261e
push dword [esi]
push dword [ebp - 4]
call fcn.0044e685
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4c26e4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004c278f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4c272c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00441311
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0043f171
jmp 0x4c2737
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0044e685
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x524cc7
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0055589d
call fcn.0044bb6b
cmp dword [eax + 0x14], 0
jne 0x524ce2
mov ecx, esi
pop esi
jmp fcn.005240cd
pop esi
ret

Function at 0x5314a0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00404abb
call fcn.0044bb6b
cmp dword [eax + 0x14], 0
jne 0x5314bb
mov ecx, esi
pop esi
jmp fcn.00530d86
pop esi
ret
Function at 0x571c95
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x610490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0056428f
mov dword [ebp - 0x14], eax
cmp dword [0x61dca8], esi
jne 0x571d88
push 0x800
push esi
push 0x5daf10
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x571d15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x571e68
push esi
push esi
push 0x5daf10
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x571e68
push 0x5daf28
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x571e68
push eax
call ebx
push 0x5daf34
push edi
mov dword [0x61dca8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5daf44
push edi
mov dword [0x61dcac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x61dcb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x61dcb8], eax
test eax, eax
je 0x571d85
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x61dcb4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x571dad
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x571da0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x571dc2
push 4
pop eax
jmp 0x571e6a
cmp dword [ebp - 0x14], esi
je 0x571dc2
push dword [0x61dca8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x571da7
mov eax, dword [0x61dcb4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x571e20
cmp dword [0x61dcb8], edi
je 0x571e20
push eax
call ebx
push dword [0x61dcb8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x571e20
test eax, eax
je 0x571e20
call ecx
test eax, eax
je 0x571e15
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x571e15
test byte [ebp - 8], 1
jne 0x571e20
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x571e50
mov eax, dword [0x61dcac]
cmp eax, edi
je 0x571e4d
push eax
call ebx
test eax, eax
je 0x571e4d
call eax
mov esi, eax
test esi, esi
je 0x571e4d
mov eax, dword [0x61dcb0]
cmp eax, edi
je 0x571e4d
push eax
call ebx
test eax, eax
je 0x571e4d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x61dca8]
call ebx
test eax, eax
je 0x571e68
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x571e6a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559b09
mov esp, ebp
pop ebp
ret
Function at 0x581b0b
Capabilities:
Create thread

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