Function at 0x436820
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9dc1
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x672494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], 0
cmp byte [esi + 0x234], 0
mov dword [ebp - 0x4c], edi
je 0x436af3
cmp dword [esi + 0x184], 0
lea eax, [esi + 0x184]
mov dword [ebp - 0x14], eax
jne 0x436af3
push ecx
lea edi, [esi + 0x238]
push 0x647dec
mov ecx, edi
call fcn.00422e40
xor ecx, ecx
mov dword [ebp - 0x34], 0
inc eax
mov word [ebp - 0x44], cx
cmp dword [edi + 0x10], eax
mov ecx, edi
mov dword [ebp - 0x30], 7
cmovb eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
jb 0x4368bb
mov ecx, dword [edi]
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.00417d60
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x647520
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00417d60
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x436960
lea eax, [ebp - 0x8c]
push eax
lea ecx, [esi + 0x214]
call fcn.004379d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004135d0
lea ecx, [ebp - 0x8c]
call fcn.0040f8c0
cmp dword [ebp - 0x1c], 0
jne 0x436960
cmp dword [esi + 0x22c], 0
lea eax, [esi + 0x21c]
je 0x436960
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040c5c0
lea ecx, [ebp - 0xa4]
call fcn.0041d320
add esp, 0x18
lea ecx, [ebp - 0x2c]
push eax
call fcn.004135d0
lea ecx, [ebp - 0xa4]
call fcn.0040f8c0
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.0040c5c0
lea ecx, [ebp - 0xbc]
call fcn.0041e460
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], eax
add esp, 0x18
cmp ecx, eax
je 0x4369b2
call fcn.0040f8c0
mov eax, dword [ebp - 0x48]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x1c], xmm0
mov word [eax], cx
lea ecx, [ebp - 0xbc]
call fcn.0040f8c0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x436a42
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x436a42
mov byte [ebp - 4], 2
add eax, ecx
xor edx, edx
mov dword [ebp - 0x64], 0
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], dx
mov dword [ebp - 0x48], 7
call fcn.00410f30
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x74]
push eax
call fcn.00427540
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push eax
call fcn.00427540
lea eax, [ebp - 0x74]
add esi, 0x140
push eax
mov ecx, esi
call fcn.004135d0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0040f8c0
jmp 0x436a61
add esi, 0x140
cmp esi, edi
je 0x436a61
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x436a56
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, esi
push eax
call fcn.00417d60
push 0x1c
push str.Option
call fcn.0047f920
test eax, eax
je 0x436a78
mov ecx, esi
call fcn.004227e0
cmp dword [esi + 0x14], 8
jb 0x436a80
mov esi, dword [esi]
sub esp, 0xc
push 4
push ecx
mov ecx, dword [ebp - 0x14]
push 0x40000000
push esi
call fcn.00439d60
mov edi, eax
test edi, edi
js 0x436b4f
mov esi, dword [ebp - 0x54]
push ecx
push dword [esi + 0xbc]
lea ecx, [esi + 0x184]
push dword [esi + 0xb8]
call fcn.00439d10
mov edi, eax
test edi, edi
js 0x436b4f
push dword [esi + 0xbc]
lea ecx, [esi + 0x184]
push dword [esi + 0xb8]
call fcn.00439c90
mov edi, eax
test edi, edi
js 0x436b4f
lea ecx, [ebp - 0x2c]
call fcn.0040f8c0
lea ecx, [ebp - 0x44]
call fcn.0040f8c0
mov edi, dword [ebp - 0x4c]
lea eax, [esi + 0x1b0]
mov dword [ebp - 0x50], 0
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov byte [ebp - 0x58], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 3
add dword [esi + 0x1e8], ecx
mov eax, dword [esi + 0x184]
adc dword [esi + 0x1ec], 0
test eax, eax
je 0x436b6f
push 0
lea edx, [ebp - 0x14]
push edx
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x436b66
call fcn.0043aff0
mov dword [ebp - 0x50], eax
jmp 0x436bd2
lea ecx, [ebp - 0x2c]
call fcn.0040f8c0
lea ecx, [ebp - 0x44]
call fcn.0040f8c0
mov eax, edi
jmp 0x436d3d
mov dword [ebp - 0x50], 0
jmp 0x436bd2
mov eax, dword [esi + 0x15c]
lea edi, [esi + 0x158]
mov edx, dword [edi]
sub eax, edx
jne 0x436bbb
mov ecx, dword [esi + 0x1d0]
mov eax, ecx
and eax, dword [esi + 0x1d4]
cmp eax, 0xffffffff
mov eax, dword [edi + 8]
je 0x436bab
sub eax, edx
cmp ecx, eax
jbe 0x436bbb
cmp ecx, 0x7fffffff
ja 0x436d5a
jmp 0x436bb3
mov ecx, dword [esi + 0x180]
jmp 0x436b97
push ecx
mov ecx, edi
call fcn.0043ad10
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0xc]
add eax, ecx
push eax
push ecx
push dword [edi + 4]
mov ecx, edi
call fcn.0040faf0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
lea eax, [esi + 0x1b0]
mov dword [ebp - 4], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x436d3d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
mov esi, 0x811c9dc5
mov edi, dword [eax + 0x30]
and edx, 0xfffffffe
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
lea ecx, [edx + edi]
inc edx
shr edx, 1
cmp edi, ecx
cmova edx, dword [ebp - 0x48]
mov dword [ebp - 0x48], edx
test edx, edx
je 0x436c6c
mov eax, dword [ebp - 0x14]
nop word [eax + eax]
mov dl, byte [edi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x436c50
or ecx, 0x20
xor esi, ecx
inc eax
imul esi, esi, 0x1000193
add edi, 2
cmp eax, dword [ebp - 0x48]
jne 0x436c40
mov eax, dword [ebp - 0x4c]
cmp esi, 0xc0323159
je 0x436c70
mov eax, dword [eax]
jmp 0x436c04
mov esi, dword [eax + 0x18]
mov eax, dword [0x67f4b8]
mov dword [ebp - 0x48], esi
test eax, eax
jne 0x436d22
test esi, esi
je 0x436d1b
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
xor eax, eax
add ecx, esi
mov dword [ebp - 0x14], ecx
cmp ecx, esi
je 0x436d1d
mov dword [ebp - 0x4c], eax
cmp dword [ecx + 0x18], eax
je 0x436d1b
mov edi, dword [ecx + 0x20]
add edi, esi
nop
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x436ce7
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x436ccd
or eax, 0x20
mov cl, byte [edx]
xor esi, eax
imul esi, esi, 0x1000193
inc edx
test cl, cl
jne 0x436cc0
cmp esi, 0x6a89ce83
je 0x436cfb
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
inc eax
add edi, 4
mov dword [ebp - 0x4c], eax
cmp eax, dword [ecx + 0x18]
je 0x436d1b
mov esi, dword [ebp - 0x48]
jmp 0x436cb0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x436d1d
xor eax, eax
mov dword [0x67f4b8], eax
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x54]
push 0x81f6
push 0x81f4
push dword [ecx + 0x210]
call eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d0a85
mov esp, ebp
pop ebp
ret 8
call fcn.0040c6a0
int3