joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9784
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0xc]
mov dword [edi], vtable.AccountWebBrower.0
mov dword [edi + 8], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
mov dword [ebp - 4], 0
mov byte [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push 5
push str.login
mov byte [edi + 0x30], 0
mov dword [edi + 4], eax
call fcn.00402820
push 0x24
call fcn.00490738
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x437920
push ecx
push edi
mov ecx, eax
call fcn.004376e0
mov esi, eax
jmp 0x437922
xor esi, esi
mov byte [ebp - 4], 2
mov dword [ebp + 8], esi
test esi, esi
je 0x43793c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 4
test esi, esi
je 0x437953
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 0x2c]
mov dword [edi + 0x2c], esi
test ecx, ecx
je 0x43796d
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
test esi, esi
je 0x437985
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x439c00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x439c12
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x439c29
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push ebx
call fcn.00498894
mov esi, eax
add esp, 8
test esi, esi
je 0x439ca2
push esi
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x439c99
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x439c99
cmp dword [ebp - 4], 0
je 0x439c99
push 0x14
call fcn.00490738
add esp, 4
test eax, eax
je 0x439ca2
mov edx, dword [ebp - 4]
movzx ecx, word [edx + 2]
push ecx
movzx ecx, word [edx]
push ecx
push esi
mov ecx, eax
call fcn.00439a20
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0049102d
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a020
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4e54c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov dword [ebp - 0x224], eax
movzx eax, word [edi + 8]
mov word [ebp - 0x14], ax
movzx eax, word [edi + 0xc]
mov word [ebp - 0x12], ax
call esi
mov word [ebp - 0x10], ax
movzx eax, word [edi + 0xc]
mov word [ebp - 0xe], ax
movzx eax, word [edi + 8]
mov word [ebp - 0xc], ax
mov eax, 0x4e4
mov word [ebp - 0xa], ax
call esi
mov word [ebp - 8], ax
xor esi, esi
mov eax, 0x4e4
mov word [ebp - 6], ax
lea ebx, [ebx]
movzx eax, word [ebp + esi*2 - 0x12]
movzx ecx, word [ebp + esi*2 - 0x14]
add esi, 2
push ebx
push eax
push ecx
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00498f93
add esp, 0x1c
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43a0f4
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x43a10e
cmp esi, 8
jb 0x43a090
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004906bc
mov esp, ebp
pop ebp
ret 8
cmp word [edx], 0
jne 0x43a138
mov ecx, dword [ebp - 0x224]
xor eax, eax
push eax
push edx
call fcn.00403740
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004906bc
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a140
mov ecx, dword [ebp - 0x224]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.00403740
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004906bc
mov esp, ebp
pop ebp
ret 8

Function at 0x43a180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b9c88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4e54c0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4e54c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x10]
push edx
push eax
call fcn.0043a020
mov ecx, esi
test al, al
je 0x43a1fb
lea eax, [esp + 0x10]
push eax
call fcn.0040af90
jmp 0x43a219
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
push 0x4d15c0
mov word [esi], ax
call fcn.00403740
cmp dword [esp + 0x24], 8
jb 0x43a22c
push dword [esp + 0x10]
call fcn.0048fa72
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004906bc
mov esp, ebp
pop ebp
ret 8
Function at 0x43a2e0
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32FirstW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov edi, edi
push 0x22c
push 0
push edi
call fcn.00491b10
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
push dword [esi + 4]
jne 0x43a318
mov byte [esi + 8], 1
call ebx
jmp 0x43a31e
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x43a33a
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
je 0x43a2f0
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x43ae70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4e54c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [edx + 4]
mov edx, dword [edx]
mov esi, ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.0043ab50
add esp, 4
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x70]
call fcn.0043ac70
lea edx, [ebp - 0x70]
mov ecx, esi
call fcn.0043ad80
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004906bc
mov esp, ebp
pop ebp
ret

Function at 0x43f8e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba578
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x43f958
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
call dword [eax]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
push 5
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43f947
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43f970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba578
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4e54c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x43f9e8
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
call dword [eax]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
push 0
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43f9d7
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x459fc0
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 0x459fe3
or esi, 2
push 1
call edi
test ax, ax
jns 0x459fef
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x459ffb
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x45a007
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x45d142
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x45d17d
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x45d17d
cmp esi, dword [ebx + 0xe4]
je 0x45d17d
cmp byte [ebx + 0xdc], 0
jne 0x45d17d
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe4]
cmp esi, eax
je 0x45d258
push edi
test eax, eax
je 0x45d1de
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0xe4]
call fcn.0045cdf9
mov dword [ebx + 0xe4], edi
test esi, esi
je 0x45d257
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x45d257
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x45d257
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x45d257
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0xe4], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
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, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0xe4]
call fcn.0045cdf9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4609f4
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 0x460a26
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 0x460e69
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4bb1d2
call fcn.00495cbe
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.004611fc
call fcn.00459cc8
push eax
lea ecx, [ebp - 0x94]
call fcn.00457947
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00459cce
mov ecx, eax
call fcn.00458076
test al, al
je 0x460f7f
push ebx
lea ecx, [ebp - 0x94]
call fcn.00457b72
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00457f19
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x460ef0
push str.Error_opening_file
jmp 0x461060
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x460ff9
cmp edi, 0x400000
ja 0x46100a
and dword [ebp - 0x2c8], 0
push edi
call fcn.0048fe65
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x460f68
push ebx
call fcn.00491132
pop ecx
mov ecx, esi
call fcn.004611fc
push 0
push str.Could_not_read_file
jmp 0x461060
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004610af
push dword [ebp - 0x2cc]
jmp 0x46108e
call fcn.00459cce
push eax
lea ecx, [ebp - 0x94]
call fcn.00457b55
call fcn.00459e90
test al, al
je 0x460fa0
call fcn.00459cd4
jmp 0x460fb7
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00457f19
push eax
call fcn.00482f7d
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x460fc8
push eax
push str.Error_opening_zip_file
jmp 0x461060
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.004829ae
add esp, 0x14
test eax, eax
je 0x460fef
push 0
push str.Could_not_find_ziped_file
jmp 0x461060
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x461002
push 0
push str.File_is_empty
jmp 0x461060
cmp ebx, 0x400000
jbe 0x461013
push 0
push str.File_too_large
jmp 0x461060
push ebx
call fcn.0048fe65
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00483332
add esp, 0x18
test eax, eax
je 0x46106b
cmp eax, 0x600
je 0x46106b
push dword [ebp - 0x2c8]
call fcn.00491132
pop ecx
call fcn.00459e90
test al, al
jne 0x461059
push edi
call fcn.00482810
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00461224
mov bl, al
jmp 0x461096
call fcn.00459e90
test al, al
jne 0x46107b
push edi
call fcn.00482810
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.004610af
push edi
mov bl, al
call fcn.00491132
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00457a51
mov al, bl
call fcn.00495c7c
ret 8
Function at 0x4794df
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e54c0]
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.0045e978
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x47955b
lea eax, [ebp - 0x14]
push eax
call fcn.00478ab0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x479537
push 0
call fcn.004827e3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47955b
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.004827e3
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004906bc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47956c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4e54c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4795f6
cmp dword [esi + 0x10], 0
je 0x4795f6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00496980
mov ebx, esp
test ebx, ebx
je 0x4795f6
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.00457ae9
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.0045cdf9
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00459e9d
test al, al
je 0x4795f6
mov ecx, dword [esi + 0x10]
call fcn.0045e892
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004906bc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x479c43
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e54c0]
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.0045ff09
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x479cc7
lea eax, [ebp - 0x14]
push eax
call fcn.00478ab0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x479ca3
push 0
call fcn.004827e3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x479cc7
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.004827e3
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.004906bc
mov esp, ebp
pop ebp
ret 0x14

Function at 0x47e8d2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x47e93e
cmp dword [ebp + 8], 0x100
jne 0x47e92d
cmp word [ebp + 0xc], 0xd
jne 0x47e92d
cmp byte [esi + 0x69a], 0
je 0x47e912
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x47e92d
cmp byte [esi + 0x69b], 0
jne 0x47e92d
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x47e929
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0045cdf9
xor eax, eax
jmp 0x47e941
mov eax, dword [esi + 0x694]
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 0x47f1cd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e54c0]
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.0045e978
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x47f249
lea eax, [ebp - 0x14]
push eax
call fcn.0047ed33
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x47f225
push 0
call fcn.004827e3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47f249
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.004827e3
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004906bc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47f331
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e54c0]
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.0045ff09
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x47f3b5
lea eax, [ebp - 0x14]
push eax
call fcn.0047ed33
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x47f391
push 0
call fcn.004827e3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47f3b5
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.004827e3
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.004906bc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4821a3
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2cc
mov eax, 0x4bc030
call fcn.00495cbe
mov dword [ebp - 0x2d8], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2d0], ebx
call fcn.00459cc8
push eax
lea ecx, [ebp - 0x94]
call fcn.00457947
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00459cce
mov ecx, eax
call fcn.00458076
test al, al
je 0x482291
push ebx
lea ecx, [ebp - 0x94]
call fcn.00457b72
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00457f19
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x482234
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00457a51
jmp 0x482372
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x482220
push esi
mov dword [ebp - 0x2cc], edi
call fcn.0048fe65
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2cc]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], esi
je 0x48235d
push edi
call fcn.00491132
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00457a51
jmp 0x482370
call fcn.00459cce
push eax
lea ecx, [ebp - 0x94]
call fcn.00457b55
call fcn.00459e90
test al, al
je 0x4822b2
call fcn.00459cd4
jmp 0x4822c9
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00457f19
push eax
call fcn.00482f7d
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x482220
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2d0]
push ebx
call fcn.004829ae
add esp, 0x14
test eax, eax
jne 0x482220
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x482220
push esi
call fcn.0048fe65
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push ebx
call fcn.00483332
add esp, 0x18
test eax, eax
je 0x48234d
cmp eax, 0x600
je 0x48234d
push edi
call fcn.00491132
pop ecx
call fcn.00459e90
test al, al
jne 0x48227d
push ebx
call fcn.00482810
jmp 0x48227c
call fcn.00459e90
test al, al
jne 0x48235d
push ebx
call fcn.00482810
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00457a51
test edi, edi
jne 0x4823e4
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4823e0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4823e0
push esi
mov dword [ebp - 0x2c8], edi
call fcn.0048fe65
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2c8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], esi
je 0x4823dc
push edi
call fcn.00491132
pop ecx
xor edi, edi
test edi, edi
jne 0x4823e4
xor eax, eax
jmp 0x4823fc
mov ecx, dword [ebp - 0x2d8]
push esi
push edi
call fcn.00482404
push edi
mov esi, eax
call fcn.0048fa72
pop ecx
mov eax, esi
call fcn.00495c7c
ret 4