joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f5c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, eax
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x43f5db
mov esi, 0x80
cmp esi, dword [edi]
jne 0x43f5e8
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [0x62605c]
test eax, eax
je 0x43f5f3
call eax
lea ecx, [esi*8]
push 0
push ecx
call fcn.0043b430
mov esi, eax
mov eax, dword [0x626060]
add esp, 8
mov dword [esp + 0x10], esi
test eax, eax
je 0x43f616
call eax
test esi, esi
je 0x43f5df
mov edx, dword [edi + 0xc]
push edx
call fcn.0043b720
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x55d8f8]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [edi], ebx
call fcn.0050e6a0
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x43f6f5
mov esi, dword [ecx + 0xc]
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x43f68c
lea ebx, [ebx]
movzx edx, dl
movzx edx, byte [edx + 0x5387b8]
lea ebp, [eax*8]
xor edx, ebp
inc esi
xor eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x43f670
xor edx, edx
div ebx
mov eax, dword [esp + 0x10]
mov ebp, dword [ecx]
lea eax, [eax + edx*8]
test eax, eax
je 0x43f6d2
mov esi, dword [eax]
test esi, esi
je 0x43f6a8
mov edx, dword [eax + 4]
jmp 0x43f6aa
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x43f6d2
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x43f6ca
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x43f6eb
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x43f6eb
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x43f6e1
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, ebp
test ebp, ebp
jne 0x43f65f
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x44cae0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, eax
movzx ecx, word [edi + 0x12]
movzx edx, word [edi + 0xe]
movzx eax, byte [edi + 6]
mov esi, dword [edi + 0x38]
movzx ebx, byte [esi + eax + 5]
lea ebp, [edx + ecx*2]
lea ecx, [esi + eax + 5]
lea edx, [esi + eax + 6]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx]
shl ebx, 8
or ebx, ecx
cmp ebp, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], edx
jle 0x44cb5b
test ebx, ebx
jne 0x44cb35
mov edx, dword [edi + 0x34]
mov ebx, 0x10000
cmp dword [edx + 0x24], ebx
je 0x44cb5b
push 0x5447ac
push 0xd7e8
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0043d4f0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp byte [esi + eax + 2], 0
jne 0x44cb69
cmp byte [esi + eax + 1], 0
je 0x44cba1
lea eax, [ebp + 2]
cmp eax, ebx
jg 0x44cba1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
push edi
call fcn.0044c9a0
add esp, 0xc
test eax, eax
je 0x44cb99
mov ecx, dword [esp + 0x24]
sub eax, esi
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x44cbec
mov esi, dword [esp + 0x20]
lea edx, [esi + ebp + 2]
cmp edx, ebx
jle 0x44cbd1
call fcn.0044c7b0
test eax, eax
jne 0x44cbec
mov eax, dword [esp + 0x14]
movzx ebx, byte [eax]
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx]
shl ebx, 8
or ebx, edx
dec ebx
and ebx, 0xffff
inc ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub ebx, esi
mov eax, ebx
sar eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x24]
mov dword [eax], ebx
mov byte [edx], bl
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x457680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsx edx, byte [ecx + 0x44]
mov edx, dword [ecx + edx*4 + 0x78]
mov edx, dword [edx + 0x3c]
push ebx
mov ebx, dword [ecx + 0x18]
push ebp
movzx ebp, word [ecx + 0x20]
push esi
mov esi, dword [esp + 0x18]
sub edx, ebx
push edi
mov edi, dword [esp + 0x14]
cmp ebp, edx
jae 0x4576a6
mov edx, ebp
lea ebp, [eax + edi]
cmp ebp, edx
ja 0x4576c5
add ebx, eax
mov eax, 0x1010
mov word [esi + 8], ax
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.004575e0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x45bde0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov esi, eax
call fcn.0044f870
movsx edx, byte [esi + 0x44]
mov ecx, dword [esp + 0x68]
mov edi, dword [esi + 0x10]
xor eax, eax
mov word [esp + 0x18], ax
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esi + edx*4 + 0x78]
mov eax, dword [eax + 0x3c]
movzx edx, word [esi + 0x20]
sub eax, ecx
cmp edx, eax
jae 0x45be1e
mov eax, edx
cmp edi, eax
ja 0x45be3a
mov ebx, ecx
mov ecx, 0x1010
mov ebp, edi
mov dword [esp + 0x20], ebx
mov word [esp + 0x18], cx
mov dword [esp + 0x1c], ebp
jmp 0x45be5b
push 1
push 0
push esi
lea esi, [esp + 0x1c]
call fcn.004575e0
add esp, 0xc
test eax, eax
jne 0x45bf26
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov al, byte [ebx]
cmp al, 0x80
jae 0x45be66
movzx edi, al
jmp 0x45be75
lea esi, [esp + 0x68]
mov ecx, ebx
call fcn.0043ef40
mov edi, dword [esp + 0x68]
cmp edi, 3
jb 0x45beee
cmp edi, ebp
jg 0x45beee
mov al, byte [edi + ebx - 1]
lea ecx, [edi + ebx - 1]
cmp al, 0x80
jae 0x45be8f
movzx edx, al
jmp 0x45be9c
lea esi, [esp + 0x68]
call fcn.0043ef40
mov edx, dword [esp + 0x68]
lea eax, [edx - 1]
cmp eax, 8
ja 0x45beee
cmp edx, 7
je 0x45beee
movzx eax, byte [edx + 0x538f68]
lea ecx, [eax + edi]
cmp ebp, ecx
jb 0x45beee
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
sub ecx, eax
add ecx, ebx
call fcn.0045ad80
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [eax], edx
mov dword [eax + 4], ecx
add esp, 4
lea eax, [esp + 0x10]
call fcn.00456d60
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
test dword [esp + 0x18], 0x2460
jne 0x45beff
cmp dword [esp + 0x28], 0
je 0x45bf08
lea eax, [esp + 0x10]
call fcn.00456cc0
push 0x5447ac
push 0x1117b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0043d4f0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x45bf30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, dword [ebx]
push edi
mov eax, esi
call fcn.0044f870
mov edi, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov eax, edi
add eax, 0xffffffff
adc esi, 0xffffffff
test esi, esi
ja 0x45c007
jb 0x45bf6b
cmp eax, 0x7ffffffe
ja 0x45c007
mov ecx, dword [esp + 0x40]
xor eax, eax
mov word [esp + 0x18], ax
mov dword [esp + 0x28], eax
mov eax, dword [ebx]
mov dword [esp + 0x30], ecx
movsx ecx, byte [eax + 0x44]
mov ecx, dword [eax + ecx*4 + 0x78]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x3c]
movzx esi, word [eax + 0x20]
sub ecx, edx
cmp esi, ecx
jae 0x45bf9a
mov ecx, esi
cmp edi, ecx
ja 0x45bfb2
mov dword [esp + 0x20], edx
mov edx, 0x1010
mov word [esp + 0x18], dx
mov dword [esp + 0x1c], edi
jmp 0x45bfc7
push 1
push 0
push eax
lea esi, [esp + 0x1c]
call fcn.004575e0
add esp, 0xc
test eax, eax
jne 0x45c02c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push eax
push ecx
push edx
call fcn.0045b4d0
add esp, 0x10
test dword [esp + 0x18], 0x2460
mov dword [ebp], eax
jne 0x45bff4
cmp dword [esp + 0x28], 0
je 0x45bffd
lea eax, [esp + 0x10]
call fcn.00456cc0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0x5447ac
push 0x1119b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
mov dword [ebp], 0
call fcn.0043d4f0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4ad3c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x610], edi
jle 0x4ad414
jmp 0x4ad3e0
mov eax, dword [esi + 0x60c]
mov byte [esp + 0x38], 0
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push eax
push ebp
push ebx
call edx
cmp byte [esp + 0x38], 0
jne 0x4ad4c9
inc edi
cmp edi, dword [esi + 0x610]
jl 0x4ad3e0
add ebx, 0xffffff00
cmp ebx, 6
ja case.0x4ad423.257
jmp dword [ebx*4 + 0x4ad5b8]
cmp dword [esi + 0x50c], 0
je case.0x4ad423.257
mov dword [esp + 0x10], 5
jmp 0x4ad54c
cmp ebp, 9
jne case.0x4ad423.257
cmp dword [esi + 0x50c], 0
je 0x4ad4b0
mov ecx, dword [esi + 0x50c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4ad4b0
mov ecx, dword [esi + 0x50c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
call edx
test al, al
je 0x4ad4b0
mov ecx, dword [esi + 0x50c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push str.RichEditUI
call edx
push eax
call fcn.0050a835
add esp, 8
test eax, eax
je 0x4ad4b0
mov eax, dword [esi + 0x50c]
cmp byte [eax + 0x689], 0
jne case.0x4ad423.257
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge cl
movzx edx, cl
push edx
mov eax, esi
call fcn.004b0520
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
xor eax, eax
xor ecx, ecx
push ebp
mov word [esp + 0x3c], ax
mov word [esp + 0x3e], cx
call fcn.00512267
mov ecx, dword [esi + 0x508]
add esp, 4
mov word [esp + 0x38], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
push 0x8000000a
lea eax, [esp + 0x3c]
push eax
push 0x4b16d0
call edx
mov esi, eax
test esi, esi
je case.0x4ad423.257
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
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 ebp
pop ebx
add esp, 0x20
ret 0xc
cmp dword [esi + 0x50c], 0
je case.0x4ad423.257
mov dword [esp + 0x10], 6
mov ecx, dword [esi + 0x520]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x51c]
mov word [esp + 0x24], bp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.004b2500
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50c]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x10]
push eax
call edx
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4b0010
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
cmp eax, ecx
je 0x4b0035
cmp edi, dword [esi + 0x50c]
je 0x4b0035
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x50c]
cmp edi, eax
je 0x4b014c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x4b00b2
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], edi
call ebx
mov ecx, dword [esi + 0x50c]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
lea edx, [esp + 8]
push edx
call eax
mov ecx, dword [esi + 0x50c]
push 0
push 0
push str.killfocus
mov edx, esi
call fcn.004b0820
mov dword [esi + 0x50c], 0
test edi, edi
je 0x4b014c
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
cmp eax, esi
jne 0x4b014c
mov edx, dword [edi]
mov eax, dword [edx + 0xc0]
mov ecx, edi
call eax
test al, al
je 0x4b014c
mov edx, dword [edi]
mov eax, dword [edx + 0xcc]
mov ecx, edi
call eax
test al, al
je 0x4b014c
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esi + 0x50c], edi
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], edi
call ebx
mov ecx, dword [esi + 0x50c]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x124]
lea eax, [esp + 8]
push eax
call edx
mov ecx, dword [esi + 0x50c]
push 0
push 0
push str.setfocus
mov edx, esi
call fcn.004b0820
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b2500
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
jge 0x4b2518
mov esi, 8
push 2
call edi
test ax, ax
jge 0x4b2524
or esi, 1
push 1
call edi
test ax, ax
jge 0x4b2530
or esi, 2
push 0x10
call edi
test ax, ax
jge 0x4b253c
or esi, 4
push 0x12
call edi
test ax, ax
jge 0x4b2548
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x4b4c30
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6a4
jmp fcn.004ea580
Function at 0x4bbba0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x55c4c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0x10], 0
push ebx
push esi
je 0x4bbc0c
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.00511f50
mov ebx, esp
test ebx, ebx
je 0x4bbc0c
mov ecx, dword [edi + 4]
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [edi + 0x10]
push 0xffffffffffffffff
add esi, 0x364
push ebx
call fcn.004b50c0
mov esi, dword [edi + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push 0
push 0
push str.textchanged
mov ecx, esi
call eax
mov ecx, esi
mov edx, eax
call fcn.004b0820
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050a231
mov esp, ebp
pop ebp
ret
Function at 0x4d8f40
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x24], edx
mov dword [esi + 0x7e0], eax
mov dword [esi + 0x7e4], 0
mov dword [esi + 0x28], ecx
mov dword [esi + 0x7e8], 6
test eax, eax
jne 0x4d8f9e
call fcn.004dc360
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push ebx
call eax
test edi, edi
je 0x4d8f9e
call fcn.004dc360
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
push edi
call eax
lea edi, [esi + 0x10]
call fcn.004dc360
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push edi
call eax
mov ecx, dword [esi + 0x7e0]
test ecx, ecx
jne 0x4d8fbd
mov eax, dword [ebx]
jmp 0x4d8fc6
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push 0x88
push SysReAllocString
push 0
push eax
mov eax, esi
call fcn.004abb90
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x4d8ffe
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x4d8ff2
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
pop ecx
ret 0x10
Function at 0x4dbc90
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6a4
jmp method.UiLib::CMenuUI.virtual_296
Function at 0x4dfca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
test ecx, ecx
jne 0x4dfcab
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x4dfd84
mov esi, edx
shr esi, 3
push edi
lea ecx, [ecx]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5383a0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x5383a0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x5383a0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5383a0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5383a0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5383a0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5383a0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5383a0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x4dfcc0
pop edi
test edx, edx
je 0x4dfdab
jmp 0x4dfd90
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5383a0]
inc ecx
sub edx, 1
jne 0x4dfd90
not eax
pop esi
ret

Function at 0x4e0540
Capabilities:
Read file on windows

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

Function at 0x4e1600
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [esi], 0
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
push edi
jne 0x4e1696
cmp dword [esi + 4], 0xffffffff
jne 0x4e1696
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4e1630
mov eax, dword [0x535e54]
mov dword [edi], eax
cmp ebx, 1
jne 0x4e165f
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, ebx
je 0x4e165f
mov eax, 0x2000000
pop edi
pop ebp
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
push ebp
mov edi, ebx
call fcn.004e0400
add esp, 0xc
test eax, eax
jne 0x4e1683
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
pop ecx
ret 0xc
call fcn.004e0920
mov dword [esi], eax
mov eax, dword [0x626d3c]
pop edi
pop ebp
pop ebx
pop ecx
ret 0xc
pop edi
pop ebp
mov eax, 0x1000000
pop ebx
pop ecx
ret 0xc
Function at 0x4e2790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5298b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edx, ecx
shr edx, 8
movzx eax, cl
movzx edx, dl
shr ecx, 0x10
or eax, 0xffffff00
movzx edx, dl
movzx ecx, cl
shl eax, 8
or eax, edx
movzx ecx, cl
shl eax, 8
or eax, ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x14]
push ecx
push 2
push 0x15
push 0x200
push 1
mov edi, eax
mov eax, dword [0x62772c]
push esi
mov dword [esp + 0x2c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x5c]
push esi
push eax
call edx
cmp eax, ebx
jl 0x4e2937
mov eax, dword [esp + 0x10]
mov ebp, eax
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x14]
mov dword [esp + 0x4c], ebx
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jge 0x4e2841
mov dword [esp + 0x4c], 0xffffffff
mov ecx, dword [ebp]
push ebp
jmp 0x4e2932
mov eax, dword [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x1c], ebp
push eax
mov eax, dword [esp + 0x58]
mov byte [esp + 0x50], 1
mov ecx, dword [0x62772c]
mov edx, dword [ecx]
push eax
push ecx
mov ecx, dword [edx + 0x80]
call ecx
cmp eax, ebx
jge 0x4e2885
mov byte [esp + 0x4c], bl
cmp ebp, ebx
je 0x4e2923
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
jmp 0x4e2923
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x4c]
call eax
cmp eax, ebx
jl 0x4e2912
cmp esi, ebx
mov ecx, dword [esp + 0x24]
jle 0x4e28cc
mov edx, esi
xor eax, eax
lea esp, [esp]
cmp dword [ecx + eax*4], edi
jne 0x4e28b8
mov dword [ecx + eax*4], ebx
inc eax
cmp eax, esi
jl 0x4e28b0
mov eax, dword [esp + 0x20]
shr eax, 2
sub edx, 1
lea ecx, [ecx + eax*4]
jne 0x4e28a7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [0x62772c]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x58]
push edx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x78]
call eax
mov byte [esp + 0x4c], bl
cmp ebp, ebx
je 0x4e2923
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x40
ret 4
Function at 0x4e6cd0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x684], 0
je 0x4e6d57
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
cmp edi, 0x100
jne 0x4e6d35
cmp bx, 0xd
jne 0x4e6d35
cmp byte [esi + 0x68a], 0
je 0x4e6d13
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4e6d35
cmp byte [esi + 0x68b], 0
jne 0x4e6d35
mov edx, dword [esi + 0x164]
test edx, edx
je 0x4e6d2d
push 0
push 0
push str.return
mov ecx, esi
call fcn.004b0820
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 0x684]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
ret 0x10
mov eax, 1
pop esi
ret 0x10
Function at 0x4f88f0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x98
push ebx
mov dword [edi + 0x10], eax
push ebp
mov dword [eax + 0x740], 0
cmp dword [edi + 4], 0
push esi
jne 0x4f8978
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ecx, dword [eax + 4]
mov ebp, dword [eax]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
sub ebx, ecx
push ebx
sub esi, ebp
push esi
push ecx
mov ecx, dword [eax]
push ebp
push 0
push 0x40000000
push 0
push ecx
mov eax, edi
call fcn.004abb90
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x654]
call eax
mov esi, eax
mov eax, ebx
call fcn.004b10b0
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, [esp + 0x20]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
sete bl
cmp eax, edx
je 0x4f89a5
push eax
call fcn.0050a8b9
add esp, 4
test bl, bl
je 0x4f89b8
mov eax, dword [edi + 0x10]
add eax, 0x730
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
add ecx, 0x730
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]
pop esi
pop ebp
mov byte [edi + 0x18], 1
pop ebx
add esp, 0x98
ret