joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f28c
Capabilities:
Send data
Send data on socket

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 - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x42f321
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp byte [ebx + 0x24], 0
je 0x42f30b
push 0
mov eax, dword [ebp - 4]
push eax
push edx
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x42f30b
call sub.wsock32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x42f30b
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test edi, edi
je 0x42f30b
push 0
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0040e22c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42f33c
mov eax, ebx
call fcn.0042ee44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f328
lea eax, [ebp - 0x10]
call fcn.00404dc4
ret

Function at 0x42f40c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42f4c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
jne 0x42f452
cmp byte [ebx + 0x24], 0
je 0x42f452
lea eax, [ebp - 4]
push eax
push 0x4004667f
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x42f4ad
cmp byte [ebx + 0x24], 0
je 0x42f4ad
push 0
push esi
push edi
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42f4ad
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
cmp esi, 0x2733
je 0x42f4ad
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test esi, esi
je 0x42f4ad
push 0
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0040e22c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42f4dc
mov eax, ebx
call fcn.0042ee44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f4ca
lea eax, [ebp - 0x10]
call fcn.00404dc4
ret
Function at 0x42f918
Capabilities:
Get graphical window text
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x42fa7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41a9c8]
call fcn.00403e44
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x42fa8c
call sub.user32.dll_OemToCharA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42fa53
xor edx, edx
push ebp
push 0x42fa4c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x42fa9c
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowTextA
mov ebx, eax
test ebx, ebx
je 0x42fa35
lea eax, [ebp - 0x10]
push eax
push 0
call ebx
cmp eax, 0x6f
jne 0x42fa35
mov eax, dword [ebp - 0x10]
call fcn.00402b6c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x42fa2e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call ebx
test eax, eax
jne 0x42fa18
mov ebx, dword [ebp - 0xc]
push ebp
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x110]
mov ecx, 0x10
call fcn.00405034
mov eax, dword [ebp - 0x18]
call fcn.0042f8f4
pop ecx
mov eax, dword [ebx + 0x10c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42fa18
push ebp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, 4
mov ecx, 0x10
call fcn.00405034
mov eax, dword [ebp - 0x1c]
call fcn.0042f8f4
pop ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42f9ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fa35
mov eax, dword [ebp - 0xc]
call fcn.00402b9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fa53
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetKeyboardLayoutList
ret
push ebp
mov eax, 0x42fab8
call fcn.0042f8f4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fa81
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404de8
ret

Function at 0x435858
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x435878
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x435866
pop edi
pop esi
pop ebx
ret
Function at 0x43616c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403694
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.00403694
mov dword [ebp - 0x50], 0x67452301
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
mov eax, ebx
shr eax, 0x1d
add dword [ebp - 0x5c], eax
mov eax, ebx
shl eax, 3
add dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x60]
jbe 0x4361dd
inc dword [ebp - 0x5c]
mov dword [ebp - 0x64], esi
test ebx, ebx
jbe 0x436231
mov esi, pe_nt_image_headers32
sub esi, dword [ebp - 0x54]
cmp esi, ebx
ja 0x436217
mov ecx, esi
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
call fcn.00402e6c
mov edi, pe_nt_image_headers32
sub edi, dword [ebp - 0x54]
sub ebx, edi
add dword [ebp - 0x64], edi
push ebp
call fcn.004358b0
pop ecx
jmp 0x43622d
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
mov ecx, ebx
call fcn.00402e6c
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x4361e4
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x436246
push ebp
call fcn.004358b0
pop ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
push ebp
call fcn.004358b0
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00402e6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436274
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.0043587c
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0043587c
mov esi, eax
xor eax, eax
mov ecx, dword [0x54b160]
mov edx, dword [0x54b164]
mov dword [esp + 4], edx
mov edx, dword [0x54b168]
mov dword [esp + 8], edx
mov edx, dword [0x54b16c]
mov dword [esp + 0xc], edx
mov edx, 0x20
add eax, 0x9e3779b9
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
add ebx, edi
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
add esi, edi
dec edx
jne 0x4362c0
mov eax, ebx
call fcn.0043587c
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0043587c
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x436324
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.0043587c
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0043587c
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x54b160]
mov edx, dword [0x54b164]
mov dword [esp + 4], edx
mov edx, dword [0x54b168]
mov dword [esp + 8], edx
mov edx, dword [0x54b16c]
mov dword [esp + 0xc], edx
mov edx, 0x20
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
sub esi, edi
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
sub ebx, edi
sub eax, 0x9e3779b9
dec edx
jne 0x436373
mov eax, ebx
call fcn.0043587c
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0043587c
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4365a8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov esi, dword [eax]
mov edi, dword [ecx]
mov eax, ebx
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
lea ecx, [0x5448a8]
xor eax, eax
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 4], 0
je 0x43660f
lodsw ax, word [esi]
mov bl, al
shr bl, 2
mov dl, byte [ebx + ecx]
mov bh, ah
and bh, 0xf
rol ax, 4
and ax, 0x3f
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
lodsb al, byte [esi]
mov bl, al
shr bx, 6
mov dl, byte [ebx + ecx]
and al, 0x3f
xor ah, ah
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
dec dword [ebp - 4]
jne 0x4365d5
cmp dword [ebp - 8], 0
je 0x43665f
xor eax, eax
xor ebx, ebx
xor edx, edx
lodsb al, byte [esi]
shl ax, 6
mov bl, ah
mov dl, byte [ebx + ecx]
dec dword [ebp - 8]
je 0x43664a
shl ax, 2
and ah, 3
lodsb al, byte [esi]
shl ax, 4
mov bl, ah
mov dh, byte [ebx + ecx]
shl edx, 0x10
shr al, 2
mov bl, al
mov dl, byte [ebx + ecx]
mov dh, 0x3d
jmp 0x436659
shr al, 2
mov bl, al
mov dh, byte [ebx + ecx]
shl edx, 0x10
mov dh, 0x3d
mov dl, 0x3d
mov eax, edx
ror eax, 0x10
stosd dword es:[edi], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x43680c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x43681b
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x5448e8], 0
jne 0x436829
call fcn.004367b0
or eax, 0xffffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x54b178]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x43682c
xor eax, 0xffffffff
pop esi
pop ebx
ret
Function at 0x43f88c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
push 0x43f8d4
call sub.user32.dll_GetWindowRect
mov ebx, eax
push 0x43f8e4
push ebx
call sub.user32.dll_GetWindowTextA
mov esi, eax
mov dword [esp], esi
test esi, esi
je 0x43f8b6
call dword [esp]
jmp 0x43f8cc
push 0x43f8f8
push ebx
call sub.user32.dll_GetWindowTextA
mov dword [esp + 4], eax
cmp ebx, dword [esp + 4]
seta al
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x441218
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x548ba4]
mov dl, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x43e208]
call fcn.00440f4c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4412e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00440fc4
test al, al
je 0x4412d2
cmp word [ebp - 4], 0x5a4d
jne 0x4412d2
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.004201f4
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00440fc4
test al, al
je 0x4412d2
cmp dword [ebp - 8], 0
je 0x4412d2
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.004201f4
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00440fc4
test al, al
je 0x4412d2
cmp dword [ebp - 0xc], 0x4550
jne 0x4412d2
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.00440fc4
test al, al
je 0x4412d2
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4412ef
mov eax, dword [ebp - 0x10]
call fcn.00403e74
ret
Function at 0x4412f8
Capabilities:
Get keyboard layout
Log keystrokes via polling
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44148f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x43e208]
call fcn.00440f4c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x441472
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00440fc4
test al, al
je 0x44145c
cmp word [ebp - 4], 0x5a4d
jne 0x44145c
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.004201f4
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00440fc4
test al, al
je 0x44145c
cmp dword [ebp - 8], 0
je 0x44145c
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.004201f4
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00440fc4
test al, al
je 0x44145c
cmp dword [ebp - 0xc], 0x4550
jne 0x44145c
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.00440fc4
test al, al
je 0x441458
test byte [ebp - 0x15], 0x20
je 0x441458
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00441000
mov eax, dword [ebp - 0x2c]
call fcn.004052a0
push eax
call sub.user32.dll_OffsetRect
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x441451
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x4414a0
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetKeyNameTextA
test eax, eax
je 0x441436
push 0xa
push 0x4414ac
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetKeyNameTextA
test eax, eax
je 0x441436
mov byte [ebp - 1], 2
jmp 0x44143a
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44145c
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetKeyboardLayoutList
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441479
mov eax, dword [ebp - 0x10]
call fcn.00403e74
ret
Function at 0x44157c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x441585
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44179f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404dc4
mov eax, esi
call fcn.00404dc4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.004052a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x441784
mov eax, dword [ebp - 4]
call fcn.00402b6c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x44177d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.004052a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x441764
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4417b0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4416ae
push 0x4417d4
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.0040a204
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040a204
push dword [ebp - 0x24]
push 0x4417f0
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405160
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004052a0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4416ae
cmp dword [ebp - 0xc], 1
jbe 0x4416ae
mov eax, dword [ebp - 0x18]
call fcn.0040b024
mov ecx, eax
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00404eb4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x441804
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x441764
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.004083f8
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov di, word [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.004083f8
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0xc]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.0040a0f0
push dword [ebp - 0x28]
push 0x441810
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.0040a0f0
push dword [ebp - 0x2c]
push 0x441810
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.0040a0f0
push dword [ebp - 0x30]
push 0x441810
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.0040a0f0
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00405160
mov eax, dword [esi]
mov edx, 0x44181c
call fcn.004051ec
jne 0x441764
mov eax, esi
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441784
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00402b9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4417a6
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404de8
ret
Function at 0x441860
Capabilities:
Get graphical window text
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push 0x4419a4
call sub.user32.dll_OemToCharA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44199b
xor eax, eax
push ebp
push 0x441994
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4419b0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
mov ebx, eax
test ebx, ebx
je 0x44197d
call sub.user32.dll_GetMessageTime
push eax
push 0
push 0x410
call sub.user32.dll_RegisterClassA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44197d
xor eax, eax
push ebp
push 0x441976
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call ebx
test eax, eax
je 0x44195f
mov eax, dword [ebp - 0xc]
call fcn.00402b6c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x441958
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call ebx
test eax, eax
je 0x44193f
mov esi, dword [ebp - 0xc]
shr esi, 2
dec esi
test esi, esi
jb 0x44193f
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
call fcn.00441138
test eax, eax
jne 0x44193b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
call fcn.00445ed4
inc ebx
dec esi
jne 0x441921
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44195f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00402b9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44197d
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_EndDialog
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44199b
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetKeyboardLayoutList
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4419c4
Capabilities:
Get graphical window text
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
push esi
push edi
push 0x441b08
call sub.user32.dll_OemToCharA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x441b00
xor eax, eax
push ebp
push 0x441af9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x441b18
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
mov ebx, eax
push 0x441b34
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
mov esi, eax
push 0x441b44
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
mov edi, eax
test ebx, ebx
je 0x441ae2
test esi, esi
je 0x441ae2
test edi, edi
je 0x441ae2
call sub.user32.dll_GetMessageTime
push eax
push 8
call ebx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x441ae2
xor eax, eax
push ebp
push 0x441adb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22c]
xor ecx, ecx
mov edx, 0x224
call fcn.00403694
mov dword [ebp - 0x22c], 0x224
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [ebp - 8]
push eax
call esi
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x441ac0
mov eax, dword [ebp - 0x210]
call fcn.00441138
test eax, eax
jne 0x441aad
mov eax, dword [ebp - 0x210]
call fcn.00445ed4
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [ebp - 8]
push eax
call edi
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x441a93
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441ae2
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_EndDialog
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441b00
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetKeyboardLayoutList
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44313f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x44301f
cmp byte [ebp - 5], 0x80
jb 0x44301f
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.0040311c
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x443112
cmp byte [esi + 0x37], 0
je 0x443082
mov eax, dword [0x54b7a0]
mov edx, dword [esi + 0x33]
call fcn.004051ec
je 0x443071
mov eax, dword [esi + 0x33]
call fcn.004363d4
mov eax, 0x54b7a0
mov edx, dword [esi + 0x33]
call fcn.00404e18
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.00436474
jmp 0x4430bb
cmp byte [ebx], 0
je 0x4430bb
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405028
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004366b0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x443158
call fcn.004050ec
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.0040507c
cmp byte [ebp - 6], 0
je 0x443124
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00405028
push dword [ebp - 0x1c]
push 0x443164
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00442fc0
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00405028
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405160
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.0040507c
jmp 0x443124
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x443124
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x44311d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443146
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404de8
ret
Function at 0x445184
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov ebx, edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x445249
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov al, byte [ebp - 1]
call fcn.004439ac
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4451ef
test ebx, ebx
je 0x4451ef
test edi, edi
je 0x4451ef
mov eax, ebx
call fcn.004052a0
push eax
call sub.user32.dll_GetWindowRect
mov ebx, eax
test ebx, ebx
je 0x4451ef
mov eax, edi
call fcn.004052a0
push eax
push ebx
call sub.user32.dll_GetWindowTextA
mov dword [ebp - 0xc], eax
test esi, esi
je 0x445228
cmp dword [ebp - 0xc], 0
je 0x44522e
lea edx, [ebp - 0x14]
xor eax, eax
mov al, byte [ebp - 1]
call fcn.0040a0f0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x445264
call fcn.004050ec
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0042e28c
mov dword [ebp - 8], eax
jmp 0x44522e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445250
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404de8
ret