joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d3310
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x10c0
call fcn.005d9990
push esi
push edi
xor esi, esi
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
push str.main
push esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00528740
mov edx, dword [0x6a0f40]
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
add esp, 0x28
lea ecx, [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x3c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [0x698408], esi
je 0x4d33ad
mov eax, dword [0x6a0f40]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4d33ad
mov ecx, dword [esp + 0x38]
and cl, 2
neg cl
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 8], ecx
jmp 0x4d33df
mov edx, dword [0x6a0f40]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4d33c8
mov dword [esp + 8], 1
jmp 0x4d33df
mov eax, dword [0x6a0f40]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and eax, 2
mov dword [esp + 8], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x4d33ff
mov ecx, dword [esp + 0x38]
and cl, 2
neg cl
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 8], ecx
cmp dword [esp + 8], esi
jne 0x4d3428
mov eax, dword [0x6a0f40]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x4d3438
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x10]
push edi
sub ecx, esi
push ecx
push esi
sub eax, edx
push eax
push edx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x7c]
push str._d__d__d__d__d__d__d
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
call fcn.005d9929
push 0x66c768
lea edx, [esp + 0x88]
push edx
push str.main
push str.windows
call fcn.004cdea0
add esp, 0x34
pop edi
pop esi
add esp, 0x10c0
ret
Function at 0x4e6840
Capabilities:
Set registry value

Disassembly:
mov eax, 0x20d4
call fcn.005d9990
mov eax, dword [0x636b78]
test eax, eax
je 0x4e68f8
lea eax, [esp + 0x106c]
push 0x1068
push eax
call fcn.004232e0
lea ecx, [esp + 0xc]
push 0x1068
push ecx
call fcn.004232e0
mov eax, dword [esp + 0x20e8]
lea edx, [esp + 0x107c]
add esp, 0x10
sub edx, eax
jmp 0x4e6890
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4e6890
lea edx, [esp + 0x106c]
push edx
call fcn.005f2394
mov eax, dword [esp + 0x20e0]
push eax
lea ecx, [esp + 0xc]
push 0x1068
push ecx
call fcn.00425550
lea edx, [esp + 0x14]
push str.fnord
push edx
call fcn.0041e5e0
push 0x66c768
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x108c]
push ecx
push str.user
call fcn.004cdea0
add esp, 0x28
mov eax, 1
add esp, 0x20d4
ret
lea edx, [esp]
push edx
push 0x5fb460
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4e691a
xor eax, eax
add esp, 0x20d4
ret
mov edx, dword [esp + 0x20dc]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e6927
mov ecx, dword [esp + 4]
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x20e0]
push edx
push 1
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x20d4
ret

Function at 0x4e6970
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1070
call fcn.005d9990
push esi
mov esi, dword [esp + 0x107c]
push edi
xor eax, eax
mov ecx, 0x41a
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x636b78]
test eax, eax
je 0x4e6a3d
lea eax, [esp + 0x10]
push 0x1068
push eax
call fcn.004232e0
add esp, 8
push 0x66c768
lea ecx, [esp + 0x14]
push 0x1068
push ecx
call fcn.00423310
add esp, 8
push eax
mov eax, dword [esp + 0x1084]
lea edx, [esp + 0x18]
push edx
push 0x5f4c90
push eax
push str.user
call fcn.004ce2e0
mov al, byte [esp + 0x28]
add esp, 0x18
test al, al
jne 0x4e69f7
pop edi
xor eax, eax
pop esi
add esp, 0x1070
ret
lea ecx, [esp + 0x10]
push str.fnord
push ecx
call fcn.0041e6b0
mov al, byte [esp + 0x18]
add esp, 8
test al, al
je 0x4e69ec
mov edx, esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x1046], 0
lea eax, [esp + 0x10]
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4e6a25
pop edi
mov eax, 1
pop esi
add esp, 0x1070
ret
lea edx, [esp + 8]
push edx
push 0x5fb460
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4e69ec
mov ecx, dword [esp + 0x107c]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x1c], 0x1036
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
add esp, 0x1070
ret
Function at 0x4e6aa0
Capabilities:
Delete registry key

Disassembly:
push ecx
mov eax, dword [0x636b78]
test eax, eax
je 0x4e6aca
mov eax, dword [esp + 8]
push 0x66c768
push 0
push eax
push str.user
call fcn.004cdea0
add esp, 0x10
mov eax, 1
pop ecx
ret
lea ecx, [esp]
push ecx
push 0x5fb460
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4e6ae7
xor eax, eax
pop ecx
ret
mov edx, dword [esp + 8]
mov eax, dword [esp]
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret
Function at 0x4e9ed0
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp byte [edi], 0
jne 0x4e9ede
xor eax, eax
pop edi
ret
push esi
push 0x5b
push edi
call fcn.005d9b20
mov esi, eax
add esp, 8
test esi, esi
je 0x4e9fdf
inc esi
push 0x5d
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4e9fdf
mov byte [eax], 0
cmp byte [esi], 0
je 0x4e9fdf
push 0x2e
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4e9fdf
push esi
call fcn.005d9a55
add esp, 4
test eax, eax
jle 0x4e9f7f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
push esi
jns 0x4e9f48
push str.__.server__m__s
jmp 0x4e9f4d
push str.__.server__s
push 0x676ee8
call fcn.005d9929
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push 0x676ee8
push eax
call fcn.00448030
add esp, 0x1c
pop esi
mov eax, 1
pop edi
ret
cmp byte [edi], 9
mov eax, edi
jne 0x4e9f8f
mov cl, byte [eax + 1]
inc eax
cmp cl, 9
je 0x4e9f86
cmp byte [eax], 0x2a
jne 0x4e9fdf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
push esi
jns 0x4e9fa8
push str.__.server__m__s
jmp 0x4e9fad
push str.__.server__s
push 0x676ee8
call fcn.005d9929
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0x676ee8
push ecx
call fcn.00448030
add esp, 0x1c
pop esi
mov eax, 1
pop edi
ret
cmp byte [edi], 9
mov esi, edi
jne 0x4e9fee
mov al, byte [esi + 1]
inc esi
cmp al, 9
je 0x4e9fe6
cmp byte [esi], 0x2a
jne 0x4ea01e
mov edx, dword [0x63ca9c]
push edx
push 0
push 0xe11
call fcn.00424130
add esp, 8
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
call fcn.0052eb30
add esp, 0xc
pop esi
xor eax, eax
pop edi
ret
push 0x20
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4ea019
push 0x10
mov byte [eax], 0
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
push esi
jns 0x4ea044
push str.__.server__m__s
jmp 0x4ea049
push str.__.server__s
push 0x676ee8
call fcn.005d9929
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0x676ee8
push edx
call fcn.00448030
add esp, 0x1c
pop esi
mov eax, 1
pop edi
ret
Function at 0x4eb920
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x438
push ebx
mov ebx, dword [esp + 0x440]
push ebx
call fcn.0058ed20
add esp, 4
test eax, eax
je 0x4eb999
mov eax, dword [ebx + 0x12ac]
cmp eax, 0xffffffff
je 0x4eb94d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x12ac], 0xffffffff
mov eax, dword [0x673f88]
test eax, eax
je 0x4eb96f
lea eax, [ebx + 0xa3a]
push eax
call fcn.004eb6e0
add esp, 4
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
lea ecx, [ebx + 0xa3a]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebx + 0x12ac], eax
jne 0x4eb9a3
xor eax, eax
pop ebx
add esp, 0x438
ret
push esi
push 2
push 0
push 0
push eax
call fcn.0049d260
mov eax, dword [esp + 0x458]
add esp, 0x10
test eax, eax
je 0x4ebb12
mov al, byte [0x5f4c8e]
mov dx, word [0x5f4c8c]
mov byte [esp + 0xe], al
lea eax, [esp + 0xc]
mov word [esp + 0xc], dx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eb9e0
sub eax, edx
push 0
mov esi, eax
call fcn.005daa26
push eax
call fcn.00563af0
add esp, 8
push eax
push 0
push 0xe75
call fcn.00424130
add esp, 8
push eax
lea ecx, [esp + esi + 0x14]
push str._s__s_r_n
push ecx
call fcn.005d9929
lea eax, [esp + 0x1c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eba25
mov ecx, dword [ebx + 0x12ac]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, edx
push 0
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
push 0
push 0xe7d
call fcn.00424130
push eax
lea edx, [esp + 0x1c]
push 0x5f573c
push edx
call fcn.005d9929
mov eax, dword [ebx + 0x1314]
add esp, 0x14
cmp eax, 2
jne 0x4eba9e
mov eax, dword [ebx + 0x1318]
cmp eax, 3
je 0x4eba85
cmp eax, 4
jne 0x4eba9e
lea esi, [ebx + 8]
push 0x20
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
jne 0x4eba9b
mov eax, esi
jmp 0x4ebaa1
inc eax
jmp 0x4ebaa1
lea eax, [ebx + 8]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebaa3
push edi
lea edi, [esp + 0x14]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4ebab2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4ebad0
mov ax, word [0x5f4c8c]
mov cl, byte [0x5f4c8e]
mov word [edi], ax
lea eax, [esp + 0x14]
mov byte [edi + 2], cl
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebaf2
mov ecx, dword [ebx + 0x12ac]
sub eax, edx
push 0
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
pop ebp
mov eax, dword [0x673f78]
mov esi, 1
cmp eax, esi
jne 0x4ebb37
mov edx, dword [ebx + 0x12ac]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x12ac], 0xffffffff
mov dword [ebx + 0x12a0], esi
mov eax, esi
pop esi
pop ebx
add esp, 0x438
ret
Function at 0x4ebb50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x440
push esi
mov esi, dword [esp + 0x448]
push esi
call fcn.0058ed20
add esp, 4
test eax, eax
je 0x4ebc94
cmp dword [esi + 0x12ac], 0xffffffff
mov dword [esi + 0x12a0], 0
jne 0x4ebbbf
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
lea eax, [esi + 0xa3a]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x12ac], eax
je 0x4ebc94
push 2
push 0
push 0
push eax
call fcn.0049d260
add esp, 0x10
push edi
mov edi, dword [esp + 0x450]
test edi, edi
je 0x4ebc28
push 0
call fcn.005daa26
push eax
call fcn.00563af0
add esp, 8
push eax
push 0
push 0xe76
call fcn.00424130
add esp, 8
push eax
lea ecx, [esp + 0x1c]
push str._s__s_r_n
push ecx
call fcn.005d9929
lea eax, [esp + 0x24]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebc05
mov ecx, dword [esi + 0x12ac]
sub eax, edx
push 0
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi + 0x12ac]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
mov dword [esi + 0x12ac], 0xffffffff
je 0x4ebc93
lea eax, [esp + 8]
push eax
push esi
push 3
lea edi, [esi + 0xa3a]
push 1
push edi
mov dword [esp + 0x1c], 0
call fcn.004e9440
add esp, 0x14
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4ebc86
mov eax, dword [esp + 8]
test eax, eax
jne 0x4ebc86
push edi
call fcn.00424990
add esp, 4
pop edi
pop esi
add esp, 0x440
ret
lea ecx, [esp + 0xc]
push ecx
call fcn.004e8c50
add esp, 4
pop edi
pop esi
add esp, 0x440
ret
Function at 0x4ed5a0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x11a8
call fcn.005d9990
push esi
mov esi, dword [esp + 0x11b0]
push edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x14b
push 0x6d
push esi
call edi
mov eax, dword [0x67feb0]
test eax, eax
mov byte [esp + 0x148], 0
je 0x4ed5f9
lea ecx, [esp + 0x148]
push ecx
push 0x198
push eax
call fcn.00423e20
mov al, byte [esp + 0x154]
add esp, 0xc
test al, al
jne 0x4ed612
xor eax, eax
jmp 0x4ed600
mov cl, byte [eax + 0x673f98]
mov byte [esp + eax + 0x148], cl
inc eax
test cl, cl
jne 0x4ed600
push ebp
lea edx, [esp + 0x14c]
push edx
push str._s.
push 0x67feb8
call fcn.005d9929
add esp, 0xc
push str.Main_folder
push 0
push 0x143
push 0x6d
push esi
call edi
lea eax, [esp + 0xc]
push eax
push 0x67feb8
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4ed6cb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea esp, [esp]
test byte [esp + 0x10], 0x10
je 0x4ed6b7
cmp byte [esp + 0x3c], 0x2e
je 0x4ed6b7
xor eax, eax
mov cl, byte [esp + eax + 0x3c]
mov byte [eax + 0x67feb8], cl
inc eax
test cl, cl
jne 0x4ed670
push 0x67feb8
push 0
push 0x158
push 0x6d
push esi
call edi
cmp eax, 0xffffffff
jne 0x4ed6b0
push 0x67feb8
push 0
push 0x143
push 0x6d
push esi
call edi
cmp eax, 0xffffffff
je 0x4ed6c3
cmp eax, 0xfffffffe
je 0x4ed6c3
lea ecx, [esp + 0x10]
push ecx
jmp 0x4ed6bc
lea edx, [esp + 0x10]
push edx
push ebp
call ebx
test eax, eax
jne 0x4ed660
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push 0
push 0
push 0x146
push 0x6d
push esi
call edi
cmp eax, 0xffffffff
pop ebp
jne 0x4ed6e1
xor eax, eax
mov ecx, dword [0x6743d0]
test ecx, ecx
jl 0x4ed6ef
cmp ecx, eax
jle 0x4ed6f7
xor ecx, ecx
mov dword [0x6743d0], ecx
push 0
push ecx
push 0x14e
push 0x6d
push esi
call edi
pop edi
pop esi
add esp, 0x11a8
ret
Function at 0x4eda70
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x6743e8]
test eax, eax
push ebx
push esi
push edi
je 0x4edb3e
push 0
push 0xe89
call fcn.00424130
mov esi, dword [esp + 0x18]
add esp, 8
push eax
push 0
push 0xc
push 0x68
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x69
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x69
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x6d
push esi
call edi
push eax
call ebx
push 0
push 0x65
push esi
call edi
push eax
call ebx
push 0
push 0x66
push esi
call edi
push eax
call ebx
push 0
push 0x6e
push esi
call edi
push eax
call ebx
push 0
push 0x67
push esi
call edi
push eax
call ebx
push 0
push 0x6f
push esi
call edi
push eax
call ebx
push 0
push 1
push esi
call edi
push eax
call ebx
push 0
push 0x6a
push esi
call edi
push eax
call ebx
push 0
push 0x6b
push esi
call edi
push eax
call ebx
push 0
push 0x6c
push esi
call edi
push eax
call ebx
push 0
push 0x70
push esi
call edi
push eax
call ebx
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
ret
push ebp
push 0
push 0xe88
call fcn.00424130
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
add esp, 8
push eax
push 0
push 0xc
push 0x68
push esi
call ebp
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x69
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 5
push 0x69
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x6d
push esi
call edi
push eax
call ebx
push 1
push 0x65
push esi
call edi
push eax
call ebx
push 1
push 0x66
push esi
call edi
push eax
call ebx
push 1
push 0x6e
push esi
call edi
push eax
call ebx
push 1
push 0x67
push esi
call edi
push eax
call ebx
push 1
push 0x6f
push esi
call edi
push eax
call ebx
push 1
push 1
push esi
call edi
push eax
call ebx
push 0
push 0
push 0x190
push 0x67
push esi
call ebp
cmp eax, 0xffffffff
pop ebp
je 0x4edc86
test eax, eax
jne 0x4edbff
push eax
push 0x6a
push esi
call edi
push eax
call ebx
push 0
push 0x6b
push esi
call edi
push eax
call ebx
push 0
jmp 0x4edc63
cmp eax, 1
jne 0x4edc4d
push eax
push 0x6a
push esi
call edi
push eax
call ebx
push 0
push 0x6b
push esi
call edi
push eax
call ebx
push 1
push 0x6c
push esi
call edi
push eax
call ebx
push 1
push 0x70
push esi
call edi
push eax
call ebx
cmp dword [esp + 0x14], 2
jne 0x4edc86
push 0
push 0x6a
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
ret
push 0
push 0x6a
push esi
call edi
push eax
call ebx
push 1
push 0x6b
push esi
call edi
push eax
call ebx
push 1
push 0x6c
push esi
call edi
push eax
call ebx
push 0
push 0x70
push esi
call edi
push eax
call ebx
cmp dword [esp + 0x14], 2
jne 0x4edc86
push 0
call fcn.00421dc0
add esp, 4
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
ret
Function at 0x4f0780
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x4f0930
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x58
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
xor eax, eax
mov dword [0x674838], eax
mov dword [0x67483c], eax
mov dword [0x674840], eax
push ecx
mov dword [0x674844], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
push edx
lea eax, [esp + 8]
push eax
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004f07b0
lea ecx, [esp + 0xc]
push 0x674838
push ecx
call fcn.004f0880
mov eax, 0x674838
add esp, 0x6c
ret
Function at 0x4f9810
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x20fc
call fcn.005d9990
push ebx
mov ebx, dword [esp + 0x2104]
push esi
mov esi, dword [esp + 0x210c]
push 0
push 0x400
lea eax, [esp + 0x10a4]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_GetMenuStringA]
test eax, eax
jg 0x4f9850
pop esi
xor eax, eax
pop ebx
add esp, 0x20fc
ret
cmp esi, 0x64
jne 0x4f98c8
mov eax, dword [0x67feb0]
test eax, eax
jne 0x4f98e8
call fcn.005487a0
mov ecx, dword [0x68ef74]
push 0
push 1
push ecx
call fcn.005547c0
push 0
mov dword [0x68ef74], eax
call fcn.00548920
push 0x66c768
push 0
push str.host
push 0x5f5530
call fcn.004cdea0
push str._recent_
push 0x68eb40
call fcn.004cec00
push str._success_
push 0x68eb40
call fcn.004cec00
add esp, 0x30
pop esi
mov eax, 1
pop ebx
add esp, 0x20fc
ret
cmp esi, 0x1b57
jne 0x4f9900
mov edx, dword [esp + 0x2110]
push edx
call fcn.0050b580
add esp, 4
test eax, eax
jne 0x4f99f8
push 0
call fcn.00421dc0
add esp, 4
pop esi
mov eax, 1
pop ebx
add esp, 0x20fc
ret
push edi
lea eax, [esp + 0x38]
push 0x1068
push eax
call fcn.004232e0
xor eax, eax
add esp, 8
mov ecx, 0xb
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push eax
push esi
push ebx
mov dword [esp + 0x1c], 0x2c
mov dword [esp + 0x20], 0x20
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [0x676d20]
test eax, eax
je 0x4f9973
mov ecx, dword [esp + 0x2c]
jmp 0x4f9950
cmp dword [eax + 0x1c], ecx
je 0x4f995e
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x4f9950
jmp 0x4f9973
mov edx, dword [eax]
push edx
lea eax, [esp + 0x3c]
push 0x1068
push eax
call fcn.00425550
add esp, 0xc
mov al, byte [esp + 0x38]
test al, al
je 0x4f99aa
mov esi, dword [esp + 0x2114]
push esi
call fcn.00508aa0
add esp, 4
test eax, eax
je 0x4f99aa
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x4f99c3
push esi
call fcn.0050b580
mov esi, eax
add esp, 4
test esi, esi
jne 0x4f99c3
push 0
call fcn.00421dc0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20fc
ret
lea edi, [esi + 0xc]
push edi
call fcn.004e8c50
push 0
lea ecx, [esp + 0x40]
push ecx
push 0
call fcn.004e8850
lea edx, [esp + 0x48]
push esi
push edx
mov dword [edi], eax
call fcn.0054a790
push esi
mov dword [esi + 0x14], 0xc
call fcn.00462b30
add esp, 0x1c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20fc
ret
Function at 0x4fe070
Capabilities:
Encode data using base64

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
push ebx
push ebp
xor ebx, ebx
push esi
xor ebp, ebp
xor eax, eax
xor ecx, ecx
xor esi, esi
cmp edx, ebx
mov dword [esp + 0xc], ebx
jl 0x4fe134
push edi
mov edi, dword [esp + 0x20]
test ebx, ebx
jne 0x4fe0a7
cmp ebp, dword [esp + 0x1c]
jge 0x4fe0a7
mov edx, dword [esp + 0x18]
mov dl, byte [edx + ebp]
inc ebp
jmp 0x4fe0b7
xor dl, dl
inc ebp
test ecx, ecx
mov ebx, 1
mov dword [esp + 0x10], ecx
je 0x4fe0c2
movzx edx, dl
shl esi, 8
add ecx, 8
or esi, edx
cmp ecx, 6
jl 0x4fe0f3
sub ecx, 6
mov edx, esi
shr edx, cl
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], dl
inc eax
cmp eax, 0x3c
jge 0x4fe12f
cmp eax, dword [esp + 0x24]
jge 0x4fe109
test ebx, ebx
jne 0x4fe0f1
cmp ecx, 6
jge 0x4fe0c7
jmp 0x4fe0f3
xor ecx, ecx
cmp ebp, dword [esp + 0x1c]
jle 0x4fe093
mov ecx, dword [esp + 0x10]
cmp ecx, 2
jne 0x4fe121
mov byte [eax + edi], 0x3d
inc eax
jmp 0x4fe126
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
pop edi
or eax, 0xffffffff
or ebp, 0xffffffff
pop esi
mov dword [ecx], ebp
pop ebp
mov dword [edx], eax
pop ebx
pop ecx
ret
cmp ecx, 4
jne 0x4fe12b
mov byte [eax + edi], 0x3d
inc eax
test eax, eax
je 0x4fe133
mov byte [eax + edi], 0
pop edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop esi
mov dword [ecx], ebp
pop ebp
mov dword [edx], eax
pop ebx
pop ecx
ret
Function at 0x4fe4e0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x107c
call fcn.005d9990
mov eax, dword [esp + 0x1084]
push ebx
push ebp
mov ebp, dword [esp + 0x1088]
push esi
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
push ebp
mov byte [eax], bl
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x4fe51c
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x107c
ret
push edi
push esi
call fcn.005d9f91
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4fe578
mov edx, dword [esp + 0x20]
push edi
push esi
push edx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4fe56f
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4fe56f
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4fe56f
mov edx, dword [esp + 0x10]
shr edx, 2
xor esi, esi
test edx, edx
jg 0x4fe590
push edi
call fcn.005d9fa3
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x107c
ret
mov eax, dword [esp + 0x1c]
lea esp, [esp]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
lea eax, [esp + 0x2c]
push str.StringFileInfo_04x_04xFileVersion
push eax
call fcn.005d9929
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4fe5e0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4fe5e0
cmp byte [eax], bl
je 0x4fe5e0
cmp dword [esp + 0x18], ebx
jne 0x4fe5ee
mov ecx, dword [esp + 0x10]
inc esi
shr ecx, 2
cmp esi, ecx
jl 0x4fe585
jmp 0x4fe56f
mov edx, dword [esp + 0x1094]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4fe5f7
push edi
call fcn.005d9fa3
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x107c
ret