joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449eec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449f03
add esp, 0xfffffff0
call fcn.0040310c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00412fd4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40cbbc]
call fcn.00402ddc
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40cbbc]
call fcn.00402ddc
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x414ecc]
call fcn.0041c908
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44a078
mov eax, dword [0x46d1c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041ccd8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44baa8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46d1c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a424
test eax, eax
je 0x449ff6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408910
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a44c
test eax, eax
je 0x44a00a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d48
mov eax, dword [0x46d088]
cmp byte [eax], 0
jne 0x44a03b
mov eax, ebx
call fcn.0044a164
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a06d
call fcn.00403164
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a3d4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46e7d8]
cmp dword [eax + 0x24], 0
je 0x44a477
cmp dword [ebx + 0x84], 0
jne 0x44a471
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a364
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44a471
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44a43a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a471
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040e2dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a449
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44ae84
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44aeb9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c00
jmp 0x44aec3
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b6c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44be1c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44be54
mov eax, esi
call fcn.0043341c
test al, al
je 0x44be54
mov eax, dword [ebx + 0x74]
call fcn.00433120
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44be54
push 0
mov eax, dword [ebx + 0x74]
call fcn.00433120
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4524e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x452569
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46e860
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x452553
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.004090b4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x452580
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x46d398]
mov dl, 1
mov eax, dword [0x451654]
call fcn.004099f8
call fcn.00403564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452570
lea eax, [ebp - 0x1c]
call fcn.00403b18
ret

Function at 0x452bfc
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00452b20
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00402fe8
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x452c60
call fcn.00452428
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x452c52
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00402fe8
pop esi
pop ebx
ret

Function at 0x452d2c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00403f5c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402b20
test ebx, ebx
je 0x452d77
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x452e54
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x452e85
mov ecx, dword [0x46d468]
mov dl, 1
mov eax, dword [0x451654]
call fcn.004099bc
call fcn.00403564
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x452eb2
mov ecx, dword [0x46d298]
mov dl, 1
mov eax, dword [0x451654]
call fcn.004099bc
call fcn.00403564
xor eax, eax
push ebp
push 0x452f36
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00402fe8
cmp byte [ebp + 8], 0
je 0x452f10
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00452dbc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00452b7c
jmp 0x452f2c
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00452714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452f53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x452f5c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x452f8d
mov ecx, dword [0x46d2e8]
mov dl, 1
mov eax, dword [0x451654]
call fcn.004099bc
call fcn.00403564
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x452fba
mov ecx, dword [0x46d298]
mov dl, 1
mov eax, dword [0x451654]
call fcn.004099bc
call fcn.00403564
xor eax, eax
push ebp
push 0x453039
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00402fe8
cmp byte [ebp + 8], 0
je 0x453015
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00452dbc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00452bfc
jmp 0x45302f
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00452714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x453056
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x453238
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004529a0
xor edx, edx
push ebp
push 0x453398
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x453382
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x453282
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45328c
call fcn.00403604
jmp 0x45339f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040fc78
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 4]
mov ebx, eax
test ebx, ebx
jle 0x453377
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
cmp eax, 0xffffffff
jne 0x453335
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x453325
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402fe8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004531f0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4533a8]
cmp dl, byte [eax + 0x28]
je 0x45337e
call fcn.00409898
jmp 0x45337e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0040fc88
jmp 0x45337e
cmp eax, ebx
jge 0x45334e
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040fc88
jmp 0x45328c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040fc78
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040fc94
cmp ebx, eax
jne 0x45328c
push ebp
call fcn.004531f0
pop ecx
jmp 0x45337e
push ebp
call fcn.004531f0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45339f
mov eax, dword [ebp - 4]
call fcn.004529ac
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4533ac
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4534ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004529a0
xor eax, eax
push ebp
push 0x4534b1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4533fc
call fcn.00403604
jmp 0x4534b8
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45349b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45349b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402fe8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45349b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004090b4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4534e8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x46d398]
mov dl, 1
mov eax, dword [0x451654]
call fcn.004099f8
call fcn.00403564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4534b8
mov eax, dword [ebp - 4]
call fcn.004529ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4534d5
lea eax, [ebp - 0x28]
call fcn.00403b18
ret
Function at 0x453534
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45367e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004529a0
xor eax, eax
push ebp
push 0x453661
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x453599
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x453599
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x45364b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4535ac
call fcn.00403604
jmp 0x453668
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45364b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45364b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402fe8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45364b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004090b4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x453698
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x46d398]
mov dl, 1
mov eax, dword [0x451654]
call fcn.004099f8
call fcn.00403564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453668
mov eax, dword [ebp - 4]
call fcn.004529ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453685
lea eax, [ebp - 0x28]
call fcn.00403b18
ret
Function at 0x466bf4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402b20
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x46d480]
cmp byte [edx + 8], 0
je 0x466c58
mov edx, dword [0x46d478]
cmp dword [edx], 2
jne 0x466c58
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x466c5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x466d14
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00466bf4
test al, al
je 0x466cf6
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403c00
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x466cf6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f5c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00403f5c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403cd0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x466caf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466d1b
lea eax, [ebp - 0x2c]
call fcn.00403b18
lea eax, [ebp - 0xc]
call fcn.00403b18
ret
Function at 0x46a28c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x46a295
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403f4c
xor eax, eax
push ebp
push 0x46a3ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00403f5c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46a3cb
mov eax, ebx
call fcn.00402784
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46a3c4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46a3fc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov ebx, eax
shr ebx, 0x10
mov esi, eax
and esi, 0xffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edi, eax
shr edi, 0x10
and eax, 0xffff
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00408534
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004083b4
push dword [ebp - 0x20]
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.00408534
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004083b4
push dword [ebp - 0x28]
lea edx, [ebp - 0x34]
mov eax, edi
call fcn.00408534
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004083b4
push dword [ebp - 0x30]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
call fcn.00408534
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004083b4
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a3cb
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040279c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a3f5
lea eax, [ebp - 0x3c]
mov edx, 8
call fcn.00403b3c
lea eax, [ebp - 4]
call fcn.00403b18
ret
Function at 0x46b774
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x46b564
call fcn.0040669c
xor eax, eax
push ebp
push 0x46b88a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x46d320]
mov eax, dword [eax]
call fcn.0044b2c8
mov eax, dword [0x46d320]
mov eax, dword [eax]
mov edx, 0x46b8a0
call fcn.0044aecc
push 0x46b8b4
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x46b842
mov ecx, dword [0x46d414]
mov eax, dword [0x46d320]
mov eax, dword [eax]
mov edx, dword [0x468680]
call fcn.0044b2e0
mov ecx, dword [0x46d438]
mov eax, dword [0x46d320]
mov eax, dword [eax]
mov edx, dword [0x467c1c]
call fcn.0044b2e0
mov eax, dword [0x46d438]
mov eax, dword [eax]
call fcn.0044828c
mov eax, dword [0x46d438]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x80]
mov ecx, dword [0x46d238]
mov eax, dword [0x46d320]
mov eax, dword [eax]
mov edx, dword [0x46a684]
call fcn.0044b2e0
mov eax, dword [0x46d320]
mov eax, dword [eax]
call fcn.0044b360
jmp 0x46b86e
push 0x40
lea edx, [ebp - 0x10]
mov eax, dword [0x46d320]
mov eax, dword [eax]
call fcn.0044ae84
mov eax, dword [ebp - 0x10]
call fcn.00403f5c
mov ecx, eax
mov edx, 0x46b8bc
mov eax, dword [0x46d320]
mov eax, dword [eax]
call fcn.0044b4b8
push ebx
call sub.kernel32.dll_ReleaseMutex
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b891
lea eax, [ebp - 0x10]
call fcn.00403b18
ret
Function at 0x10001000
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x30c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1000111f
pop ecx
lea eax, [ebp - 0x30c]
pop ecx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x1000111b
lea eax, [ebp - 0x108]
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [ebp - 4], ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x100010f8
push esi
xor esi, esi
mov dword [ebp + 0xc], 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.10001156
cmp dword [ebp - 4], ebx
pop ecx
pop ecx
jne 0x100010a9
cmp al, 0xa
je 0x1000109c
cmp al, 0xd
je 0x1000109c
mov byte [ebp + esi - 0x208], al
mov dword [ebp + 0xc], ebx
inc esi
jmp 0x100010a1
cmp dword [ebp + 0xc], ebx
je 0x100010a9
cmp esi, 0xff
jb 0x10001074
cmp esi, ebx
je 0x100010ee
lea eax, [ebp - 0x208]
mov byte [ebp + esi - 0x208], bl
push eax
push ebx
push 0x143
push dword [ebp + 8]
call edi
cmp byte [ebp - 0x108], bl
je 0x100010ee
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x100010ee
mov byte [ebp - 0x108], bl
cmp dword [ebp - 4], ebx
je 0x1000106b
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x108], bl
je 0x1000111b
lea eax, [ebp - 0x108]
push eax
push ebx
push 0x143
push dword [ebp + 8]
call edi
pop edi
pop ebx
leave
ret
Function at 0x1000118c
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor ebx, ebx
cmp byte [ebp - 0x20c], bl
je 0x100012c8
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov edi, 0x146
push ebx
push edi
push dword [ebp + 8]
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jbe 0x10001215
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
push 0x148
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x100012c8
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100011d8
lea eax, [ebp - 0x20c]
push eax
push ebx
push 0x143
push dword [ebp + 8]
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push eax
call fcn.1000111f
pop ecx
lea eax, [ebp - 0x310]
pop ecx
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x100012c8
push ebx
push ebx
push edi
push dword [ebp + 8]
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jbe 0x100012bf
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
push 0x148
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 0xc]
call edi
lea eax, [ebp - 0xc]
push ebx
push eax
push 2
push 0x10021040
push dword [ebp + 0xc]
call edi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10001270
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret