joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408740
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x408857
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x408857
mov ebx, dword [ebp + 0x10]
cmp ebx, 1
jb 0x408857
push esi
xor eax, eax
xor esi, esi
mov dword [ebp + 8], eax
test ebx, ebx
je 0x40884c
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 3
shr cl, 2
movzx ecx, cl
shl dl, 4
mov cl, byte [ecx + 0x4226f0]
mov byte [eax + edi], cl
cmp esi, ebx
jae 0x408835
mov ecx, dword [ebp + 0xc]
mov bl, byte [esi + ecx]
inc esi
mov cl, bl
and bl, 0xf
shr cl, 4
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + 0x4226f0]
mov byte [eax + edi + 1], cl
cmp esi, dword [ebp + 0x10]
jae 0x408812
mov ecx, dword [ebp + 0xc]
shl bl, 2
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 0x3f
shr cl, 6
add bl, cl
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
movzx ecx, byte [ecx + 0x4226f0]
mov byte [eax + edi + 2], cl
movzx ecx, dl
movzx ecx, byte [ecx + 0x4226f0]
mov byte [eax + edi + 3], cl
add eax, 4
mov ecx, dword [ebp + 8]
add ecx, 3
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov ecx, dword [ebp + 0xc]
jb 0x408777
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
shl bl, 2
movzx ecx, bl
pop esi
mov cl, byte [ecx + 0x4226f0]
mov byte [eax + edi + 2], cl
mov byte [eax + edi + 3], 0x3d
add eax, 4
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
movzx ecx, dl
mov cl, byte [ecx + 0x4226f0]
mov byte [eax + edi + 1], cl
mov word [eax + edi + 2], 0x3d3d
add eax, 4
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x408860
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
mov dword [0x5896d0], 1
mov byte [0x5896a4], 0
call fcn.00409b25
add esp, 4
mov dword [0x5896c8], eax
test eax, eax
je 0x4088bc
mov ecx, esi
mov dword [0x5896cc], eax
mov dword [0x5896e0], 0x67452301
mov dword [0x5896e4], 0xefcdab89
mov dword [0x5896e8], 0x98badcfe
mov dword [0x5896ec], 0x10325476
pop esi
jmp fcn.00409110
pop esi
ret
Function at 0x4015a6
Capabilities:
Find taskbar
Link many functions at runtime
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0
push section..text
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x404070], eax
test eax, eax
je 0x4017de
push dword [ebp + 0x10]
push 0x4017ec
push dword [0x404070]
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [0x404074], 0
je 0x4017de
push str.INDICDLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov dword [0x40407c], eax
call esi
push 1
mov dword [0x40408c], eax
push dword [0x40407c]
call esi
push 2
mov dword [0x404090], eax
mov eax, dword [0x40407c]
push eax
call esi
push 6
mov dword [0x404094], eax
mov eax, dword [0x40407c]
push eax
call esi
push 7
mov dword [0x4040b4], eax
mov eax, dword [0x40407c]
push eax
call esi
push 5
mov dword [0x4040b8], eax
mov eax, dword [0x40407c]
push eax
call esi
push 4
mov dword [0x4040b0], eax
mov eax, dword [0x40407c]
push eax
call esi
push 8
mov dword [0x404098], eax
mov eax, dword [0x40407c]
push eax
call esi
push 0xa
mov dword [0x40409c], eax
mov eax, dword [0x40407c]
push eax
call esi
push 0xb
mov dword [0x4040a0], eax
mov eax, dword [0x40407c]
push eax
call esi
push 0xd
mov dword [0x4040a4], eax
mov eax, dword [0x40407c]
push eax
call esi
push 0xe
mov dword [0x4040a8], eax
mov eax, dword [0x40407c]
push eax
call esi
xor edi, edi
mov dword [0x4040ac], eax
cmp dword [0x4040b8], edi
je 0x4017d2
cmp dword [0x4040b4], edi
je 0x4017d2
cmp dword [0x404098], edi
je 0x4017d2
cmp dword [0x40408c], edi
je 0x4017d2
cmp dword [0x404090], edi
je 0x4017d2
cmp dword [0x404094], edi
je 0x4017d2
cmp dword [0x4040a0], edi
je 0x4017d2
cmp dword [0x4040a4], edi
je 0x4017d2
cmp dword [0x4040a8], edi
je 0x4017d2
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 1
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push ebx
call dword [sym.imp.GDI32.dll_GetTextCharsetInfo]
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
mov eax, dword [ebp - 8]
push ebx
push esi
mov dword [0x404020], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
mov dword [0x404080], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [0x404084], eax
push edi
mov eax, dword [0x404070]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
jne 0x401793
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
push 1
push esi
call fcn.00401c09
push 1
push esi
call dword [0x40408c]
test eax, eax
je 0x4017de
call dword [0x404090]
mov eax, dword [0x404074]
push eax
call dword [0x4040b0]
push 0
push 3
push 0x287
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
jmp 0x4017e3
mov eax, dword [0x40407c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401fc1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, eax
push 0x40
lea eax, [ebp - 0x54]
push eax
push 0xca
push dword [0x404078]
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x54]
mov ebx, 0x400
push ecx
xor edi, edi
push 0xfa
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_InsertMenuA]
push edi
push edi
push 0xc00
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_InsertMenuA]
push 0x40
lea eax, [ebp - 0x54]
push eax
push 0xc9
push dword [0x404078]
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x54]
push ecx
push 0xfc
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_InsertMenuA]
lea ecx, [ebp - 0x10]
mov eax, dword [0x404074]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea ecx, [ebp - 0x10]
push ecx
push edi
push dword [0x404074]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [ebp - 0x14], 0x14
mov dword [0x4040bc], 1
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x160
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov dword [0x4040bc], edi
test eax, eax
je 0x4020f9
cmp eax, 0xffffffff
je 0x4020f9
cmp eax, 0xfa
je 0x4020b8
cmp eax, 0xfc
je 0x4020cd
cmp eax, 0xfd
je 0x4020f2
jmp 0x4020f9
push 0xfcd
push 8
push str.windows.hlp
push ebx
call dword [sym.imp.USER32.dll_WinHelpA]
jmp 0x4020f9
push 0x40
lea eax, [ebp - 0x54]
push eax
push 0xcc
push dword [0x404078]
call dword [sym.imp.USER32.dll_LoadStringA]
push 1
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x4020f9
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x402102
Capabilities:
Get geographical location
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [0x4040bc], 1
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [0x40406c]
mov dword [ebp - 8], 0x12c
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x402141
mov dword [0x4040bc], edi
jmp 0x4022de
test esi, esi
jle 0x4021ae
mov dword [ebp - 0xc], 0
mov eax, dword [0x40406c]
mov edx, dword [ebp - 0xc]
push 0x40
mov ecx, dword [eax + 4]
mov ebx, dword [ecx + edx]
lea ecx, [ebp - 0x80]
lea eax, [ebx + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [0x404024]
cmp dword [ebx], ecx
jne 0x402179
mov edi, 1
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 8]
push 0x500
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_InsertMenuA]
test edi, edi
je 0x4021a4
push 8
xor edi, edi
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
add dword [ebp - 0xc], 4
inc dword [ebp - 8]
dec esi
jne 0x40214c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 0x1c]
xor esi, esi
push eax
push dword [0x404074]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea ecx, [ebp - 0x1c]
push ecx
mov eax, dword [0x404074]
push esi
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x160
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov edi, eax
mov dword [0x4040bc], esi
call fcn.004027ce
mov ebx, eax
test edi, edi
je 0x4022de
cmp edi, 0xffffffff
je 0x4022de
mov eax, dword [0x40406c]
test ebx, ebx
mov ecx, dword [eax + 4]
mov edi, dword [ecx + edi*4 - 0x4b0]
jne 0x40222e
push 0x30
jmp 0x4022d8
push ebx
xor esi, esi
call fcn.00403279
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
movzx ecx, word [edi]
push 0x22
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
push 0x58
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x402265
mov eax, dword [0x404020]
test dword [ebp - 0x28], eax
je 0x402265
mov esi, 1
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [ebp - 8]
je 0x40229b
push 1
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
jne 0x40229b
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [edi]
push esi
push 0x50
xor esi, esi
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
push 1
mov eax, dword [0x404070]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
jne 0x4022de
push esi
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4022e7
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 4], 0
je 0x402303
xor eax, eax
jmp 0x4023f5
push 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov eax, dword [esi + 8]
sub eax, 0x12c
push eax
push dword [0x40406c]
call dword [sym.imp.COMCTL32.dll_DPA_GetPtr]
mov edi, eax
test edi, edi
jne 0x40232f
xor eax, eax
jmp 0x4023f5
mov eax, 0x154
push 0
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x164], eax
push ecx
push eax
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 4], eax
test eax, eax
jne 0x402367
xor eax, eax
jmp 0x4023f5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, eax
add edi, 0x14
push dword [ebp - 4]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 0x32
imul edi, edi, 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push dword [ebp - 0x10]
push ebx
add edi, eax
add edi, dword [ebp - 0xc]
mov dword [esi + 0xc], edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, dword [ebp - 8]
jge 0x4023e2
mov eax, dword [ebp - 8]
jmp 0x4023ea
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, 2
mov dword [esi + 0x10], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4025f0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x404064], esi
je 0x402618
cmp dword [ebp + 0xc], 2
jne 0x402645
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0040264a
mov dword [0x404064], esi
jmp 0x402645
cmp dword [ebp + 0xc], 0
jne 0x402645
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
lea ecx, [eax - 4]
mov dword [0x404024], ecx
call fcn.0040264a
mov dword [0x404064], 1
pop esi
pop ebp
ret 8
Function at 0x402b7c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
lea eax, [ebp - 4]
push esi
push edi
push eax
call fcn.004030f3
test eax, eax
je 0x402d38
cmp dword [ebp - 4], 0
je 0x402baa
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
push 1
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0040318b
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
push 1
push esi
call fcn.00402b10
push eax
mov ebx, eax
push 1
push edi
call fcn.0040313e
test ebx, ebx
jne 0x402c5d
push 0x40
lea eax, [ebp - 0x5c]
push eax
mov ebx, 0x400
push 0x132
push dword [0x404078]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push dword [ebp - 4]
call fcn.0040323b
test eax, eax
jne 0x402c10
mov ebx, 0x401
lea eax, [ebp - 0x5c]
push eax
push 0xfe
push ebx
push 0xffffffffffffffff
push edi
mov ebx, dword [sym.imp.USER32.dll_InsertMenuA]
call ebx
push 0
push 0
push 0xc00
push 0xffffffffffffffff
push edi
call ebx
push 0x40
lea eax, [ebp - 0x5c]
push eax
push 0x131
push dword [0x404078]
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x5c]
push ecx
push 0xfc
push 0x400
push 0xffffffffffffffff
push edi
call ebx
lea eax, [ebp - 0x18]
push eax
push dword [0x404074]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea ecx, [ebp - 0x18]
push ecx
push 0
push dword [0x404074]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [ebp + 8]
mov dword [ebp - 0x1c], 0x14
mov dword [0x4040bc], 1
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x160
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov ebx, eax
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [0x4040bc], 0
test ebx, ebx
je 0x402d33
cmp ebx, 0xffffffff
je 0x402d33
cmp ebx, 0xfc
je 0x402d11
cmp ebx, 0xfe
je 0x402d29
cmp ebx, 0x3e8
jl 0x402d33
push ebx
call fcn.00403175
push dword [ebp - 4]
mov esi, eax
call sub.IMM32.dll_ImmGetDefaultIMEWnd
push dword [ebp - 4]
push dword [ebp + 8]
mov edi, eax
call fcn.00402a98
push dword [ebp - 4]
push esi
push edi
call fcn.00401093
jmp 0x402d33
mov eax, esi
shr eax, 0x10
and ah, 0xf0
cmp ah, 0xe0
jne 0x402d33
push esi
push dword [ebp - 4]
call fcn.0040325c
jmp 0x402d33
push 1
push dword [ebp - 4]
call fcn.0040323b
call fcn.00403132
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402ff9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x404370
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403061
lea eax, [ebp - 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0x10
push eax
push ecx
push 0
push 0
push 0x40438c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x403040
mov byte [ebp - 0x18], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40101c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
mov eax, 1
je 0x403063
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403067
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40307c
push 0x40101c
jmp 0x403081
push 0x401020
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 4]
push eax
push str.control_panelinput_method
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4030ea
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
lea ecx, [ebp - 0x14]
push eax
push ecx
push 1
push 0
push str.show_status
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4030da
push esi
push 5
push 0x287
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4030ec
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x40325c
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x403276
push dword [esp + 8]
push 0xd
push 0x287
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
ret 8
Function at 0x49ab13
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x84
call fcn.0049ac75
mov esi, eax
pop ecx
test esi, esi
jne 0x49ab35
or eax, 0xffffffff
jmp 0x49ac70
xor edi, edi
lea ebx, [esi + 0xc]
call fcn.0049ac88
mov dword [ebx], eax
test eax, eax
je 0x49ab4e
inc edi
add ebx, 0x10
cmp edi, 8
jb 0x49ab3a
cmp edi, 8
je 0x49ab78
test edi, edi
jne 0x49ab60
push esi
call fcn.00483dfc
pop ecx
jmp 0x49ab2d
lea eax, [edi - 1]
shl eax, 4
add eax, 0x14
push eax
push esi
call fcn.00486d27
pop ecx
pop ecx
test eax, eax
je 0x49ab78
mov esi, eax
lea edx, [edi - 1]
lea ecx, [esi + 4]
mov eax, ecx
test edx, edx
je 0x49ab8e
dec edx
lea ebx, [eax + 0x10]
mov dword [eax], ebx
mov eax, ebx
jne 0x49ab84
mov edx, dword [0x2e9b65c]
add dword [0x2e9b64c], edi
mov dword [eax], edx
mov eax, dword [0x2e9b648]
push 0x20
mov dword [0x2e9b65c], ecx
mov dword [esi], eax
mov dword [0x2e9b648], esi
call fcn.0049ac75
pop ecx
mov ebx, eax
xor ecx, ecx
cmp ebx, ecx
jne 0x49abde
mov eax, dword [0x2f12850]
cmp dword [eax + 4], 3
jl 0x49ac6e
push 0x2c22eec
call 0x9e5c04
pop ecx
jmp 0x49ac6e
mov eax, dword [0x2e9b654]
mov dword [0x2e9b660], 7
mov dword [ebp - 4], ecx
cmp dword [0x2e9b664], ecx
jbe 0x49ac2f
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x49ac20
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
mov edx, edi
shr edx, 8
xor edx, edi
shr edx, 2
and edx, 7
lea edx, [ebx + edx*4]
mov edi, dword [edx]
mov dword [ecx], edi
mov dword [edx], ecx
mov ecx, esi
test esi, esi
jne 0x49abff
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [0x2e9b664]
jb 0x49abf8
push 8
pop esi
push eax
mov dword [0x2e9b654], ebx
mov dword [0x2e9b664], esi
mov dword [0x2e9b658], 3
call fcn.00483dfc
mov eax, dword [0x2f12850]
cmp dword [eax + 4], 4
pop ecx
jl 0x49ac6e
push esi
push dword [0x2e9b64c]
push 0x2c22f20
call 0x9e5c04
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4aa2d7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.004837b9
mov eax, dword [0x2f0eb20]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
call fcn.00494374
test al, al
je 0x4aa303
xor al, al
jmp 0x4aa379
mov ecx, 0x2c1c96c
call fcn.004aa388
mov edi, eax
test edi, edi
je 0x4aa2ff
mov byte [ebp - 0x1000d], 1
mov esi, 0x10000
jmp 0x4aa34d
test ebx, ebx
je 0x4aa334
push eax
lea eax, [ebp - 0x1000c]
push eax
mov ecx, ebx
call fcn.0048efe0
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
je 0x4aa34d
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp ecx, dword [ebp + 0x10]
ja 0x4aa366
jb 0x4aa34d
cmp eax, dword [ebp + 0xc]
ja 0x4aa366
push edi
push esi
lea eax, [ebp - 0x1000c]
push 1
push eax
call fcn.004ab4a1
add esp, 0x10
test eax, eax
jne 0x4aa321
jmp 0x4aa36c
mov byte [ebp - 0x1000d], cl
push edi
call fcn.004abebb
mov al, byte [ebp - 0x1000d]
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004825c5
leave
ret
Function at 0x4af025
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x4af02f
mov ecx, dword [eax]
jmp 0x4af031
mov ecx, eax
mov edx, dword [eax + 0x10]
add edx, ecx
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x4af051
push esi
movsx esi, byte [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
cmp ecx, edx
jne 0x4af040
pop esi
ret
Function at 0x4b234b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x2f0eb20]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
jne 0x4b237e
call 0x8d2510
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 1
jb 0x4b23a4
mov ecx, dword [eax]
jmp 0x4b23a6
mov ecx, eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], bl
jmp 0x4b2534
cmp byte [esp + 0x58], bl
je 0x4b24ba
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x34]
lea edx, [esp + 0x60]
mov dword [esp + 0x60], edi
call fcn.004b29ef
test al, al
jne 0x4b2534
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x94]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00495032
push eax
lea ecx, [esp + 0x28]
call fcn.004b2b46
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x17], al
call fcn.004883d5
cmp byte [esp + 0xf], bl
je 0x4b248d
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
sub edx, ecx
xor eax, eax
cmp edx, 4
setne al
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], esi
inc eax
mov dword [esp + 0x10], eax
jmp 0x4b24af
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0x2c256a8
mov dword [esp + 0x70], esi
call fcn.004b26d6
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x24]
call fcn.0049bebf
jmp 0x4b2534
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x94]
call fcn.00495032
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.0048d2d1
mov eax, dword [esp + 0x10]
push ebx
push 1
mov ecx, esi
mov dword [esp + 0x94], eax
call fcn.004883d5
lea ecx, [esp + 0x70]
call fcn.0048d001
push dword [esp + 0x5c]
lea ecx, [esp + 0x74]
call fcn.004b3b85
mov esi, eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x4b2528
lea eax, [esp + 0x14]
call fcn.004b1989
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.004883d5
lea esi, [esp + 0x3c]
call fcn.004b2605
test al, al
jne 0x4b23ce
lea ecx, [esp + 0x14]
call fcn.0049bebf
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004825c5
mov esp, ebp
pop ebp
ret