joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431541
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
test esi, esi
je 0x431551
and dword [esi], 0
and dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x1001
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
test eax, eax
je 0x43157c
mov ecx, dword [ebp + 0x10]
push str.open_file_failed
call fcn.00404c60
jmp 0x4315cd
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 8]
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
call fcn.004311e9
pop ecx
pop ecx
mov byte [esp + 7], al
test esi, esi
je 0x4315a5
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esp + 7], 0
je 0x4315c4
cmp dword [esp + 0xc], 0xc8
jne 0x4315c4
mov al, 1
jmp 0x4315cf
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x431642
Capabilities:
Check if file exists

Disassembly:
push 0xac
mov eax, 0x4895a8
call fcn.00470d2a
mov eax, dword [ebp + 8]
and dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x80], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x4316b8
push edi
lea ecx, [ebp - 0x9c]
call fcn.004042e0
and dword [ebp - 4], 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x78], ebx
call fcn.00401340
cmp dword [eax + 0x18], 8
pop ecx
mov dword [ebp - 0x78], 3
jb 0x4316a7
mov eax, dword [eax + 4]
jmp 0x4316aa
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x71], bl
test eax, eax
je 0x4316bc
mov byte [ebp - 0x71], 0
test byte [ebp - 0x78], 2
je 0x4316d1
and dword [ebp - 0x78], 0xfffffffd
lea esi, [ebp - 0xb8]
call fcn.00404450
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x78], bl
je 0x4316e5
lea ecx, [ebp - 0x9c]
call fcn.00404350
cmp byte [ebp - 0x71], 0
je 0x4316ef
xor al, al
jmp 0x431739
lea esi, [ebp - 0x70]
call fcn.00431813
push dword [ebp - 0x80]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.00404c60
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x70], bl
call fcn.00404c60
mov eax, esi
push eax
mov eax, dword [ebp - 0x7c]
add eax, 0x3c
call fcn.004323e8
lea ecx, [ebp - 0x34]
call fcn.00404350
lea ecx, [ebp - 0x50]
call fcn.00404350
lea ecx, [ebp - 0x6c]
call fcn.00404350
mov al, bl
call fcn.00470dad
ret 8
Function at 0x432e47
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00432cc6
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
pop esi
leave
ret

Function at 0x4330ff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x433119
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x433115
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433242
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.00433408
mov bl, al
mov al, dl
call fcn.00433408
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.00433408
mov bl, al
mov al, byte [esi - 4]
call fcn.00433408
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.00433408
mov bl, al
mov al, byte [esi]
call fcn.00433408
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.00433408
mov bl, al
mov al, byte [esi - 0xc]
call fcn.00433408
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x43326a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fab6
leave
ret 4
Function at 0x4332f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.00433484
push ebx
mov dl, al
call fcn.0043345d
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.00433418
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.00433436
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.00433418
push ebx
mov byte [ebp - 0x15], al
call fcn.00433436
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.0043345d
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.00433484
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.0043345d
mov bl, al
mov al, byte [edi + 4]
call fcn.00433484
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.00433436
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.00433418
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.00433436
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.00433418
xor bl, al
mov al, dl
call fcn.00433484
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.0043345d
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x433323
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fab6
leave
ret 4
Function at 0x433afb
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x488202
call fcn.00470d2a
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x30], esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433b1a
sub eax, edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.004054f0
mov dword [ebp - 4], esi
cmp dword [ebp - 0x30], esi
jbe 0x433c1e
jmp 0x433b47
mov ebx, dword [ebp + 0xc]
movsx eax, byte [esi + ebx]
mov al, byte [eax + 0x494968]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x433b5b
cmp al, 0xff
je 0x433b47
cmp al, 0xff
je 0x433c1e
movsx ecx, byte [esi + ebx]
mov cl, byte [ecx + 0x494968]
inc esi
mov byte [ebp - 0x31], cl
cmp esi, dword [ebp - 0x30]
jae 0x433b7b
cmp cl, 0xff
je 0x433b63
cmp cl, 0xff
je 0x433c1e
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.0041f621
jmp 0x433ba2
mov ebx, dword [ebp + 0xc]
mov bl, byte [esi + ebx]
inc esi
cmp bl, 0x3d
je 0x433c1e
movsx eax, bl
mov bl, byte [eax + 0x494968]
cmp esi, dword [ebp - 0x30]
jae 0x433bbe
cmp bl, 0xff
je 0x433b9f
cmp bl, 0xff
je 0x433c1e
mov al, byte [ebp - 0x31]
mov cl, bl
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.0041f621
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x433c1e
movsx eax, al
mov al, byte [eax + 0x494968]
cmp esi, dword [ebp - 0x30]
jae 0x433bfe
cmp al, 0xff
je 0x433be1
cmp al, 0xff
je 0x433c1e
shl bl, 6
or bl, al
movzx eax, bl
push eax
push 1
lea edi, [ebp - 0x2c]
call fcn.0041f621
cmp esi, dword [ebp - 0x30]
jb 0x433b44
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.00404320
lea ecx, [ebp - 0x2c]
call fcn.00404350
mov eax, dword [ebp - 0x38]
call fcn.00470dad
ret
Function at 0x434052
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c8
mov eax, 0x48ad7d
call fcn.00470d2a
mov eax, dword [ebp + 8]
mov edi, ecx
mov esi, edi
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2cc], eax
call fcn.00434280
push 0x4ab100
lea eax, [ebp - 0x98]
call fcn.00435ff5
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4ab188]
cmp word [eax], bx
jne 0x434191
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x98]
push eax
call fcn.00436271
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4340f9
push str.Error_opening_file
mov eax, edi
call fcn.00434ac2
mov bl, al
lea ecx, [ebp - 0x98]
call fcn.00436015
mov al, bl
call fcn.00470dad
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x43410e
push ebx
push str.File_is_empty
jmp 0x4340db
cmp esi, 0x400000
jbe 0x43411e
push ebx
push str.File_too_large
jmp 0x4340db
push esi
mov dword [ebp - 0x2cc], ebx
call fcn.0047c12c
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x2cc]
push eax
push esi
push edi
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], esi
je 0x434176
push edi
call fcn.0047cf62
mov esi, dword [ebp - 0x2d4]
pop ecx
call fcn.00434280
push ebx
push str.Could_not_read_file
mov eax, esi
jmp 0x4340dd
push esi
push edi
push dword [ebp - 0x2d4]
call fcn.00433fc7
push edi
mov bl, al
call fcn.0047cf62
pop ecx
jmp 0x4340e4
push eax
lea eax, [ebp - 0x98]
call fcn.00436026
cmp byte [0x4aa6c7], bl
je 0x4341ad
mov esi, dword [0x4ae320]
jmp 0x4341c0
push 2
push ebx
push dword [ebp - 0x98]
call fcn.0044d584
add esp, 0xc
mov esi, eax
cmp esi, ebx
jne 0x4341cf
push ebx
push str.Error_opening_zip_file
jmp 0x4340db
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c8]
push eax
push esi
lea edx, [ebp - 0x2d0]
call fcn.0044d5e2
pop ecx
pop ecx
test eax, eax
je 0x4341f9
push ebx
push str.Could_not_find_ziped_file
jmp 0x4340db
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2cc], eax
cmp eax, ebx
je 0x434106
cmp eax, 0x400000
ja 0x434116
push eax
call fcn.0047c12c
pop ecx
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
mov eax, esi
call fcn.0044d6b4
add esp, 0xc
cmp eax, ebx
je 0x434268
cmp eax, 0x600
je 0x434268
push edi
call fcn.0047cf62
pop ecx
cmp byte [0x4aa6c7], bl
jne 0x434257
call fcn.0044d6e6
mov eax, dword [ebp - 0x2d4]
push ebx
push str.Could_not_unzip_file
jmp 0x4340dd
cmp byte [0x4aa6c7], bl
jne 0x434275
call fcn.0044d6e6
push dword [ebp - 0x2cc]
jmp 0x434177
Function at 0x4369bc
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x4369d2
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x4369de
or edi, 2
push 1
call esi
test ax, ax
jge 0x4369ea
or edi, 1
push 0x10
call esi
test ax, ax
jge 0x4369f6
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x436a02
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x437546
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x2dc], edi
jle 0x437589
mov eax, dword [esi + 0x2d8]
lea edx, [ebp + 0xf]
push edx
push dword [ebp + 0x10]
mov byte [ebp + 0xf], 0
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
push ebx
push dword [ebp + 8]
call dword [eax]
cmp byte [ebp + 0xf], 0
jne 0x4375f7
inc edi
cmp edi, dword [esi + 0x2dc]
jl 0x43755e
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x43765c
sub eax, 4
je 0x4375fb
dec eax
dec eax
jne 0x437653
cmp dword [esi + 0xe4], eax
je 0x437653
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
push ebx
stosw word es:[edi], ax
call fcn.0047d477
pop ecx
mov ecx, dword [esi + 0xe4]
push 0x80000012
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x43bae8
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x437653
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov al, 1
jmp 0x437655
mov edx, dword [esi + 0xe8]
test edx, edx
je 0x437653
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], edx
mov word [ebp - 0x10], bx
mov dword [ebp - 0x14], eax
call fcn.004369bc
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp ebx, 9
jne 0x437653
cmp dword [esi + 0xe8], 0
je 0x4376b9
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x4376b9
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
call dword [eax + 0xe8]
test al, al
je 0x4376b9
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
push str.RichEdit
call dword [eax + 0x10]
push eax
call fcn.0047da42
pop ecx
pop ecx
test eax, eax
je 0x4376b9
mov eax, dword [esi + 0xe8]
cmp byte [eax + 0x699], 0
jne 0x437653
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
call fcn.0043a256
jmp 0x4375f7
Function at 0x439e1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
je 0x439e5b
mov ecx, dword [esi + 0x84]
cmp eax, ecx
je 0x439e5b
cmp ebx, dword [esi + 0xe8]
je 0x439e5b
cmp byte [esi + 0xe0], 0
jne 0x439e5b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xe8]
cmp ebx, eax
je 0x439f3a
test eax, eax
je 0x439ebe
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
xor edi, edi
push edi
push edi
push edi
push dword [esi + 0xe8]
mov ecx, str.killfocus
call fcn.0043a547
mov dword [esi + 0xe8], edi
test ebx, ebx
je 0x439f3a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
cmp eax, esi
jne 0x439f3a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xdc]
test al, al
je 0x439f3a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
je 0x439f3a
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esi + 0xe8], ebx
mov dword [esp + 0x10], 0x15
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
xor eax, eax
push eax
push eax
push eax
push dword [esi + 0xe8]
mov ecx, str.setfocus
call fcn.0043a547
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4417d9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, str.selected
push esi
mov si, word [eax]
cmp si, word [edx]
jne 0x441809
test si, si
je 0x441805
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x441809
add eax, 4
add edx, 4
test si, si
jne 0x4417e3
xor eax, eax
jmp 0x44180e
sbb eax, eax
sbb eax, 0xffffffff
pop esi
test eax, eax
jne 0x441825
add ecx, 0x658
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0x1c]
ret 8
jmp fcn.00448bc5
Function at 0x44ba04
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, dword [esp + 8]
test ecx, ecx
jne 0x44ba11
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x44bac3
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4943e0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4943e0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4943e0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4943e0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4943e0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4943e0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4943e0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4943e0]
inc ecx
sub edi, 8
dec esi
jne 0x44ba28
pop ebx
test edi, edi
je 0x44badc
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x4943e0]
inc ecx
dec edi
jne 0x44bac7
pop esi
not eax
pop edi
ret

Function at 0x44c247
Capabilities:
Read file on windows

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

Function at 0x44cf46
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
push esi
push edi
jne 0x44cfc9
cmp dword [ebx + 4], 0xffffffff
jne 0x44cfc9
lea esi, [ebx + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec esi
dec esi
mov ax, word [esi + 2]
inc esi
inc esi
test ax, ax
jne 0x44cf6f
mov edi, esi
mov esi, 0x4929ec
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x14]
cmp edi, 1
jne 0x44cf9e
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, edi
je 0x44cf9e
mov eax, 0x2000000
jmp 0x44cfce
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0044c0bf
add esp, 0xc
test eax, eax
jne 0x44cfb9
mov eax, dword [ebp + 0xc]
jmp 0x44cfce
push eax
call fcn.0044c4bc
mov dword [ebx], eax
mov eax, dword [0x4ae41c]
pop ecx
jmp 0x44cfce
mov eax, 0x1000000
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x4540c9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x694], ebx
je 0x454135
cmp dword [ebp + 8], 0x100
jne 0x454124
cmp word [ebp + 0xc], 0xd
jne 0x454124
cmp byte [edi + 0x69a], bl
jne 0x454107
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x454124
cmp byte [edi + 0x69b], bl
je 0x454124
push esi
mov esi, dword [edi + 0x5c]
cmp esi, ebx
je 0x45411f
push 1
push ebx
push ebx
push ebx
push edi
mov ecx, str.return
call fcn.0043a547
xor eax, eax
pop esi
jmp 0x454138
mov eax, dword [edi + 0x694]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop edi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x45aa2f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebx + 0x10], esi
call fcn.0045abe1
mov ecx, dword [ebx + 0x10]
mov esi, dword [esi + 0x6f0]
mov eax, dword [ecx + 0x668]
or esi, 0x40000080
mov dword [ebp + 8], esi
test al, 1
je 0x45aa6e
or esi, 1
jmp 0x45aa75
test al, 2
je 0x45aa78
or esi, 2
mov dword [ebp + 8], esi
cmp byte [ecx + 0x6e1], 0
je 0x45aa87
or esi, 0x20
mov dword [ebp + 8], esi
mov eax, dword [ecx]
call dword [eax + 0x24]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push dword [ebp + 8]
push dword [eax + 0x84]
push ebx
call fcn.00434cb2
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x664]
cmp eax, 0xffffffff
je 0x45aac9
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, eax
call fcn.0043ac3f
cmp eax, edi
jne 0x45aad8
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
call fcn.0043a82a
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push edi
push dword [eax + 0x6dc]
push 0xc5
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x6e1], 0
je 0x45ab1b
movzx eax, word [eax + 0x6e4]
push edi
push eax
push 0xcc
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax + 0x38]
push dword [eax]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x98]
call fcn.00436015
push edi
push edi
push 0xb9
push dword [ebx + 4]
call esi
push edi
push 3
push 0xd3
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xe8]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp byte [eax + 0x6e0], 1
push edi
sete cl
push ecx
push 0xcf
push dword [ebx + 4]
call esi
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x6e2], 0
push dword [ebx + 4]
je 0x45abc4
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jne 0x45abc0
xor eax, eax
inc eax
push eax
push edi
jmp 0x45abcc
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [ebx + 4]
call esi
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 4