joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5789a0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x10]
mov esi, edx
push eax
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x5789e5
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5789f0
push 0
sub ecx, edx
push ecx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push dword [ebp - 0xc]
mov dword [ebp - 8], 0
call esi
cmp dword [ebp - 8], 0x10
jne 0x578a36
push 0
lea eax, [ebp - 8]
push eax
push edi
push 2
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x578a44
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x578a54
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b8427
mov esp, ebp
pop ebp
ret

Function at 0x579b00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x2c
mov edi, edx
call dword [0x65ede0]
mov esi, eax
add esp, 4
test esi, esi
jne 0x579b35
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xc]
mov dword [esi], fcn.005788c0
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ecx + 8]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
cmp ebx, 0x40
jbe 0x579b7d
push ecx
call fcn.005788c0
push ebx
push edi
push dword [esi + 4]
call fcn.00578900
mov edi, dword [esi + 8]
push dword [esi + 4]
add edi, 8
push edi
call fcn.00578920
mov ecx, dword [esi + 4]
mov ebx, 0x10
add esp, 0x18
mov dword [ebp + 8], ebx
push ecx
call fcn.005788c0
push dword [esi + 8]
call fcn.005788c0
add esp, 8
xor eax, eax
test ebx, ebx
je 0x579be0
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
nop word [eax + eax]
movzx eax, byte [edi]
xor al, 0x36
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 4]
call fcn.00578900
movzx eax, byte [edi]
lea edi, [edi + 1]
xor al, 0x5c
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 8]
call fcn.00578900
add esp, 0x18
sub ebx, 1
jne 0x579ba0
cmp dword [ebp + 8], 0x40
jae 0x579c16
mov eax, dword [ebp - 0x10]
mov edi, 0x40
sub edi, eax
nop word [eax + eax]
push 1
push 0x62956e
push dword [esi + 4]
call fcn.00578900
push 1
push 0x629493
push dword [esi + 8]
call fcn.00578900
add esp, 0x18
sub edi, 1
jne 0x579bf0
mov ecx, dword [ebp - 4]
mov eax, esi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.005b8427
mov esp, ebp
pop ebp
ret
Function at 0x57ed4a
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
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x57ed6d
or esi, 2
push 1
call edi
test ax, ax
jns 0x57ed79
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x57ed85
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x57ed91
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x581dcf
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]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x581e07
cmp eax, dword [edi + 0x44]
je 0x581e07
cmp esi, dword [edi + 0xa8]
je 0x581e07
cmp byte [edi + 0xa0], 0
jne 0x581e07
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
cmp esi, eax
je 0x581ef1
test eax, eax
je 0x581e70
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x14
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xa8]
call fcn.00581a85
and dword [edi + 0xa8], 0
test esi, esi
je 0x581ef1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x581ef1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x581ef1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x581ef1
xorps xmm0, xmm0
mov dword [edi + 0xa8], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xa8]
call fcn.00581a85
pop edi
pop esi
leave
ret 8
Function at 0x583c60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov ebx, ecx
xor eax, eax
push edi
push 4
mov dword [ebp - 8], ebx
push dword [ebx + 4]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call ebx
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 8]
cmp dword [edi + 4], 0
je 0x583d11
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x583d11
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x583d11
cmp dword [ebp - 0x20], 0x10
jne 0x583ce9
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 4]
jne 0x583ce9
mov eax, dword [ebp - 0x1c]
push 1
push esi
mov dword [ebp - 4], eax
call ebx
push esi
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x24]
push eax
call fcn.0058293d
pop ecx
test al, al
jne 0x583d0b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x20], 0x12
jne 0x583ca3
push 1
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x20], 0x12
pop edi
pop esi
pop ebx
jne 0x583d2f
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x583d34
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 0x583d66
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x5861b7
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x180
mov eax, 0x60acb7
call fcn.005b8c7a
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0058659b
call fcn.0057ea69
push eax
lea ecx, [ebp - 0x54]
call fcn.00582c92
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0057ea6f
mov ecx, eax
call fcn.00583377
test al, al
je 0x5862c4
push ebx
lea ecx, [ebp - 0x54]
call fcn.00582e91
push edi
push 0x80
push 3
push edi
push 1
push bind
lea ecx, [ebp - 0x54]
call fcn.00454360
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18c], eax
push edi
cmp eax, 0xffffffff
jne 0x586235
push str.Error_opening_file
jmp 0x58639c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x586335
cmp edi, 0x400000
ja 0x586346
and dword [ebp - 0x184], 0
push edi
call fcn.005b89cc
pop ecx
mov ebx, eax
lea eax, [ebp - 0x184]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x18c]
mov dword [ebp - 0x188], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x184], edi
je 0x5862ad
push ebx
call fcn.005b89c7
pop ecx
mov ecx, esi
call fcn.0058659b
push 0
push str.Could_not_read_file
jmp 0x58639c
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.005863e4
push dword [ebp - 0x188]
jmp 0x5863ca
call fcn.0057ea6f
push eax
lea ecx, [ebp - 0x54]
call fcn.00582e54
call fcn.0057ec23
test al, al
je 0x5862e2
call fcn.0057ea75
jmp 0x5862f6
push 2
push edi
lea ecx, [ebp - 0x54]
call fcn.00454360
push eax
call fcn.0059ba08
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x586307
push eax
push str.Error_opening_zip_file
jmp 0x58639c
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x188]
push eax
push 1
push ebx
push edi
call fcn.0059b54c
add esp, 0x14
test eax, eax
je 0x58632e
push 0
push str.Could_not_find_ziped_file
jmp 0x58639c
mov ebx, dword [ebp - 0x58]
test ebx, ebx
jne 0x58633e
push 0
push str.File_is_empty
jmp 0x58639c
cmp ebx, 0x400000
jbe 0x58634f
push 0
push 0x61595c
jmp 0x58639c
push ebx
call fcn.005b89cc
push 3
push ebx
push eax
push dword [ebp - 0x188]
mov dword [ebp - 0x184], eax
push edi
call fcn.0059bd73
add esp, 0x18
test eax, eax
je 0x5863a7
cmp eax, 0x600
je 0x5863a7
push dword [ebp - 0x184]
call fcn.005b89c7
pop ecx
call fcn.0057ec23
test al, al
jne 0x586395
push edi
call fcn.0059b3c4
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.005865c3
mov bl, al
jmp 0x5863d2
call fcn.0057ec23
test al, al
jne 0x5863b7
push edi
call fcn.0059b3c4
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x184]
mov ecx, esi
push ebx
push edi
call fcn.005863e4
push edi
mov bl, al
call fcn.005b89c7
pop ecx
lea ecx, [ebp - 0x54]
call fcn.00582d5b
mov al, bl
call fcn.005b8c35
ret 8
Function at 0x58774c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00596cb1
mov ecx, dword [esi + 0x498]
test ecx, ecx
je 0x5877c8
lea eax, [ebp - 0x14]
push eax
call fcn.00586d96
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x498]
test eax, eax
je 0x5877a4
push 0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5877c8
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b8427
leave
ret 0xc

Function at 0x5877d7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x587860
cmp dword [esi + 0x10], 0
je 0x587860
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
mov eax, edi
call fcn.005b8eb0
mov ebx, esp
test ebx, ebx
je 0x587860
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x164
call fcn.00582de9
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.00581a85
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0057ec30
test al, al
je 0x587860
mov ecx, dword [esi + 0x10]
call fcn.00596bce
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
leave
ret 0x10

Function at 0x587ea1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00598171
mov ecx, dword [ebx + 0x498]
test ecx, ecx
je 0x587f25
lea eax, [ebp - 0x14]
push eax
call fcn.00586d96
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x498]
test eax, eax
je 0x587f01
push 0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x587f25
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8427
leave
ret 0x14
Function at 0x58e57f
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
cmp esi, 0x4e
jne 0x58e5a7
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, 1
je 0x58e6fd
cmp esi, 8
jne 0x58e670
push ebx
push str.SysMonthCal32
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x58e626
push 0x20
pop edi
push edi
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.005d05b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edi
push eax
push ebx
push 0x100e
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x18], 0x1010003
je 0x58e61e
cmp dword [ebp - 0x18], 0x2010003
jne 0x58e669
xor eax, eax
inc eax
jmp 0x58e71e
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jl 0x58e654
cmp eax, dword [ebp - 0xc]
jg 0x58e654
cmp eax, dword [ebp - 0x10]
jl 0x58e654
cmp eax, dword [ebp - 8]
jle 0x58e669
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 8
call fcn.0058e8e9
mov ebx, eax
mov eax, ebx
jmp 0x58e71e
mov eax, 0x101
cmp esi, eax
jne 0x58e6e5
cmp dword [ebp + 0xc], 0x2e
je 0x58e6af
cmp dword [ebp + 0xc], 8
je 0x58e6af
cmp dword [ebp + 0xc], 0x1b
jne 0x58e710
push dword [ebp + 0x10]
push 0x1b
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [edi + 0x10]
mov esi, eax
mov dword [ecx + 0x4a8], 3
jmp 0x58e6d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [edi + 0x10]
mov esi, eax
mov dword [ecx + 0x4a8], 2
mov ecx, dword [edi + 0x10]
call fcn.0058ea35
push ebx
push ebx
push 0x10
mov ecx, edi
call fcn.00583aa0
mov eax, esi
jmp 0x58e71e
cmp esi, 0xf
jne 0x58e710
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0057ec30
test al, al
je 0x58e710
mov ecx, dword [edi + 0x10]
push dword [edi + 4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0057df97
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push esi
call fcn.00583a84
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8427
leave
ret 0xc
Function at 0x58e72f
Capabilities:
Hide graphical window

Disassembly:
push 0x5c
mov eax, 0x60b06e
call fcn.005b8c7a
mov edi, ecx
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x4a8], ebx
cmp dword [edi + 4], ebx
jne 0x58e7b3
lea eax, [ebp - 0x68]
push eax
call fcn.0058e2c1
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0x68]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0057ea50
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00583a55
mov esi, dword [edi + 0x10]
mov ecx, esi
push 1
call fcn.00595113
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.0057e5e9
push dword [eax + 4]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00583377
lea ecx, [ebp - 0x54]
mov bl, al
call fcn.00582d5b
mov esi, 0x498
test bl, bl
je 0x58e7e8
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.005b8c35
ret 4

Function at 0x58e81e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00596cb1
mov ecx, dword [esi + 0x4b0]
test ecx, ecx
je 0x58e89a
lea eax, [ebp - 0x14]
push eax
call fcn.0058e2c1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x4b0]
test eax, eax
je 0x58e876
push 0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x58e89a
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b8427
leave
ret 0xc
Function at 0x58e983
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00598171
mov ecx, dword [ebx + 0x4b0]
test ecx, ecx
je 0x58ea07
lea eax, [ebp - 0x14]
push eax
call fcn.0058e2c1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x4b0]
test eax, eax
je 0x58e9e3
push 0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x58ea07
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8427
leave
ret 0x14
Function at 0x59afce
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x454], edi
je 0x59b039
cmp dword [ebp + 8], 0x100
jne 0x59b028
cmp byte [ebp + 0xc], 0xd
jne 0x59b028
cmp byte [esi + 0x45a], 0
je 0x59b00d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x59b028
cmp byte [esi + 0x45b], 0
jne 0x59b028
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x59b024
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.00581a85
xor eax, eax
jmp 0x59b03c
mov eax, dword [esi + 0x454]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x59b416
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x59b4b4
mov al, byte [esi]
test al, al
je 0x59b4b4
push edi
mov edi, esi
mov ecx, esi
cmp al, 0x2f
je 0x59b448
cmp al, 0x5c
jne 0x59b44a
mov edi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x59b440
cmp edi, esi
je 0x59b487
sub edi, esi
lea eax, [ebp - 0x108]
push edi
push esi
push eax
call fcn.005e0fc7
add esp, 0xc
cmp edi, 0x104
jae 0x59b4c2
lea eax, [ebp - 0x108]
mov byte [ebp + edi - 0x108], 0
push eax
push ebx
call fcn.0059b416
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005e11d0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005e11e0
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8427
leave
ret
call fcn.005b910a
int3

Function at 0x59b982
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x59b9fe
cmp dword [edi + 4], 0xffffffff
jne 0x59b9fe
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x62debc
push esi
call fcn.005e11e0
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x59b9d0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x59b9d0
mov eax, 0x2000000
jmp 0x59ba03
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0059de64
add esp, 0x10
test eax, eax
jne 0x59b9ee
mov eax, dword [ebp - 4]
jmp 0x59ba03
push eax
call fcn.0059e581
mov dword [edi], eax
mov eax, dword [0x664598]
pop ecx
jmp 0x59ba03
mov eax, 0x1000000
pop edi
leave
ret 0xc