joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40af30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x40b09d
lea eax, [ecx - 1]
mov esi, dword [0x549b9c]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x549ba4
lea eax, [edi + edi]
push eax
call fcn.0040a120
mov eax, dword [0x549b9c]
lea ebx, [edi - 1]
mov dword [0x549bb0], ebx
mov dword [0x549bb4], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40b094
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x549ba4]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x40aff2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x40b05f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x40b02c
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x40b024
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x40b05f
cmp ebx, edx
je 0x40b03c
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x40b070
cmp ebx, edx
jne 0x40b030
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x40b094
mov ebx, dword [0x549bb0]
jmp 0x40afa0
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x40b05f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.004dbf9b
int3
Function at 0x40b0b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x40b21d
lea eax, [ecx - 1]
mov esi, dword [0x549ca4]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x549cac
lea eax, [edi + edi]
push eax
call fcn.0040a120
mov eax, dword [0x549ca4]
lea ebx, [edi - 1]
mov dword [0x549cb8], ebx
mov dword [0x549cbc], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40b214
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x549cac]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x40b172
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x40b1df
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x40b1ac
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x40b1a4
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x40b1df
cmp ebx, edx
je 0x40b1bc
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x40b1f0
cmp ebx, edx
jne 0x40b1b0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x40b214
mov ebx, dword [0x549cb8]
jmp 0x40b120
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x40b1df
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.004dbf9b
int3
Function at 0x40b230
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x40b38a
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0040a120
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40b35d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x40b2e3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x40b353
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x40b31d
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x40b315
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x40b350
cmp edi, edx
je 0x40b32d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x40b366
cmp edi, edx
jne 0x40b321
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x40b292
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x40b350
push str.invalid_hash_bucket_count
call fcn.004dbf9b
int3
Function at 0x40b3a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x40b50d
lea eax, [ecx - 1]
mov esi, dword [0x549c84]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x549c8c
lea eax, [edi + edi]
push eax
call fcn.0040a120
mov eax, dword [0x549c84]
lea ebx, [edi - 1]
mov dword [0x549c98], ebx
mov dword [0x549c9c], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40b504
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x549c8c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x40b462
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x40b4cf
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x40b49c
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x40b494
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x40b4cf
cmp ebx, edx
je 0x40b4ac
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x40b4e0
cmp ebx, edx
jne 0x40b4a0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x40b504
mov ebx, dword [0x549c98]
jmp 0x40b410
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x40b4cf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.004dbf9b
int3
Function at 0x411540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x53a450
push 0x4de750
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x542040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x4115e3
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x4115e3
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x4115e3
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x4115e3
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x4115ec
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret
Function at 0x411900
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
lea ecx, [esi - 0x10000]
movzx eax, cx
mov edi, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
jbe 0x4119c9
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x411946
sub edi, 0x8000000
jmp 0x4119c1
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4119c9
cmp dword [ebp - 0x10], 0x10000
jne 0x4119ac
cmp dword [ebp - 0x14], 0x10000
jb 0x4119ac
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x411a84
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x4119c9
sub edi, 0x10000
jmp 0x4119c1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x411931
movzx eax, si
test eax, eax
je 0x4119d8
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x411a82
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x411a05
add esi, 0x8000000
jmp 0x411a7a
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call ebx
test eax, eax
je 0x411a82
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x411a65
cmp ecx, 0x10000
jb 0x411a65
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x411a84
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x411a82
add esi, 0x10000
jmp 0x411a7a
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x411a7a
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x4119f0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dadd7
mov esp, ebp
pop ebp
ret
Function at 0x411aa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x549d08], 0
jne 0x411b29
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x549d08
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x411b29
push esi
mov esi, dword [0x549d14]
mov dword [0x549d1c], eax
mov dword [0x549d18], eax
mov dword [0x549d10], eax
push edi
test esi, esi
je 0x411b0a
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call edi
test eax, eax
je 0x411b21
mov esi, dword [esi + 4]
test esi, esi
jne 0x411af1
xor eax, eax
pop edi
mov dword [0x549bbc], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x411b0c
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret
Function at 0x411f70
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x549bbc]
push esi
mov esi, ecx
test eax, eax
jne 0x411fde
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x411f8a
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.004db155
add esp, 4
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x411fcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.004dadea
add esp, 8
mov dword [0x549bbc], esi
mov eax, esi
mov dword [0x549d10], 0
pop edi
pop esi
ret
mov eax, dword [0x549d18]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x549d18], edi
pop edi
pop esi
ret
Function at 0x412720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x24], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [ebp - 8], 0
push 0x1c
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push esi
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
jne 0x41277d
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x24]
test byte [ebp - 0xc], 0xf0
mov ecx, 0x40
mov eax, 4
cmovne eax, ecx
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dadd7
mov esp, ebp
pop ebp
ret 8

Function at 0x413740
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x53a470
push 0x4de750
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x542040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
lea esi, [ecx + 0x10000]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov edi, 0x5a4d
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4137c1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 0x1000
jne 0x41383f
cmp byte [ebp - 0x24], 1
je 0x41383f
test dword [ebp - 0x24], 0x100
jne 0x41383f
mov dword [ebp - 4], 0
cmp word [esi], di
jne 0x4137fb
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x2c]
ja 0x4137fb
cmp eax, 0x40
jb 0x4137fb
cmp dword [eax + esi], 0x4550
je 0x41380a
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x38]
jmp 0x413794
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4137a5
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x38]
jmp 0x413794
Function at 0x413850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x53a490
push 0x4de750
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x542040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
test ebx, ebx
jne 0x413892
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [ebx], ax
je 0x4138ad
push 0xc1
jmp 0x4139a1
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
mov dword [ebp - 0x24], ecx
cmp dword [ecx], 0x4550
je 0x4138c7
push 0xbf
jmp 0x4139a1
movzx eax, word [ecx + 0x14]
test ax, ax
je 0x41399c
lea edx, [eax + ecx]
mov dword [ebp - 0x1c], edx
lea edx, [eax + 0x18]
add edx, ecx
mov dword [ebp - 0x28], edx
xor esi, esi
mov dword [ebp - 0x20], esi
movzx eax, word [ecx + 6]
cmp esi, eax
jae 0x41399c
lea edi, [esi + esi*4]
mov ecx, str..detour
lea eax, [edx + edi*8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413920
test dl, dl
je 0x41391c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413920
add eax, 2
add ecx, 2
test dl, dl
jne 0x413900
xor eax, eax
jmp 0x413925
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41397a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + edi*8 + 0x24]
test eax, eax
je 0x41399c
cmp dword [ecx + edi*8 + 0x28], 0
je 0x41399c
lea esi, [eax + ebx]
mov eax, dword [esi]
cmp eax, 0x40
jb 0x41399c
cmp dword [esi + 4], 0x727444
jne 0x41399c
cmp dword [esi + 8], 0
jne 0x413957
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
jmp 0x4138e4
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418860
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508221
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x14
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax]
mov eax, dword [0x54a638]
cmp eax, dword [edx + 4]
jle 0x418914
push 0x54a638
call fcn.004daea0
add esp, 4
cmp dword [0x54a638], 0xffffffff
jne 0x41890e
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov ecx, 0x54a660
movups xmmword [0x54a660], xmm0
movups xmmword [0x54a670], xmm0
call fcn.00424490
push 0x50c4b0
call fcn.004db140
push 0x54a638
mov dword [ebp - 4], 0xffffffff
call fcn.004dae4f
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
movzx eax, cl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x1c]
movzx eax, ah
xor ecx, eax
movzx eax, byte [ebp - 0x16]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x15]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x54a660
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040b610
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, dword [0x54a664]
cmovne eax, ecx
cmp eax, dword [0x54a664]
je 0x418975
mov eax, dword [eax + 0xc]
jmp 0x418992
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
mov ecx, 0x54a660
lea eax, [ebp - 0x18]
push eax
call fcn.00423f00
mov dword [eax], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4189b0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508261
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], eax
lea edx, [esi + eax]
mov eax, dword fs:[0x2c]
add edx, edi
mov dword [ebp - 0x18], edx
mov ecx, dword [eax]
mov eax, dword [0x54a63c]
cmp eax, dword [ecx + 4]
jle 0x418a6e
push 0x54a63c
call fcn.004daea0
add esp, 4
cmp dword [0x54a63c], 0xffffffff
jne 0x418a6b
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov ecx, 0x54a608
movups xmmword [0x54a608], xmm0
movups xmmword [0x54a618], xmm0
call fcn.00424490
push 0x50c470
call fcn.004db140
push 0x54a63c
mov dword [ebp - 4], 0xffffffff
call fcn.004dae4f
add esp, 8
mov edx, dword [ebp - 0x18]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x16]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x15]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x54a608
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040b610
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, dword [0x54a60c]
cmovne eax, ecx
cmp eax, dword [0x54a60c]
je 0x418acc
mov eax, dword [eax + 0xc]
jmp 0x418aeb
push dword [ebp - 0x1c]
push edi
push esi
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, eax
mov ecx, 0x54a608
lea eax, [ebp - 0x18]
push eax
call fcn.00423f00
mov dword [eax], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret