joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4458e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x3911
je 0x445902
jmp 0x44597a
push 0x10
push 0
mov edx, dword [ebp - 4]
add edx, 0x70
push edx
call fcn.0042c680
add esp, 0xc
push 0xf
mov eax, dword [ebp - 4]
add eax, 0x70
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x4687fd
mov eax, dword [ebp - 4]
add eax, 0x70
push eax
call fcn.0042f020
add esp, 8
test eax, eax
jne 0x445964
push 0x10
push 0x468800
push 0x46880c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb0]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x44597a
push 0
push 0
push 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x445df0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x474a60]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x218], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x47601c]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.0042c740
add esp, 8
push str.xConsole.ini
lea edx, [ebp - 0x218]
push edx
call fcn.0042c750
add esp, 8
lea eax, [ebp - 0x218]
push eax
push 0x104
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1fc20
push ecx
push str.E:9
push str.path
push 0x4689d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x218]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push str.9j.exe
push str.client
push str.pathset
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x21c]
add edx, 0x1fc20
push edx
push str._s_s
mov eax, dword [ebp - 0x21c]
add eax, 0x1fd24
push eax
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
push 0x10
mov edx, dword [ebp - 0x21c]
add edx, 0x1fe28
push edx
push str.0.95.09.7
push 0x468a0c
push str.version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x446300
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0x9e3779b9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jbe 0x4463db
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
xor eax, ecx
mov edx, dword [ebp - 0x18]
shr edx, 5
add edx, dword [ebp - 0x10]
xor eax, edx
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x14]
xor eax, ecx
mov edx, dword [ebp - 8]
shr edx, 5
add edx, dword [ebp - 0x20]
xor eax, edx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
jmp 0x44637c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x446400
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 0x14], 0xe3779b90
mov dword [ebp - 0x1c], 0x9e3779b9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jbe 0x4464df
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 5
add ecx, dword [ebp - 0x20]
xor edx, ecx
mov eax, dword [ebp - 0x18]
sub eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
shl ecx, 4
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x14]
xor ecx, edx
mov eax, dword [ebp - 0x18]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x44647c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x446ce0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d6bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov eax, dword [0x474a60]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1a8], ecx
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x1a8]
add ecx, 8
call fcn.0043f210
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x1c
call fcn.0043f210
mov byte [ebp - 4], 1
mov word [ebp - 0x10], 0x202
lea ecx, [ebp - 0x1a4]
push ecx
mov dx, word [ebp - 0x10]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xffff
mov ecx, dword [ebp - 0x1a8]
add ecx, 8
call fcn.00407d60
push 0xffff
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x1c
call fcn.00407d60
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042b91e
mov esp, ebp
pop ebp
ret 4
Function at 0x446e00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x446e14
jmp 0x446e65
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 4]
push ecx
push 0xffffff7f
push 0xffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00445190
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.00445190
mov esp, ebp
pop ebp
ret

Function at 0x446ef0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x474a60]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
jne 0x446fe6
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], 0xffffffff
jne 0x446f42
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], 0
mov eax, dword [ebp - 4]
jmp 0x446fe9
mov dword [ebp - 0xc], 1
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0xffff
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 4], eax
mov word [ebp - 0x20], 2
mov cx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x446fac
mov ecx, dword [ebp - 0x24]
call fcn.00446e00
mov eax, dword [ebp - 4]
jmp 0x446fe9
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x446fdf
mov ecx, dword [ebp - 0x24]
call fcn.00446e00
mov eax, dword [ebp - 4]
jmp 0x446fe9
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
call fcn.0042b91e
mov esp, ebp
pop ebp
ret 8
Function at 0x447000
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0043f230
test eax, eax
jle 0x447053
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x447053
push 0
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0043f230
push eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00445120
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00445190
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.0043f230
test eax, eax
jle 0x4470b9
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.0043f230
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.00445120
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.0043f230
cmp dword [ebp - 4], eax
jl 0x4470aa
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.00445190
jmp 0x4470b9
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.00421420
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x44710c
push 0
push 0xffff
mov ecx, dword [ebp - 8]
add ecx, 0x30
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x44710c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.00421480
mov esp, ebp
pop ebp
ret
Function at 0x449210
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10014
call fcn.0042c300
mov eax, dword [0x474a60]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x10014], ecx
mov eax, dword [ebp - 0x10014]
cmp dword [eax + 4], 0xffffffff
je 0x449299
mov byte [ebp - 0x10008], 0
mov ecx, 0x3fff
xor eax, eax
lea edi, [ebp - 0x10007]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0xffff
lea ecx, [ebp - 0x10008]
push ecx
mov edx, dword [ebp - 0x10014]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x1000c], eax
cmp dword [ebp - 0x1000c], 0
jle 0x449299
mov ecx, dword [ebp - 0x1000c]
push ecx
lea edx, [ebp - 0x10008]
push edx
mov ecx, dword [ebp - 0x10014]
add ecx, 8
call fcn.00421480
mov ecx, dword [ebp - 0x10014]
add ecx, 0x1c
call fcn.0043f230
test eax, eax
jle 0x4492f5
mov eax, dword [ebp - 0x10014]
cmp dword [eax + 4], 0xffffffff
je 0x4492f5
push 0
mov ecx, dword [ebp - 0x10014]
add ecx, 0x1c
call fcn.0043f230
push eax
mov ecx, dword [ebp - 0x10014]
add ecx, 0x1c
call fcn.00445120
push eax
mov ecx, dword [ebp - 0x10014]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 0x10014]
add ecx, 0x1c
call fcn.00445190
mov ecx, dword [ebp - 0x10014]
add ecx, 8
call fcn.0043f230
test eax, eax
jle 0x449376
mov ecx, dword [ebp - 0x10014]
add ecx, 8
call fcn.0043f230
push eax
mov ecx, dword [ebp - 0x10014]
add ecx, 8
call fcn.00445120
push eax
mov eax, dword [ebp - 0x10014]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10014]
call dword [edx]
mov dword [ebp - 0x10010], eax
mov ecx, dword [ebp - 0x10014]
add ecx, 8
call fcn.0043f230
cmp dword [ebp - 0x10010], eax
jl 0x449361
mov ecx, dword [ebp - 0x10014]
add ecx, 8
call fcn.00445190
jmp 0x449376
mov eax, dword [ebp - 0x10010]
push eax
mov ecx, dword [ebp - 0x10014]
add ecx, 8
call fcn.00421420
mov ecx, dword [ebp - 0x10014]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10014]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44bdf0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x1c]
or eax, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x34], 0
jne 0x44be0e
mov ecx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp + 0x34], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp + 0x34]
test eax, eax
jne 0x44be41
xor eax, eax
jmp 0x44beb9
cmp dword [ebp + 0x30], 0
je 0x44be5b
mov eax, dword [ebp + 0x30]
push eax
call fcn.0042be00
add esp, 4
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x44be62
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x30]
push edx
call fcn.0044bdd0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0044bec0
add esp, 0x14
test eax, eax
jne 0x44be88
xor eax, eax
jmp 0x44beb9
cmp dword [ebp + 0x2c], 0
je 0x44bea0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x2c]
push eax
call fcn.0042b5b0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
and ecx, 4
test ecx, ecx
jne 0x44beb4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x44c6b5
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x45cca8
call fcn.0042f3d8
sub esp, 0x9c
mov eax, dword [0x474a60]
push ebx
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa8], esi
call fcn.00452aef
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileDialog.0
call fcn.00403f80
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
jne 0x44c746
mov edi, 0x94
push edi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.0042c680
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x44c73f
cmp dword [ebp - 0xa0], 5
mov dword [ebp + 0x20], 0x58
jae 0x44c746
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0042c2e5
cmp eax, ebx
pop ecx
mov dword [esi + 0x70], eax
jne 0x44c75b
call fcn.0044c435
push dword [ebp + 0x20]
push ebx
push eax
call fcn.0042c680
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x74], eax
add esp, 0xc
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x1c0], ebx
lea ecx, [esi + 0x7c]
mov byte [ecx], bl
lea edi, [esi + 0xbc]
mov byte [edi], bl
mov dword [eax], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x70]
mov dword [eax + 0x20], 0x104
mov eax, dword [esi + 0x70]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 0x70]
push 0x40
pop ecx
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x70]
or edx, 0x80020
or dword [eax + 0x34], edx
test byte [ebp + 0x14], cl
je 0x44c7d8
mov eax, dword [esi + 0x70]
and byte [eax + 0x36], 0x7f
call fcn.00458661
cmp dword [ebp + 0x10], ebx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x70]
mov dword [eax + 0x44], 0x44c99d
je 0x44c804
push 0x104
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x18], ebx
je 0x44c83a
push dword [ebp + 0x18]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.00421f41
push ebx
mov ecx, edi
call fcn.00414590
jmp 0x44c823
mov byte [eax], bl
inc eax
push 0x7c
push eax
call fcn.0042f805
cmp eax, ebx
pop ecx
pop ecx
jne 0x44c820
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0042b91e
leave
ret 0x1c
Function at 0x450e59
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 0x450e9c
call fcn.00458661
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x450e9c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x450eb7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0044ffbe
test ebx, ebx
mov esi, eax
je 0x450eb5
test edi, edi
je 0x450eb5
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4517f9
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x45ca5e
call fcn.0042f3d8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x451813
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x45185f
call fcn.00451cfc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040dba0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x452881
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x1c
xor ebx, ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov esi, ecx
call fcn.0042c680
add esp, 0xc
call fcn.00458651
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x452951
cmp dword [ebp - 8], ebx
je 0x45294c
lea ecx, [esi + 0x2c]
push ecx
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x452753
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0042e3fb
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x45295b
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call edi
test byte [ebp + 8], 4
je 0x452924
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [ebp - 4], ebx
je 0x45293e
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
jmp 0x452956
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
inc eax
jmp 0x45295d
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x45295b
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x452964
Capabilities:
Resume thread

Disassembly:
mov eax, 0x45cb3b
call fcn.0042f3d8
push ecx
push esi
push 0x40
call fcn.0044dbce
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor esi, esi
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x452993
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004582f2
mov esi, eax
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
or eax, 4
push eax
mov ecx, esi
call fcn.00452881
test eax, eax
jne 0x4529ba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
xor eax, eax
jmp 0x4529d7
push dword [ebp + 0x10]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test byte [ebp + 0x18], 4
jne 0x4529d5
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x452e9a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x452ed1
call fcn.00458661
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x452ee2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x452f1b
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x452f00
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x452f08
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x452f19
test ax, ax
jne 0x452f19
test si, si
je 0x452f1b
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x452f2a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret