Function at 0x40d2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
add ecx, 1
xor eax, 0xffffffff
or eax, 0xfff
xor edx, edx
sub edx, ecx
sub eax, edx
add eax, 2
mov ecx, 3
cdq
idiv ecx
xor eax, 0xffffffff
sub eax, 0xffffffff
mov ecx, 0xfb50bd21
sub ecx, eax
add ecx, 0x4af42e0
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x1c]
and eax, 0x4000
cmp eax, 0
setne al
and al, 1
movzx eax, al
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0xa088d8d8
and eax, 0x5f772727
or ecx, eax
xor ecx, 0x5f772727
mov eax, ecx
or eax, 0xfffff000
xor eax, 0xffffffff
xor ecx, 0xffffffff
and ecx, 0xfff
xor eax, 0xffffffff
xor ecx, 0xffffffff
and eax, ecx
xor eax, 0xffffffff
xor eax, 0xffffffff
or eax, 0
xor eax, 0xffffffff
and eax, 0xffffffff
shr eax, 2
add eax, 1
add eax, 1
mov ecx, 3
xor edx, edx
div ecx
add eax, 0x3e2b74b2
add eax, 0xc1d48b4f
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
xor ecx, 0xffff7fff
and ecx, eax
cmp ecx, 0
jne 0x40d419
mov eax, dword [esp + 0x10]
add eax, 0x29272
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x10000
call fcn.0044e7d0
jmp 0x40d41b
mov eax, dword [esp + 0x10]
mov dword [eax + 0x44], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x40], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x3c], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x24], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x68], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x48], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x64], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x60], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x5c], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x58], 0
mov eax, dword [esp + 0x10]
add eax, 0x9272
add eax, 1
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x10]
add eax, 0x9272
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov byte [eax], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x38], 8
mov eax, dword [esp + 0x10]
add eax, 0x39272
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x10]
add eax, 0x39272
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x6c], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x54], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x50], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x4c], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x18], 1
mov eax, dword [esp + 0x10]
mov dword [eax + 0x70], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x74], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x78], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x7c], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x80], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x84], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x88], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x8c], 0
mov eax, dword [esp + 0x1c]
mov ecx, eax
add ecx, 1
xor eax, 0xffffffff
or eax, 0x8000
add eax, ecx
cmp eax, 0
setne al
test al, 1
jne 0x40d5d8
jmp 0x40d5b1
jmp 0x40d5b3
mov eax, dword [esp + 0x10]
add eax, 0x90
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x8101
call fcn.0044e7d0
jmp 0x40d5d8
mov eax, dword [esp + 0x10]
add eax, 0x8192
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x240
call fcn.0044e7d0
mov eax, dword [esp + 0x10]
add eax, 0x8192
add eax, 0x240
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x40
call fcn.0044e7d0
xor eax, eax
add esp, 0xc
ret