joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d310
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c0
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x47a474], 0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x5b4], eax
mov edi, edx
mov dword [ebp - 0x5b0], ecx
mov dword [ebp - 0x5b8], 0
jne 0x40d35e
call fcn.0040e400
call fcn.0040df20
mov dword [0x47a474], 1
lea edx, [ebp - 0x5ac]
push edx
push 0x202
call dword [0x47a4c0]
call fcn.0040ca80
mov esi, eax
mov dword [ebp - 0x5bc], esi
test esi, esi
je 0x40d558
test dword [esi], 0x10000
je 0x40d551
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d396
sub eax, edx
cmp eax, dword [esi + 0x140c]
ja 0x40d551
mov ecx, dword [esi + 0x1408]
xor eax, eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], eax
mov eax, 2
push ecx
mov word [ebp - 0x41c], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x47349c
mov word [ebp - 0x41a], ax
call dword [0x47a4d8]
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x418], eax
call fcn.0040e9e0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d551
mov ecx, dword [ebp - 0x5b0]
mov edx, dword [ebp - 0x5b4]
push ecx
push edi
push edx
call fcn.0040cba0
mov edi, eax
mov esi, dword [edi]
add esp, 0xc
add esi, 4
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi]
push edx
mov dword [ebp - 0x5b0], eax
add eax, 4
push edi
push eax
call fcn.00457600
add esp, 0xc
push edi
call fcn.004501b9
add esp, 4
xor edi, edi
test esi, esi
je 0x40d486
mov ecx, dword [ebp - 0x5b0]
push 0
mov eax, esi
sub eax, edi
push eax
lea edx, [edi + ecx]
push edx
push ebx
call dword [0x47a4e0]
test eax, eax
jle 0x40d480
add edi, eax
cmp edi, esi
jb 0x40d45c
jmp 0x40d486
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
lea eax, [ebp - 0x5b4]
push eax
push 0x1006
push 0xffff
push ebx
mov dword [ebp - 0x5b8], 0
mov dword [ebp - 0x5b4], 0x3e8
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
push ebx
call dword [0x47a4dc]
cmp eax, 0xffffffff
je 0x40d53e
cmp dword [ebp - 0x40c], 0x43435553
mov esi, 7
mov ecx, str.SUCCESS
lea edx, [ebp - 0x40c]
jne 0x40d4fa
mov esi, 3
mov ecx, 0x464c14
lea edx, [ebp - 0x408]
movzx eax, byte [edx]
movzx edi, byte [ecx]
sub eax, edi
jne 0x40d52b
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x40d52b
movzx eax, byte [edx + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x40d52b
cmp esi, 3
jbe 0x40d577
movzx eax, byte [edx + 3]
movzx edx, byte [ecx + 3]
sub eax, edx
sar eax, 0x1f
or eax, 1
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x5b8], ecx
mov edx, dword [ebp - 0x5b0]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x5bc]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [0x47a4bc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x5b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ef0f
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x40d531
Function at 0x40e970
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, 0xbb8
jae 0x40e9c0
jmp 0x40e990
mov eax, dword [ebp + 8]
push eax
call dword [0x47a4d4]
test eax, eax
jne 0x40e9c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
sub eax, ebx
cmp eax, 0xbb8
jb 0x40e990
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40e9e0
Capabilities:
Check for time delay via gettickcount
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 1
push 2
mov ebx, ecx
call dword [0x47a4e4]
mov esi, eax
cmp esi, 0xffffffff
je 0x40eb38
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [ebp - 0x21c]
push eax
push 0x8004667e
push esi
mov dword [ebp - 0x21c], 1
call edi
push 0x10
push ebx
push esi
call dword [0x47a4d0]
lea ecx, [ebp - 0x21c]
push ecx
push 0x8004667e
push esi
mov dword [ebp - 0x21c], 0
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, 0x3e8
ja 0x40eaec
lea ebx, [ebx]
mov eax, 1
lea edx, [ebp - 0x224]
push edx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x220], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40eb4c
lea edx, [ebp - 0x110]
push edx
push esi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x40eb5f
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x40eb4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x40eafd
mov edi, 0x102
push 4
lea ecx, [ebp - 0x21c]
push ecx
push 0xffffff7f
push 0xffff
push esi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [0x47a4cc]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ef0f
mov esp, ebp
pop ebp
ret
js 0x40eaec
call edi
sub eax, ebx
cmp eax, 0x3e8
jbe 0x40ea70
jmp 0x40eaec
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ef0f
mov esp, ebp
pop ebp
ret
Function at 0x40fcf0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0x11
mov ebx, eax
push str.HTTP_1.1_200_OK_r_n
push ebx
call fcn.0044fb73
add esp, 0xc
test eax, eax
je 0x40fd11
xor eax, eax
pop ebx
pop ebp
ret 8
test ebx, ebx
jne 0x40fd19
xor eax, eax
jmp 0x40fd54
push str.Content_Length:
push ebx
call fcn.0044f660
add esp, 8
test eax, eax
je 0x40fd32
push 0x10
add eax, 0x10
jmp 0x40fd49
push str._r_n_r_n
push ebx
call fcn.0044f660
add esp, 8
test eax, eax
je 0x40fd54
push 0xa
add eax, 4
push 0
push eax
call fcn.0044ff8a
add esp, 0xc
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x78], eax
test ebx, ebx
je 0x40fda7
push str.Content_Length:
push ebx
call fcn.0044f660
neg eax
sbb esi, esi
push str._r_n_r_n
push ebx
neg esi
call fcn.0044f660
mov edi, eax
add esp, 0x10
test edi, edi
je 0x40fda7
add edi, 4
test esi, esi
jne 0x40fda3
push 0x4636f8
push edi
call fcn.0044f660
mov edi, eax
add esp, 8
test edi, edi
je 0x40fda7
add edi, 2
test edi, edi
jne 0x40fdb0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x94]
sub eax, 0xffffff80
cmp edx, 0x10
jb 0x40fdc5
mov esi, dword [eax]
jmp 0x40fdc7
mov esi, eax
mov ecx, dword [eax + 0x10]
add esi, ecx
cmp edx, 0x10
jb 0x40fdd5
mov edx, dword [eax]
jmp 0x40fdd7
mov edx, eax
add ecx, edx
mov edx, dword [ebp + 8]
push edx
push esi
push ecx
push eax
mov edx, edi
mov ecx, ebx
call fcn.00410810
mov esi, 0x400
sub esi, edi
sub esi, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x78]
cmp esi, eax
jb 0x40fdfe
mov esi, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
push edi
push eax
mov dword [ebx + 0x7c], eax
call fcn.00457600
mov eax, dword [ebx + 0x78]
add esp, 0xc
cmp eax, esi
jne 0x40fe28
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
push 4
lea ecx, [ebp + 8]
push ecx
sub eax, esi
push 0x1006
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x7c]
push 0xffff
push edx
add edi, esi
mov dword [ebp + 8], 0x3e80
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x40fe91
xor esi, esi
test ebx, ebx
je 0x40fe7f
nop
mov edx, dword [ebp + 0xc]
push 0
mov eax, ebx
sub eax, esi
push eax
lea ecx, [esi + edi]
push ecx
push edx
call dword [0x47a4dc]
test eax, eax
jle 0x40fe91
add esi, eax
cmp esi, ebx
jb 0x40fe60
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
pop ebp
ret 8
Function at 0x414420
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jns 0x414438
mov esi, 8
push 2
call edi
test ax, ax
jns 0x414444
or esi, 1
push 1
call edi
test ax, ax
jns 0x414450
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x41445c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x414468
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x414f30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebx, eax
cmp dword [edi + 0xd8], esi
jle 0x414f83
jmp 0x414f50
mov eax, dword [edi + 0xd4]
mov byte [ebp - 1], 0
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 1]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ebx
push eax
call edx
cmp byte [ebp - 1], 0
jne 0x415103
inc esi
cmp esi, dword [edi + 0xd8]
jl 0x414f50
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x41509b
sub eax, 4
je 0x414ff4
sub eax, 2
jne 0x415090
push ebx
mov dword [ebp + 8], eax
call fcn.00459313
mov ecx, dword [edi + 0x54]
add esp, 4
mov word [ebp + 8], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0xf4]
push reloc.WS2_32.dll_ioctlsocket
lea eax, [ebp + 8]
push eax
push 0x418520
call edx
mov esi, eax
test esi, esi
je 0x415090
mov eax, dword [esi]
mov edx, dword [eax + 0xe8]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x58], 0
je 0x415090
mov ecx, dword [edi + 0x6c]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x68]
mov word [ebp - 0x10], bx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
xor esi, esi
call ebx
test ax, ax
jns 0x415042
mov esi, 8
push 2
call ebx
test ax, ax
jns 0x41504e
or esi, 1
push 1
call ebx
test ax, ax
jns 0x41505a
or esi, 2
push 0x10
call ebx
test ax, ax
jns 0x415066
or esi, 4
push 0x12
call ebx
test ax, ax
jns 0x415072
or esi, 0x20
mov word [ebp - 0xe], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [ebp - 0x24]
push eax
call edx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 9
jne 0x415090
cmp dword [edi + 0x58], 0
je 0x4150f0
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4150f0
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
call edx
test al, al
je 0x4150f0
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push str.RichEditUI
call edx
push eax
call fcn.0044f6e6
add esp, 8
test eax, eax
je 0x4150f0
mov eax, dword [edi + 0x58]
cmp byte [eax + 0x43d], 0
jne 0x415090
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns bl
call fcn.00417380
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416e90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push edi
mov edi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x416eb5
cmp esi, dword [edi + 0x58]
je 0x416eb5
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x58]
cmp esi, eax
je 0x416fb1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x416f25
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
lea edx, [esp + 8]
push edx
call eax
mov ecx, dword [edi + 0x58]
push 0
push 0
push ecx
mov ecx, str.killfocus
call fcn.00417850
mov dword [edi + 0x58], 0
test esi, esi
je 0x416fb1
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, edi
jne 0x416fb1
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
test al, al
je 0x416fb1
mov edx, dword [esi]
mov eax, dword [edx + 0xcc]
mov ecx, esi
call eax
test al, al
je 0x416fb1
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [edi + 0x58], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 8]
push eax
call edx
mov eax, dword [edi + 0x58]
push 0
push 0
push eax
mov ecx, str.setfocus
call fcn.00417850
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4222d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x47201c]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 8], eax
mov dword [edi + 0x10], eax
push esi
lea eax, [esp + 0x10]
push eax
mov eax, edi
call fcn.00422490
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x431], 0
mov esi, 0x40000080
je 0x422318
mov esi, 0x400000a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax]
sub edx, ecx
push edx
mov edx, dword [esp + 0x14]
sub ebx, edx
push ebx
push ecx
push edx
push 0
push esi
push 0
push eax
mov eax, edi
call fcn.0041e5e0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x40c]
call eax
mov esi, eax
mov eax, ebx
call fcn.00417ef0
mov ecx, dword [eax]
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 1
push ebx
push ecx
push 0x30
push edx
call esi
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x42c]
mov edx, dword [edi + 4]
push 0
push ecx
push 0xc5
push edx
call esi
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x431], 0
je 0x4223ae
movzx eax, word [eax + 0x432]
mov ecx, dword [edi + 4]
push 0
push eax
push 0xcc
push ecx
call esi
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x4223df
push eax
call fcn.004501b9
add esp, 4
mov eax, dword [edi + 4]
push 0
push 0
push 0xb9
push eax
call esi
mov ecx, dword [edi + 4]
push 0
push 3
push 0xd3
push ecx
call esi
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
call eax
mov edx, dword [edi + 4]
xor ecx, ecx
cmp al, bl
sete cl
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
xor ecx, ecx
cmp byte [eax + 0x430], bl
push 0
sete cl
push ecx
push 0xcf
push edx
call esi
mov eax, dword [edi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x64c]
or edx, eax
mov eax, dword [edi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [edi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0xac]
pop esi
mov byte [edi + 0x18], bl
pop ebx
xor ecx, esp
call fcn.0044ef0f
mov esp, ebp
pop ebp
ret 4
Function at 0x422750
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x4227bd
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea eax, [esi + esi]
call fcn.004589b0
mov ebx, esp
test ebx, ebx
je 0x4227bd
mov ecx, dword [edi + 4]
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [edi + 0x10]
push ebx
add esi, 0x134
or eax, 0xffffffff
call fcn.00418a60
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 0
push 0
push ecx
call eax
mov ecx, str.textchanged
mov edi, eax
call fcn.00417850
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ef0f
mov esp, ebp
pop ebp
ret
Function at 0x433780
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x438], 0
je 0x433804
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x100
jne 0x4337e3
cmp bx, 0xd
jne 0x4337e3
cmp byte [esi + 0x43e], 0
je 0x4337c4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4337e3
cmp byte [esi + 0x43f], 0
jne 0x4337e3
mov edi, dword [esi + 0x40]
test edi, edi
je 0x4337da
push 0
push 0
push esi
mov ecx, str.return
call fcn.00417850
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x438]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x435710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
push ebx
mov dword [eax + 0x438], 0
cmp dword [edi + 4], 0
push esi
jne 0x4357b7
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x9c], edx
mov edx, dword [eax + 0x1c]
call edx
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [eax]
sub ebx, edx
push ebx
sub esi, ecx
push esi
push edx
push ecx
push 0
push 0x40000000
push 0
push eax
mov eax, edi
call fcn.0041e5e0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x40c]
call eax
mov esi, eax
mov eax, ebx
call fcn.00417ef0
mov ecx, dword [eax]
mov edx, dword [edi + 4]
push 1
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x90]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
sete bl
cmp eax, edx
je 0x4357ea
push eax
call fcn.004501b9
add esp, 4
test bl, bl
je 0x4357fd
mov eax, dword [edi + 0x10]
add eax, 0x428
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
add ecx, 0x428
push ecx
push 0
push 0x1002
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov byte [edi + 0x18], 1
pop ebx
call fcn.0044ef0f
mov esp, ebp
pop ebp
ret 4
Function at 0x43c790
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x43c797
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x43c86d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f38]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f38]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f38]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f38]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f38]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f38]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f38]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f38]
add ecx, 8
sub edx, 8
dec esi
jne 0x43c7b0
pop edi
test edx, edx
je 0x43c88a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x469f38]
inc ecx
dec edx
jne 0x43c871
not eax
pop esi
ret

Function at 0x43d020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x43d056
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43d04c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x43d067
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.00457600
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x43d090
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x43d0c3
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43d0be
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x43d0ee
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x43d0d5
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.00457600
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x43d103
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x43d0fd
cmp byte [esi + 8], 0
je 0x43d0fd
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret