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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x446b47
add esp, 0xfffffff0
call fcn.00403140
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004148d4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40da34]
call fcn.00402e10
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40da34]
call fcn.00402e10
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 [0x41672c]
call fcn.0041d830
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x446cbc
mov eax, dword [0x457d54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041dc00
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4486e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457d54]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA_1
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.0040b33c
test eax, eax
je 0x446c3a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004085f8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b364
test eax, eax
je 0x446c4e
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.00403d7c
mov eax, dword [0x457c44]
cmp byte [eax], 0
jne 0x446c7f
mov eax, ebx
call fcn.00446da8
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 0x446cb1
call fcn.00403198
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447018
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4597d0]
cmp dword [eax + 0x24], 0
je 0x4470bb
cmp dword [ebx + 0x84], 0
jne 0x4470b5
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x446fa8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x4470b5
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 0x44707e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4470b5
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.0040f2d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44708d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x447ac8
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 0x447afd
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.00403c34
jmp 0x447b07
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403ba0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x448a54
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x448a8c
mov eax, esi
call fcn.0042ffec
test al, al
je 0x448a8c
mov eax, dword [ebx + 0x74]
call fcn.0042fcf0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x448a8c
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042fcf0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44b3ac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0044b010
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403f90
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x44b40a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x457e3c]
mov dl, 1
mov eax, dword [0x44af08]
call fcn.0040a7a8
call fcn.00403598
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44b414
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403f90
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x44b46c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x458028]
mov dl, 1
mov eax, dword [0x44af08]
call fcn.0040a7a8
call fcn.00403598
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044b040
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44b6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x44b733
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403b4c
mov eax, dword [ebp - 4]
call fcn.00403dcc
test al, al
jbe 0x44b71d
mov byte [ebp - 9], al
mov bl, 1
lea eax, [ebp - 0x10]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.00403cf4
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00403dd4
xor eax, eax
mov al, bl
mov edx, dword [edi]
movzx eax, byte [edx + eax - 1]
add esi, eax
imul esi, dword [ebp - 8]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 9]
jne 0x44b6df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b73a
lea eax, [ebp - 0x10]
call fcn.00403b4c
ret
Function at 0x44b744
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x44b7f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00403b4c
xor eax, eax
push ebp
push 0x44b7d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403dcc
test al, al
jbe 0x44b7ca
mov byte [ebp - 5], al
mov bl, 1
lea eax, [ebp - 0xc]
xor edx, edx
mov dl, bl
mov dl, byte [edi + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.00403cf4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.00403dd4
mov eax, dword [ebp + 8]
xor eax, eax
mov al, bl
movzx eax, byte [edi + eax - 1]
add esi, eax
imul esi, dword [ebp - 4]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 5]
jne 0x44b78d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b7de
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b7fb
lea eax, [ebp - 0xc]
call fcn.00403b4c
ret

Function at 0x44cc80
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403f80
xor eax, eax
push ebp
push 0x44ccfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403f90
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x44ccc9
mov eax, dword [ebx + 4]
call fcn.00403f90
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd05
lea eax, [ebp - 4]
call fcn.00403b4c
ret
Function at 0x44dca0
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44de37
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.0040293c
cmp word [ebx + 0x9a], 0
je 0x44dce9
mov edx, ebx
mov eax, dword [ebx + 0x9c]
call dword [ebx + 0x98]
mov eax, dword [ebx + 0x88]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x44dcfd
lea esi, [ebp - 8]
jmp 0x44dcff
xor esi, esi
cmp dword [ebx + 0x78], 0
jne 0x44dd09
xor edi, edi
jmp 0x44dd13
mov eax, dword [ebx + 0x78]
call fcn.00403f90
mov edi, eax
mov eax, dword [ebx + 0x74]
call fcn.00403f90
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0044d434
mov eax, dword [ebp - 0x14]
call fcn.00403f90
push eax
push esi
mov eax, dword [ebx + 0x6c]
call fcn.00403f90
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403f90
push eax
mov eax, ebx
call fcn.0044d568
push eax
mov eax, ebx
call fcn.0044d53c
push eax
mov eax, ebx
call fcn.0044d4f0
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0044d308
mov eax, dword [ebp - 0x18]
call fcn.00403f90
push eax
mov eax, dword [ebx + 8]
call fcn.00403f90
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x88], eax
cmp dword [ebp - 0xc], 0
jne 0x44dd9c
call fcn.0040b8fc
xor edx, edx
push ebp
push 0x44de15
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x44ddda
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xa2], 0
je 0x44ddd0
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44ddfe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44de1c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x44de48
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xaa], 0
je 0x44de74
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xac]
call dword [esi + 0xa8]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00403f90
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44de99
call fcn.0040b8fc
xor eax, eax
push ebp
push 0x44ded0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x44deb9
call fcn.0040b8fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ded7
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x44f058
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 0x44f0e1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4598bc
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x44f0cb
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00409e70
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, 0x44f0f8
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x457f34]
mov dl, 1
mov eax, dword [0x44e914]
call fcn.0040a7a8
call fcn.00403598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f0e8
lea eax, [ebp - 0x1c]
call fcn.00403b4c
ret

Function at 0x44f750
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0044f674
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.0040301c
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x44f7b4
call fcn.0044efa0
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x44f7a6
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.0040301c
pop esi
pop ebx
ret

Function at 0x44f7d8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00403f90
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402b1c
test ebx, ebx
je 0x44f823
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 0x44f900
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 0x44f931
mov ecx, dword [0x457e74]
mov dl, 1
mov eax, dword [0x44e914]
call fcn.0040a76c
call fcn.00403598
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 0x44f95e
mov ecx, dword [0x457e24]
mov dl, 1
mov eax, dword [0x44e914]
call fcn.0040a76c
call fcn.00403598
xor eax, eax
push ebp
push 0x44f9dd
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.0040301c
cmp byte [ebp + 8], 0
je 0x44f9b9
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.0044f868
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.0044f750
jmp 0x44f9d3
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.0044f28c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f9fa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44fbdc
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.0044f50c
xor edx, edx
push ebp
push 0x44fd3c
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 0x44fd26
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x44fc26
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44fc30
call fcn.00403638
jmp 0x44fd43
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041149c
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 0x44fd1b
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 0x44fcd9
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x44fcc9
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.0040301c
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.0044fb94
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x44fd4c]
cmp dl, byte [eax + 0x28]
je 0x44fd22
call fcn.0040a654
jmp 0x44fd22
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004114ac
jmp 0x44fd22
cmp eax, ebx
jge 0x44fcf2
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004114ac
jmp 0x44fc30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041149c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004114b8
cmp ebx, eax
jne 0x44fc30
push ebp
call fcn.0044fb94
pop ecx
jmp 0x44fd22
push ebp
call fcn.0044fb94
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fd43
mov eax, dword [ebp - 4]
call fcn.0044f518
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fd50
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 0x44fe72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044f50c
xor eax, eax
push ebp
push 0x44fe55
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 0x44fda0
call fcn.00403638
jmp 0x44fe5c
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 0x44fe3f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44fe3f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.0040301c
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 0x44fe3f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00409e70
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, 0x44fe8c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x457f34]
mov dl, 1
mov eax, dword [0x44e914]
call fcn.0040a7a8
call fcn.00403598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe5c
mov eax, dword [ebp - 4]
call fcn.0044f518
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe79
lea eax, [ebp - 0x28]
call fcn.00403b4c
ret
Function at 0x450d50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov ebx, eax
mov eax, 0x10000
call fcn.0040270c
mov dword [ebx + 0x2dc], eax
mov edi, ebp
test edi, edi
jle 0x450d8c
mov esi, 1
mov eax, ebp
dec eax
call fcn.00402b3c
inc eax
mov edx, dword [ebx + 0x2dc]
mov word [edx + esi*2 - 2], ax
inc esi
dec edi
jne 0x450d74
mov esi, ebp
cmp esi, 1
jl 0x450e00
mov eax, dword [ebx + 0x2dc]
movzx eax, word [eax + esi*2 - 2]
mov ecx, dword [ebx + 0x2d4]
mov al, byte [ecx + eax - 1]
mov edx, dword [ebx + 0x2d4]
cmp al, byte [edx + esi - 1]
je 0x450dfb
mov ecx, dword [ebx + 0x2dc]
movzx ecx, word [ecx + esi*2 - 2]
mov edi, dword [ebx + 0x2d4]
xor byte [edx + esi - 1], al
mov edx, dword [ebx + 0x2dc]
movzx edx, word [edx + esi*2 - 2]
mov eax, dword [ebx + 0x2d4]
mov cl, byte [eax + esi - 1]
xor byte [eax + edx - 1], cl
mov edx, dword [ebx + 0x2dc]
movzx edx, word [edx + esi*2 - 2]
mov eax, dword [ebx + 0x2d4]
mov dl, byte [eax + edx - 1]
xor byte [eax + esi - 1], dl
dec esi
test esi, esi
jne 0x450d93
mov edx, 0x10000
mov eax, dword [ebx + 0x2dc]
call fcn.00402724
mov edi, ebp
test edi, edi
jle 0x450e88
mov esi, 1
mov eax, dword [ebx + 0x2d4]
mov dl, byte [eax + esi - 1]
mov byte [eax + esi - 1], dl
mov eax, dword [ebx + 0x2d4]
mov al, byte [eax + esi - 1]
mov byte [esp], al
mov al, byte [ebx + 0x37]
xor al, byte [ebx + 0x36]
xor al, byte [ebx + 0x35]
xor al, byte [ebx + 0x34]
mov byte [esp + 1], al
mov eax, 0xff
call fcn.00402b3c
mov edx, dword [ebx + 0x2d4]
mov dl, byte [edx + esi - 1]
xor dl, byte [esp + 1]
xor al, dl
mov edx, dword [ebx + 0x2d4]
mov byte [edx + esi - 1], al
xor eax, eax
mov al, byte [esp]
add eax, dword [ebx + 0x34]
add eax, dword [ebx + 0x30]
imul dword [ebx + 0x2ec]
add eax, dword [ebx + 0x2f0]
mov dword [ebx + 0x34], eax
inc esi
dec edi
jne 0x450e1b
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x453190
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4532f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40deb0]
call fcn.00402e10
mov dword [ebp - 4], eax
call sub.user32.dll_GetDesktopWindow
push 5
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
mov eax, 0xc8
call fcn.0040270c
mov esi, eax
test ebx, ebx
jbe 0x453225
push 0xc8
push esi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00403d04
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040805c
cmp dword [ebp - 0x10], 0
je 0x453217
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00403d04
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
ja 0x4531db
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4532ca
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4532ca
inc ebx
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0xc]
call fcn.00407e88
mov edx, dword [ebp - 0xc]
mov eax, 0x45330c
call fcn.004040b8
test eax, eax
je 0x453297
mov eax, dword [ebp - 0xc]
call fcn.00403f90
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
jmp 0x4532c4
mov edx, dword [ebp - 0xc]
mov eax, 0x453328
call fcn.004040b8
test eax, eax
je 0x4532c4
mov eax, dword [ebp - 0xc]
call fcn.00403f90
push eax
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_PostMessageA
inc dword [ebp - 8]
dec ebx
jne 0x45324f
mov eax, esi
call fcn.00402724
mov eax, dword [ebp - 4]
call fcn.00402e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4532fb
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00403b70
ret

Function at 0x45342c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4534b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xc8
call fcn.0040270c
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
mov esi, eax
push 0xc8
push ebx
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403d04
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00407e88
mov edx, dword [ebp - 4]
mov eax, 0x4534cc
call fcn.004040b8
dec eax
jle 0x453493
push 0
push 0
push 0x10
push esi
call sub.user32.dll_PostMessageA
mov eax, ebx
call fcn.00402724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4534bc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403b70
ret