joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faaf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov eax, dword [eax + 0x4c]
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 4
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.00484960
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.00484990
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00484990
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x484a70
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fab58
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
jne 0x484aac
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov al, byte [ecx + 0xd]
test al, al
je 0x484b06
cmp byte [ecx + 0xe], 0
jne 0x484b06
push 0x5345c8
lea ecx, [ebp - 0x24]
call fcn.004763c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov edx, dword [esi + 8]
call fcn.00485100
cmp eax, 0xffffffff
setne bl
cmp dword [ebp - 0x10], 0x10
jb 0x484af4
push dword [ebp - 0x24]
call fcn.004cd56c
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor ecx, ecx
cmp eax, 0xffffffff
pop esi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x484b30
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor bl, bl
call fcn.00484a70
test al, al
je 0x484b6b
mov eax, dword [esi]
push dword [ebp + 8]
push dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
setns bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x484b6b
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x484b80
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor bl, bl
call fcn.00484a70
test al, al
je 0x484bbb
mov eax, dword [esi]
push dword [ebp + 8]
push dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x34]
test eax, eax
setns bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x484bbb
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x484d70
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
push 0x668
lea eax, [ebp - 0x948]
xorps xmm0, xmm0
push 0
push eax
mov esi, ecx
movlpd qword [ebp - 0x950], xmm0
call fcn.004d36e0
add esp, 0xc
mov dword [ebp - 0x2d8], 0
lea eax, [ebp - 0x2d4]
push 0x2c8
push 0
push eax
call fcn.004d36e0
mov edi, dword [esi]
add esp, 0xc
mov eax, dword [edi + 8]
cmp byte [eax + 0xe], 0
sete al
mov byte [ebp - 1], al
test al, al
je 0x484e11
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call fcn.004d36e0
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x484e3c
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.004d36e0
mov dword [ebp - 0x2d8], 0x10010
lea edx, [ebp - 0x2d8]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
add esp, 0xc
push edx
push dword [esi + 8]
call eax
test eax, eax
lea edx, [ebp - 0x8e0]
lea ecx, [ebp - 0x2c0]
sete al
cmp byte [ebp - 1], 0
cmove edx, ecx
test al, al
je 0x484e91
mov edi, dword [ebx + 0xc]
xor eax, eax
mov ecx, dword [ebx + 8]
lea esp, [esp]
cmp dword [ebp + eax*8 - 0x908], ecx
jne 0x484e82
cmp dword [ebp + eax*8 - 0x904], edi
je 0x484e9e
cmp dword [ebp + eax*4 - 0x2d4], ecx
je 0x484e9e
inc eax
cmp eax, 4
jl 0x484e70
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp byte [ebp - 1], 0
je 0x484ebc
mov dword [ebp + eax*8 - 0x908], 0
mov dword [ebp + eax*8 - 0x904], 0
jmp 0x484ec7
mov dword [ebp + eax*4 - 0x2d4], 0
test eax, eax
jne 0x484edc
and dword [edx], 0xfffffffe
mov eax, dword [edx]
and eax, 0xfffdffff
and eax, 0xfffeffff
jmp 0x484f17
cmp eax, 1
jne 0x484ef2
and dword [edx], 0xfffffffb
mov eax, dword [edx]
and eax, 0xfff7ffff
and eax, 0xfffbffff
jmp 0x484f17
cmp eax, 2
jne 0x484f08
and dword [edx], 0xffffffef
mov eax, dword [edx]
and eax, 0xffdfffff
and eax, 0xffefffff
jmp 0x484f17
and dword [edx], 0xffffffbf
mov eax, dword [edx]
and eax, 0xff7fffff
and eax, 0xffbfffff
mov edi, eax
mov dword [edx], eax
shr eax, 2
mov ecx, eax
or ecx, edi
shr ecx, 4
or ecx, eax
or ecx, edi
test cl, 1
jne 0x484f36
and edi, 0xfffffeff
mov dword [edx], edi
cmp byte [ebp - 1], 0
mov ecx, esi
je 0x484f6c
xor al, al
mov byte [ebp - 1], al
call fcn.00484a70
test al, al
je 0x484fa9
mov eax, dword [esi]
lea edx, [ebp - 0x950]
push edx
push dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
setns al
mov byte [ebp - 1], al
jmp 0x484f95
mov byte [ebp - 1], 0
call fcn.00484a70
test al, al
je 0x484fa9
mov eax, dword [esi]
lea edx, [ebp - 0x2d8]
push edx
push dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test eax, eax
setns byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x484fa9
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, byte [ebp - 1]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x485b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fac5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x50]
push 0
push 0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047f5e0
mov dword [esi], eax
lea ecx, [esi + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x10]
mov eax, dword [esi]
push edx
mov dword [esi + 0x1c], 0x3f800000
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push 0x10
push eax
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0047f400
mov dword [esi + 0x14], 7
mov dword [esi + 0x18], 8
mov byte [ebp - 4], 3
lea esi, [edi + 0x70]
push 0
push 0
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047f5e0
mov dword [esi], eax
lea ecx, [esi + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x10]
mov eax, dword [esi]
push edx
mov dword [esi + 0x1c], 0x3f800000
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push 0x10
mov dword [ecx + 4], eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047f400
mov dword [esi + 0x14], 7
mov dword [esi + 0x18], 8
xor eax, eax
mov dword [edi + 0xa4], 7
mov dword [edi + 0xa0], 0
mov word [edi + 0x90], ax
mov dword [edi + 0xbc], 7
mov dword [edi + 0xb8], eax
mov word [edi + 0xa8], ax
lea esi, [edi + 0xc0]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov dword [ebp - 0x1c], esi
mov word [esi], ax
mov byte [ebp - 4], 9
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call fcn.00499230
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, edi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x485eb0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00485fb0
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x90]
cmp ebx, edi
je 0x485ed7
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.0046b300
mov byte [esi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x485ee3
mov edi, dword [edi]
push 0
push 0
push 3
push 0
push 7
push 0x120089
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x485f8d
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
push 0x1000002
push 0
push eax
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x485f2c
cmp eax, 0xffffffff
je 0x485f2c
mov byte [esi + 0xc], 0
jmp 0x485f4a
push 0
push 0
push 0
push 2
push 0
push dword [esi]
mov byte [esi + 0xc], 1
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x485f5c
cmp eax, 0xffffffff
je 0x485f5c
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0
je 0x485f8d
push 0
mov ecx, esi
call fcn.00486080
test eax, eax
js 0x485f99
cmp byte [ebp + 0xc], 0
jne 0x485f99
cmp dword [ebx + 0x14], 8
jb 0x485f7d
mov ebx, dword [ebx]
push ebx
mov ecx, esi
call fcn.00486a60
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x486080
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
je 0x486092
mov dword [esi + 8], eax
mov edi, dword [esi + 8]
test edi, edi
jne 0x4860a5
mov eax, 0xc0000141
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, 0x5a4d
cmp word [edi], ax
je 0x4860bb
mov eax, 0xc000007b
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
cmp dword [eax], 0x4550
jne 0x4860af
mov ecx, 0x20b
cmp word [eax + 0x18], cx
jne 0x486109
mov ecx, eax
mov byte [esi + 0xd], 1
mov eax, dword [ecx + 0x30]
lea ebx, [ecx + 0x108]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x50]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x2c], eax
movzx eax, word [ecx + 0x5c]
jmp 0x486145
mov ebx, dword [esi + 0x14]
mov byte [esi + 0xd], 0
add ebx, 0xf8
mov eax, dword [eax + 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x24], 0
mov eax, dword [eax + 0x50]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x28]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x14]
movzx eax, word [eax + 0x5c]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x14]
mov ax, word [eax + 0x16]
shr ax, 0xd
not al
and al, 1
cmp byte [esi + 0xd], 0
mov byte [esi + 0xe], al
je 0x48616a
mov eax, dword [esi + 0x18]
add eax, 0x88
jmp 0x486170
mov eax, dword [esi + 0x14]
add eax, 0x78
mov eax, dword [eax + 0x70]
test eax, eax
jne 0x4861e3
xor cl, cl
mov byte [esi + 0xf], cl
test cl, cl
je 0x4861aa
sub eax, edi
lea ecx, [esi + 0xc0]
add eax, 0x10
mov dword [esi + 0x40], eax
lea eax, [esi + 0x90]
push eax
call fcn.00498ad0
test al, al
je 0x4861aa
push ecx
lea ecx, [esi + 0xc0]
call fcn.00498bd0
mov eax, dword [esi + 0x14]
xor ecx, ecx
xor edi, edi
cmp cx, word [eax + 6]
jae 0x4861da
lea eax, [esi + 0x44]
lea ebx, [ebx]
push ebx
mov ecx, eax
call fcn.00486d30
mov eax, dword [esi + 0x14]
inc edi
add ebx, 0x28
movzx eax, word [eax + 6]
cmp edi, eax
lea eax, [esi + 0x44]
jl 0x4861c0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
push ecx
push eax
mov ecx, esi
call fcn.004868f0
test eax, eax
je 0x486177
test byte [eax + 0x10], 1
je 0x486177
mov cl, 1
jmp 0x486179
Function at 0x486a60
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x1fe
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.004d36e0
add esp, 0xc
mov dword [ebp - 8], 0
lea ebx, [esi + 0x38]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
mov dword [ebp - 0x2c], 0x20
xorps xmm0, xmm0
mov ecx, esi
push ebx
push eax
movdqu xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00486c10
mov dword [ebp - 0xc], eax
test eax, eax
je 0x486be3
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x486b8f
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x42a]
push eax
call fcn.004d36e0
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x22c]
push eax
push 0
push str.ImageManifest
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x486b30
mov eax, 0xc0000001
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 4
push 0
push 0
push 0x120116
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x486bee
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [esi + 0xa8]
mov dword [ebp - 0x24], eax
call fcn.004773c0
jmp 0x486bb9
movzx eax, word [ebx]
mov dword [ebp - 0x18], eax
lea eax, [esi + 0x90]
mov dword [ebp - 0x24], ecx
lea ecx, [esi + 0xa8]
mov dword [ebp - 0x28], 8
cmp ecx, eax
je 0x486bb9
push 0xffffffffffffffff
push 0
push eax
call fcn.0046b300
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov dword [esi + 0x34], eax
cmp eax, 0xffffffff
jne 0x486be3
mov eax, dword fs:[0x18]
cmp dword [eax + 0xbf4], 0xc0000022
jne 0x486bee
mov dword [ebx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword fs:[0x18]
pop edi
pop esi
pop ebx
mov eax, dword [eax + 0xbf4]
mov esp, ebp
pop ebp
ret 4
Function at 0x486ef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
cmp dword [ebx + 0x14], 8
mov edi, dword [ebx + 0x10]
mov dword [ebp - 8], edi
jb 0x486f11
mov esi, dword [ebx]
jmp 0x486f13
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x486f34
mov edi, edi
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x486f20
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edi, ecx
and edi, edx
cmp dword [eax + 0x18], edi
ja 0x486f4c
or eax, 0xffffffff
shr ecx, 1
sub eax, ecx
add edi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
lea eax, [edi + edi]
mov edx, dword [ebp - 4]
lea eax, [eax + 1]
mov esi, dword [ecx + edi*8]
mov edi, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
mov edx, dword [edx]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], eax
lea ecx, [ecx]
cmp edi, edx
jne 0x486f78
mov eax, edx
jmp 0x486f7c
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x487035
cmp dword [ebx + 0x14], 8
lea eax, [esi + 8]
jb 0x486f91
mov edx, dword [ebx]
jmp 0x486f93
mov edx, ebx
cmp dword [eax + 0x14], 8
mov ebx, dword [eax + 0x10]
jb 0x486f9e
mov eax, dword [eax]
mov edi, dword [ebp - 8]
cmp ebx, edi
cmovb edi, ebx
test edi, edi
jne 0x486fd0
xor eax, eax
mov edx, dword [ebp - 8]
test eax, eax
jne 0x486fc0
cmp ebx, edx
jb 0x486fc0
cmp ebx, edx
setne al
test eax, eax
je 0x486fe9
mov esi, dword [esi]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x486f70
mov cx, word [eax]
cmp cx, word [edx]
jne 0x486fe1
add eax, 2
add edx, 2
dec edi
jmp 0x486fa8
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x486fac
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x486ff7
mov eax, dword [eax]
push ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00473600
lea ecx, [ebp + 0xc]
test eax, eax
je 0x487022
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x48aac0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x3e
push eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x56]
push eax
mov dword [ebp - 4], esi
call fcn.004d36e0
add esp, 0xc
mov dword [ebp - 0x150], 0
lea eax, [ebp - 0x14c]
push 0xf4
push 0
push eax
call fcn.004d36e0
mov edi, dword [ebp + 8]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, edi
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
or eax, edx
movlpd qword [ebp - 0x18], xmm0
mov eax, dword fs:[0x18]
jne 0x48ab36
mov dword [eax + 0xbf4], 0xc0000141
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [eax + 0xbf4], 0
lea esi, [ebp - 0x18]
mov eax, dword [ecx + 0x4c]
push esi
push 0x40
lea esi, [ebp - 0x58]
mov ecx, dword [eax + 8]
push esi
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x48ab2c
mov eax, 0x5a4d
cmp word [ebp - 0x58], ax
jne 0x48ab2c
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
cdq
mov esi, eax
movlpd qword [ebp - 0x10], xmm0
mov eax, dword [ebp - 4]
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
mov edi, dword [eax + 4]
mov eax, dword fs:[0x18]
je 0x48ab22
mov dword [eax + 0xbf4], 0
mov eax, dword [edi + 0x4c]
lea edi, [ebp - 0x10]
push edi
push 0xf8
lea edi, [ebp - 0x150]
mov ecx, dword [eax + 8]
push edi
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x48ab2c
cmp dword [ebp - 0x150], 0x4550
jne 0x48ab2c
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x48b190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov ecx, dword [ebx]
cmp esi, dword [ecx]
jne 0x48b1f0
cmp eax, ecx
jne 0x48b1f0
mov ecx, ebx
call fcn.0048b680
mov eax, dword [ebx]
lea edx, [ebp - 4]
push edx
lea ecx, [ebx + 8]
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push 0x10
push eax
mov dword [ecx + 4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047f400
mov eax, dword [ebx]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x18], 8
pop esi
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, eax
je 0x48b32d
push edi
lea esp, [esp]
mov eax, dword [esi]
lea edi, [esi + 8]
mov dword [ebp + 0xc], eax
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x48b218
mov eax, dword [edi]
mov dword [ebp - 4], eax
jmp 0x48b21b
mov dword [ebp - 4], edi
lea eax, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x48b248
mov edi, dword [ebp - 4]
mov ebx, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x48b231
mov ebx, dword [ebp - 0xc]
lea edi, [esi + 8]
mov ecx, dword [edi + 0x18]
mov eax, dword [ebx + 0x14]
xor ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x48b264
shr eax, 1
mov dword [ebp - 8], eax
or eax, 0xffffffff
sub eax, dword [ebp - 8]
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], esi
jne 0x48b290
cmp dword [ecx], esi
jne 0x48b288
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [ecx + edx + 4], eax
jmp 0x48b298
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x48b298
cmp dword [ecx], esi
jne 0x48b298
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
cmp dword [edi + 0x54], 8
jb 0x48b2bb
push dword [edi + 0x40]
call fcn.004cd56c
add esp, 4
xor eax, eax
mov dword [edi + 0x54], 7
mov dword [edi + 0x50], 0
mov word [edi + 0x40], ax
cmp dword [edi + 0x3c], 8
jb 0x48b2e0
push dword [edi + 0x28]
call fcn.004cd56c
add esp, 4
xor eax, eax
mov dword [edi + 0x3c], 7
mov dword [edi + 0x38], 0
mov word [edi + 0x28], ax
cmp dword [edi + 0x14], 8
jb 0x48b304
push dword [edi]
call fcn.004cd56c
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.004cd56c
mov esi, dword [ebp + 0xc]
add esp, 4
cmp esi, dword [ebp + 0x10]
jne 0x48b200
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc