joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421b40
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x421bc5
mov edx, 0xc
imul eax, edx, 0
lea ecx, [ebp + eax - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x421bbb
mov dword [ebp - 0x14], 1
mov edx, 0xc
imul eax, edx, 0
mov dword [ebp + eax - 8], 2
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret

Function at 0x421d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x716f10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x421d84
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 0xc], 1
cmp byte [ebp - 1], 0
jne 0x421d44
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
push 0x716f3c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push str.SOFTWAREMicrosoftInternet_ExplorerMAIN
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x421deb
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [ebp - 2], dl
add dword [ebp - 0x10], 1
cmp byte [ebp - 2], 0
jne 0x421dab
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
push 1
push 0
push str.Start_Page
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x4220e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0041f850
add esp, 0xc
cmp dword [ebp - 0x9c], 5
jne 0x422139
cmp dword [ebp - 0x98], 1
je 0x42214b
cmp dword [ebp - 0x9c], 5
jne 0x422154
cmp dword [ebp - 0x98], 2
jne 0x422154
mov eax, 1
jmp 0x422156
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret

Function at 0x42c910
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x12c], pe_nt_image_headers32
push 0x124
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.0061cde0
add esp, 0xc
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xffffffff
je 0x42c9c8
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x42c9bb
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x42c9bb
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x42c9b9
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x134], ecx
jmp 0x42c9bb
jmp 0x42c97e
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret
Function at 0x42ca50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Reference http user-agent string
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x420], eax
mov eax, 2
mov word [ebp - 0x414], ax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0063c855
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x412], ax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x410], eax
push 0x10
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x42cbb6
mov byte [ebp - 0x404], 0
push 0x3ff
push 0
lea edx, [ebp - 0x403]
push edx
call fcn.0061cde0
add esp, 0xc
push 0x400
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.0061cde0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.GET___HTTP_1.1_r_nAccept:_text_html__application_xhtmlxml__image_jxr____r_nAccept_Language:_en_us_r_nAccept_Encoding:_gzip__deflate_r_nContent_Type:_application_x_www_form_urlencoded__CharsetUTF_8_r_nUser_Agent:_Mozilla_5.0__Android__Linux_armv7l__rv:10.0.1__Gecko_20100101_Firefox_10.0.1_Fennec_10.0.1_r_nHost:__s:_s_r_nConnection:_Keep_Alive_r_n_r_n
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x404]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x428], edx
mov eax, dword [ebp - 0x41c]
mov cl, byte [eax]
mov byte [ebp - 0x415], cl
add dword [ebp - 0x41c], 1
cmp byte [ebp - 0x415], 0
jne 0x42cb3f
mov edx, dword [ebp - 0x41c]
sub edx, dword [ebp - 0x428]
mov dword [ebp - 0x42c], edx
push 0
mov eax, dword [ebp - 0x42c]
add eax, 1
push eax
lea ecx, [ebp - 0x404]
push ecx
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x42cbb6
push 0
push 0x7d0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x424], 1
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret
Function at 0x42cbf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42cc14
xor eax, eax
jmp 0x42cc94
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42cc2b
xor eax, eax
jmp 0x42cc94
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x42cc77
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x42cc77
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x42cc4e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x42cc83
xor eax, eax
jmp 0x42cc94
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x42cc91
xor eax, eax
jmp 0x42cc94
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42d050
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x130], 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0xffffffff
jne 0x42d09c
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x42d1d4
mov dword [ebp - 0x124], 1
lea ecx, [ebp - 0x124]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, 2
mov word [ebp - 0x14], ax
movzx ecx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x120], 0
jmp 0x42d11c
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x118]
jae 0x42d143
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp + ecx*4 - 0x114]
cmp edx, dword [ebp - 0x11c]
jne 0x42d141
jmp 0x42d143
jmp 0x42d10d
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x118]
jne 0x42d17c
cmp dword [ebp - 0x118], 0x40
jae 0x42d17c
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov dword [ebp + ecx*4 - 0x114], edx
mov eax, dword [ebp - 0x118]
add eax, 1
mov dword [ebp - 0x118], eax
xor ecx, ecx
jne 0x42d101
mov dword [ebp - 0x12c], 3
mov dword [ebp - 0x128], 0
lea edx, [ebp - 0x12c]
push edx
push 0
lea eax, [ebp - 0x118]
push eax
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x42d1c5
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x42d1d4
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret
Function at 0x42d4a8
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x697fa7
call fcn.005fb43d
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x18]
mov edi, dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push edi
call fcn.0042da1a
and dword [ebp - 4], 0
mov dword [ebx], vtable.CFtpConnection.0
call fcn.0043124a
push eax
lea ecx, [ebx + 0x18]
call fcn.00407fe0
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.0042cf60
push dword [ebx + 8]
mov eax, dword [ebp + 0x20]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebx + 4], eax
test eax, eax
jne 0x42d52f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx + 8]
call fcn.0042e669
push dword [ebx + 0xc]
mov ecx, 0x767414
push eax
call fcn.004302d6
mov eax, ebx
call fcn.005fb406
ret 0x1c

Function at 0x42dba0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x42dbc9
call fcn.00437d16
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
je 0x42dbf6
push esi
push eax
mov ecx, 0x767414
call fcn.004302d6
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.0042e669
int3

Function at 0x434f70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x434fb6
push 0x6bb9b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x434fc5
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x434fc5
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005fb400
call edi
jmp 0x434fc7
cmp dword [esi + 4], ebx
je 0x434fc5
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x436835
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x436875
push 0x6bb9b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x436884
push str.SetFileAttributesTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x436884
push dword [esi]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005fb400
call edi
jmp 0x436886
cmp dword [esi + 4], 0
je 0x436884
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x43d1fe
Capabilities:
Delete registry key

Disassembly:
push 8
mov eax, 0x6993cf
call fcn.005fb43d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0042cfd0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x43d260
call fcn.00437d64
cmp eax, 1
jne 0x43d260
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0043c495
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004078c0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.004080e0
inc esi
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
push esi
test ecx, ecx
je 0x43d272
call fcn.0043d6ff
jmp 0x43d278
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.004080e0
mov eax, esi
call fcn.005fb406
ret 0xc

Function at 0x43d3c3
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x699450
call fcn.005fb43d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0042cfd0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x43d421
call fcn.00437d64
cmp eax, 1
jne 0x43d421
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0043c495
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004078c0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004080e0
inc esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004080e0
mov eax, esi
call fcn.005fb406
ret 0x10

Function at 0x43d448
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x69947b
call fcn.005fb43d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0042cfd0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x43d4a6
call fcn.00437d64
cmp eax, 1
jne 0x43d4a6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0043c495
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004078c0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004080e0
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004080e0
mov eax, esi
call fcn.005fb406
ret 0x14
Function at 0x440fda
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.00441f70
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x441016
call fcn.00441761
mov dword [esi + 0xc], 1
jmp 0x44101b
call fcn.00441761
cmp dword [esi], 0
je 0x441064
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x44103e
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0042eec9
jmp 0x44104f
push 0xff
mov ecx, esi
call fcn.00407d50
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004300dd
jmp 0x441088
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x441088
push dword [esi]
push dword [ebp - 4]
call fcn.00442f1e
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4415e1
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.00441761
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x441629
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042eec9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004300dd
jmp 0x441634
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00442f1e
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x442472
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x699762
call fcn.005fb43d
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x442498
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4424f7
call fcn.0043124a
push eax
lea ecx, [ebp - 0x10]
call fcn.00407fe0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.005fb400
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0064398a
push eax
call fcn.0042e45d
add esp, 0x14
test esi, esi
je 0x4424ea
push esi
call fcn.00643060
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004080e0
mov eax, ebx
call fcn.005fb406
ret 8
Function at 0x44b362
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 0x44b3a7
call fcn.00437d16
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44b3a7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44b3c3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045be4a
mov ebx, eax
test edi, edi
je 0x44b3c1
test esi, esi
je 0x44b3c1
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 0x44c4e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x44c5a3
cmp dword [esi + 0x20], 0
je 0x44c5a3
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44c5a3
cmp dword [ebp + 8], 0
je 0x44c5a3
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00437d16
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44c574
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44c5a3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0045cdb0
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x44c594
test edi, edi
je 0x44c594
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x44c59f
mov ecx, esi
call fcn.0044c186
mov eax, ebx
jmp 0x44c5a5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45e33c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x45e367
cmp dword [ebx + 0x80], 0
jne 0x45e367
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00437d16
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0045e5f5
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8