joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424280
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587d00
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0xf
cmp byte [edx], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x4242d5
xor ecx, ecx
jmp 0x4242e9
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4242e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040ac20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047f1c0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x424316
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x42433a
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42436a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test esi, esi
jne 0x424391
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x424391
xor eax, eax
jmp 0x424396
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x4243b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587d40
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp byte [edx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x42440a
xor ecx, ecx
jmp 0x424419
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424410
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040ac20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047f1c0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x424446
mov eax, dword [eax]
push 0x59c1bc
push eax
call fcn.0055ba07
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x42446f
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42449f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test edi, edi
je 0x4244e9
mov esi, dword [ebp + 0x10]
push edi
push esi
push 1
push ebx
call fcn.0055bd63
add esp, 0x10
xor ecx, ecx
cmp eax, esi
jne 0x4244e0
cmp ecx, dword [ebp + 0x14]
jne 0x4244e0
push edi
call fcn.0055baab
add esp, 4
mov eax, 1
jmp 0x4244eb
push edi
call fcn.0055baab
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x424510
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587dd4
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x78], 0
call fcn.004246a0
add esp, 4
test eax, eax
jne 0x42455b
mov eax, 1
jmp 0x42467b
push esi
call fcn.004248f0
add esp, 4
test eax, eax
je 0x42467b
push esi
lea ecx, [ebp - 0x40]
call fcn.0040c7d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], 1
push eax
call fcn.0047f1c0
add esp, 8
mov dword [ebp - 4], 1
mov ebx, 3
mov dword [ebp - 0x78], ebx
cmp dword [eax + 0x14], 8
jb 0x4245aa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x424611
push esi
call fcn.004247c0
add esp, 4
test eax, eax
je 0x42460b
push esi
lea ecx, [ebp - 0x28]
call fcn.0040c7d0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x78], 7
push eax
call fcn.0047f1c0
add esp, 8
mov dword [ebp - 4], 3
mov ebx, 0xf
mov dword [ebp - 0x78], ebx
cmp dword [eax + 0x14], 8
jb 0x424600
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x424611
mov byte [ebp - 0x71], 0
jmp 0x424615
mov byte [ebp - 0x71], 1
mov dword [ebp - 4], 2
test bl, 8
je 0x42462f
and ebx, 0xfffffff7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x78], ebx
call fcn.00406d40
mov dword [ebp - 4], 1
test bl, 4
je 0x424649
and ebx, 0xfffffffb
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], ebx
call fcn.00406cc0
mov dword [ebp - 4], 0
and ebx, 0xfffffffd
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], ebx
call fcn.00406d40
mov dword [ebp - 4], 0xffffffff
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x78], ebx
call fcn.00406cc0
xor eax, eax
cmp byte [ebp - 0x71], al
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x4246a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587e10
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0xf
cmp byte [edx], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x4246f6
xor ecx, ecx
jmp 0x424709
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424700
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040ac20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047f1c0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x424736
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42475e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42478e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov eax, ebx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x4247c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587d00
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.004246a0
add esp, 4
cmp eax, 1
je 0x424801
xor eax, eax
jmp 0x4248d4
cmp byte [esi], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x42482a
xor ecx, ecx
jmp 0x424839
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424830
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040ac20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047f1c0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x424866
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
and esi, 0x10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x42488b
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4248bb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
xor eax, eax
mov dword [ebp - 0x14], 0xf
test esi, esi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x4248f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587e72
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [ebp - 0x48], ebx
call fcn.004246a0
add esp, 4
test eax, eax
je 0x4249ac
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
cmp byte [esi], bl
jne 0x42494a
xor ecx, ecx
jmp 0x424959
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424950
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040ac20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 1
push eax
call fcn.0047f1c0
add esp, 8
mov dword [ebp - 4], 1
mov ebx, 3
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x14], 8
jb 0x424998
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 0x41], 1
test eax, eax
jne 0x4249b0
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0
test bl, 2
je 0x4249eb
and ebx, 0xfffffffd
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4249d7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x424a24
and ebx, 0xfffffffe
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x424a12
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
xor eax, eax
cmp byte [ebp - 0x41], al
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret

Function at 0x425070
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x59c1d4
push 1
push 0
push 0x59c1c4
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4250b5
push esi
push str.CoCreateInstance_failed:_0x_08lx_n
jmp 0x4250e6
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x4250d0
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
jmp 0x4250e6
mov eax, dword [ebp - 4]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x4250ee
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.00425110
add esp, 8
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4250fb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x425108
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426190
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5883b3
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - method.el::base::Writer.virtual_0], vtable.el::base::Writer.0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0x80
mov dword [ebp - 0x180], str.d:jenkinsworkspacemicroclient_buildlauncherLauncherAppManager.h
mov dword [ebp - 0x17c], 0x1b
mov dword [ebp - 0x178], str.void___thiscall_LauncherAppManager::Restart_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____
mov word [ebp - 0x174], ax
mov dword [ebp - 0x170], eax
mov byte [ebp - 0x16c], al
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], 0x59aeec
mov dword [ebp - 0x160], 2
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18c]
push dword [0x608010]
push 1
push eax
call fcn.0048d730
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x20], 0
je 0x4262ba
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.start_restarting_launcher_with_args:
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x4262ab
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x4262ba
push edi
lea ecx, [esi + 0x24]
call fcn.0040e8b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.0040e200
push 1
call fcn.00426500
add esp, 4
lea eax, [ebp - 0x14c]
mov ecx, eax
mov dword [ebp - 0x150], eax
push 0x60fa50
call fcn.00415d90
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x60f408
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040aaf0
mov dword [ebp - 4], 5
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.0040aaf0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14c]
call fcn.0040fa00
call fcn.00503f80
mov ecx, eax
call fcn.00504740
call fcn.004ab6d0
call fcn.00497b90
push 0
call fcn.0055c1e3
int3
Function at 0x434600
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x434625
or esi, 1
push 1
call edi
test ax, ax
jns 0x434631
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x43463d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x434649
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x436280
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x1c4]
call fcn.00545d60
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4362db
nop
push esi
lea ecx, [ebx + 0x1c4]
mov byte [ebp + 0xb], 0
call fcn.00431990
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x436473
lea ecx, [ebx + 0x1c4]
inc esi
call fcn.00545d60
cmp esi, eax
jl 0x4362a0
sub edi, 0x100
je 0x4363fc
sub edi, 4
je 0x43634b
sub edi, 2
jne 0x4363f1
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0055dfd1
mov ecx, dword [ebx + 0x144]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_ioctlsocket
push edx
push 0x437b90
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x4363f1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x148], 0
je 0x4363f1
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x158]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x15c]
push 0x11
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x4363ae
or esi, 1
push 1
call edi
test ax, ax
jns 0x4363ba
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4363c6
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4363d2
or esi, 0x20
mov word [ebp - 0xa], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4363f1
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x43645a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x43645a
mov ecx, dword [ebx + 0x148]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x43645a
mov ecx, dword [ebx + 0x148]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0054ee59
add esp, 8
test eax, eax
je 0x43645a
mov ecx, dword [ebx + 0x148]
call fcn.00445840
test al, al
jne 0x4363f1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00437360
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x437040
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x437068
cmp esi, dword [edi + 0x148]
je 0x437068
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x148]
cmp esi, eax
je 0x43715d
test eax, eax
je 0x4370d4
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x14
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x148]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0x148]
mov ecx, edi
call fcn.00436c60
mov dword [edi + 0x148], 0
test esi, esi
je 0x43715d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x43715d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x43715d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x43715d
xorps xmm0, xmm0
mov dword [edi + 0x148], esi
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x148]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0x148]
mov ecx, edi
call fcn.00436c60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4385b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4385f5
cmp byte [ebp + 8], 0
je 0x4385e9
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x447910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x109c], 0
je 0x44797d
cmp dword [ebp + 8], 0x100
jne 0x44796d
cmp word [ebp + 0xc], 0xd
jne 0x44796d
cmp byte [esi + 0x10a2], 0
je 0x44794e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x44796d
cmp byte [esi + 0x10a3], 0
jne 0x44796d
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x447966
push 0
push 0
push 0
push str.return
push esi
call fcn.00436c60
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x109c]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x447d10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x447d3e
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
test eax, eax
jne 0x447d57
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
push eax
mov dword [ebp - 4], 0
call fcn.0052b7a0
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp eax, dword [ebx]
je 0x447d93
push esi
call fcn.00447d00
add esp, 4
xor esi, esi
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x447da0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b8db
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
call fcn.004340f0
push eax
lea ecx, [ebp - 0x94]
call fcn.00431560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
push esi
call fcn.004319c0
push 0
push 0x80
push 3
push 0
push 1
push connect
lea ecx, [ebp - 0x94]
call fcn.0057d6c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x447e74
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
test eax, eax
je 0x447e74
push eax
mov dword [ebp - 0x98], 0
call fcn.0052b7a0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x98]
push 0
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebx]
je 0x447e76
push esi
call fcn.00447d00
add esp, 4
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00431750
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret