joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7ec0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a0440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004c6684
mov dword [ebp - 0x14], eax
cmp dword [0x5a6420], esi
jne 0x4d7fb3
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add byte [edx - 0x774ffaa], 0x85
push dword [ebp + 0x26]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4d8093
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4d8093
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4d8093
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x5a6420], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5a6424], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5a6428], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a6430], eax
test eax, eax
je 0x4d7fb0
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a642c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4d7fd8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4d7fcb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4d7fed
push 4
pop eax
jmp 0x4d8095
cmp dword [ebp - 0x14], esi
je 0x4d7fed
push dword [0x5a6420]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4d7fd2
mov eax, dword [0x5a642c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4d804b
cmp dword [0x5a6430], edi
je 0x4d804b
push eax
call ebx
push dword [0x5a6430]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4d804b
test eax, eax
je 0x4d804b
call ecx
test eax, eax
je 0x4d8040
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4d8040
test byte [ebp - 8], 1
jne 0x4d804b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4d807b
mov eax, dword [0x5a6424]
cmp eax, edi
je 0x4d8078
push eax
call ebx
test eax, eax
je 0x4d8078
call eax
mov esi, eax
test esi, esi
je 0x4d8078
mov eax, dword [0x5a6428]
cmp eax, edi
je 0x4d8078
push eax
call ebx
test eax, eax
je 0x4d8078
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5a6420]
call ebx
test eax, eax
je 0x4d8093
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4d8095
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004befee
mov esp, ebp
pop ebp
ret
Function at 0x4d7f10
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a0440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004c6684
mov dword [ebp - 0x14], eax
cmp dword [0x5a6420], esi
jne 0x4d7fb3
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add byte [edx - 0x774ffaa], 0x85
push dword [ebp + 0x26]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4d8093
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4d8093
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4d8093
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x5a6420], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5a6424], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5a6428], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a6430], eax
test eax, eax
je 0x4d7fb0
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a642c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4d7fd8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4d7fcb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4d7fed
push 4
pop eax
jmp 0x4d8095
cmp dword [ebp - 0x14], esi
je 0x4d7fed
push dword [0x5a6420]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4d7fd2
mov eax, dword [0x5a642c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4d804b
cmp dword [0x5a6430], edi
je 0x4d804b
push eax
call ebx
push dword [0x5a6430]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4d804b
test eax, eax
je 0x4d804b
call ecx
test eax, eax
je 0x4d8040
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4d8040
test byte [ebp - 8], 1
jne 0x4d804b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4d807b
mov eax, dword [0x5a6424]
cmp eax, edi
je 0x4d8078
push eax
call ebx
test eax, eax
je 0x4d8078
call eax
mov esi, eax
test esi, esi
je 0x4d8078
mov eax, dword [0x5a6428]
cmp eax, edi
je 0x4d8078
push eax
call ebx
test eax, eax
je 0x4d8078
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5a6420]
call ebx
test eax, eax
je 0x4d8093
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4d8095
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004befee
mov esp, ebp
pop ebp
ret
Function at 0x4dfc90
Capabilities:
Log keystrokes via polling

Disassembly:
inc ebp
cld
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4dfcaa
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4dfcc0
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4dfcd8
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4e8d19
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], ecx
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
movzx edx, byte [ebp + 8]
mov dh, 0x55
invalid
test edx, edx
je 0x4e8d72
push 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 0
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
fmul dword [ecx + 0x5589dc55]
loopne 0x4e8d11
push ebp
in al, 0x89
push ebp
invalid
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e8e34
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
push esi
invalid
test eax, eax
je 0x4e8e34
cmp dword [ebp - 0x2c], 0x10
jne 0x4e8e00
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 4]
jne 0x4e8e00
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x4e8e00
push 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x10], eax
push 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e3b49
add esp, 4
movzx edx, al
test edx, edx
jne 0x4e8e27
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x2c], 0x12
jne 0x4e8e2f
jmp 0x4e8e34
jmp 0x4e8d8d
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4e8e63
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x14], eax
push 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
test byte [esi], dl
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x2c], 0x12
jne 0x4e8e7d
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 8]
call fcn.00559f79
test eax, eax
je 0x4e8e98
mov ecx, dword [ebp - 8]
call fcn.00559f79
add byte [eax - 1], dl
adc eax, sym.imp.USER32.dll_DestroyWindow
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4e9279
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563869
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5a0440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004e73d9
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], vtable.DuiLib::INotifyUI.0
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [eax], vtable.DuiLib::ISkinImplementer.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.DuiLib::CKwBaseDialog.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], vtable.DuiLib::CKwBaseDialog.1.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], vtable.DuiLib::CKwBaseDialog.2.0
push str.kwdialog_classname
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00409b49
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0040a089
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004dd9e9
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x294], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x298], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x29c], 0
cmp dword [ebp - 0x10], 0
je 0x4e9376
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
mov dword [ebp - 0x18], ecx
jmp 0x4e937d
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.004e6609
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5119d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c0], 0
je 0x511a81
cmp dword [ebp + 8], 0x100
jne 0x511a4d
movsx ecx, byte [ebp + 0xc]
cmp ecx, 0xd
jne 0x511a4d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x2c6]
test eax, eax
je 0x511a26
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x511a4d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x2c7]
test eax, eax
jne 0x511a4d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0
je 0x511a49
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
call fcn.004dc2b0
xor eax, eax
jmp 0x511a86
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2c0]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x511a86
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x525aa0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5a0440]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x525acc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x525ad1
jmp 0x525be7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
movsx ecx, byte [eax]
test ecx, ecx
je 0x525b2c
mov edx, dword [ebp - 0x214]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x525b0f
mov ecx, dword [ebp - 0x214]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x525b1b
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
jmp 0x525ae6
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp + 0xc]
je 0x525bb2
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00559b04
add esp, 0xc
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0x104
jae 0x525b7d
jmp 0x525b82
call fcn.004b979c
mov edx, dword [ebp - 0x218]
mov byte [ebp + edx - 0x108], 0
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00525aa0
add esp, 8
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005598f0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00559900
add esp, 8
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8605
mov esp, ebp
pop ebp
ret

Function at 0x5265f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x52660a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
je 0x526614
mov eax, 0x1000000
jmp 0x52669b
mov edx, dword [ebp - 4]
add edx, 0x138
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x57ea54
mov eax, dword [ebp - 4]
add eax, 0x138
push eax
call fcn.00559900
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x52665f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x52665f
mov eax, 0x2000000
jmp 0x52669b
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052b2a0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x526685
mov eax, dword [ebp - 0x10]
jmp 0x52669b
mov eax, dword [ebp - 8]
push eax
call fcn.0052bef0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [0x5a6b58]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x52b440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x52b48f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x52b485
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x52b4e9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x52b4af
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bb140
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x52b780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x52b790
xor eax, eax
jmp 0x52b92d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x52b8ee
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x57eca0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x57eca0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x57eca0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x57eca0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x57eca0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x57eca0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x57eca0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x57eca0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x52b799
cmp dword [ebp + 0x10], 0
je 0x52b927
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x57eca0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x52b8f4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x44b060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x439015
lea edi, [esi - 0x38015]
push edi
jmp 0x44b07a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44b081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44b070
mov eax, 1
add ebx, ebx
jne 0x44b093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44b088
jne 0x44b0a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44b088
xor ecx, ecx
sub eax, 3
jb 0x44b0b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44b12a
mov ebp, eax
add ebx, ebx
jne 0x44b0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44b0d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44b0f4
inc ecx
add ebx, ebx
jne 0x44b0e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44b0d5
jne 0x44b0f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44b0d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44b114
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44b105
jmp 0x44b076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44b114
add edi, ecx
jmp 0x44b076
pop esi
mov edi, esi
mov ecx, 0x378
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44b132
cmp byte [edi], 5
jne 0x44b132
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x44b137
lea edi, [esi + 0x49000]
mov eax, dword [edi]
or eax, eax
je 0x44b1a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4eecc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4ef60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44b164
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4ef68]
or eax, eax
je 0x44b1a0
mov dword [ebx], eax
add ebx, 4
jmp 0x44b181
call dword [esi + 0x4ef64]
mov ebp, dword [esi + 0x4ef6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44b1da
sub esp, 0xffffff80
jmp 0x401240