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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49c50f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5d0c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.00413e60
call fcn.00470580
mov ecx, eax
sub ecx, 0xf
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov ecx, ebp
mov dword [esp + 0x18], ebx
call fcn.00413e90
call fcn.00470580
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
cmp byte [ebp + 0x30], 0
lea ecx, [edx + eax - 1]
mov dword [esp + 0x1c], ecx
je 0x45113b
lea ecx, [ebp + 0x40]
call fcn.00407810
mov edx, dword [ebp + 0x38]
mov ecx, dword [edx + 4]
mov edi, dword [ebp + 0x104]
lea esi, [ebp + 0x38]
push 0xa
add ecx, esi
call fcn.004088f0
movzx eax, al
push eax
push 0x400
push edi
mov ecx, esi
call fcn.00451c40
mov esi, dword [ebp + 0x104]
lea ecx, [ebp + 0xc0]
call fcn.004512a0
mov edx, esi
mov edi, eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x450de0
sub edx, eax
push edx
push esi
mov ecx, edi
call fcn.0040b1b0
lea esi, [ebp + 0xc0]
mov ecx, esi
call fcn.004512a0
mov eax, dword [eax + 0x14]
mov ecx, esi
lea edi, [eax - 1]
call fcn.004512a0
mov esi, eax
cmp edi, dword [esi + 0x14]
jbe 0x450e18
call fcn.004720c6
cmp dword [esi + 0x18], 0x10
jb 0x450e2a
mov esi, dword [esi + 4]
mov cl, byte [esi + edi]
mov byte [esp + 0x17], cl
jmp 0x450e44
mov cl, byte [esi + edi + 4]
add esi, 4
mov byte [esp + 0x17], cl
jmp 0x450e44
mov ebx, dword [esp + 0x18]
mov eax, dword [ebp + 0xd8]
mov esi, dword [ebp + 0xdc]
add esi, eax
cmp eax, esi
jbe 0x450e5b
call fcn.004720c6
mov edi, dword [ebp + 0xc0]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
test edi, edi
jne 0x450e89
call fcn.004720c6
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
dec esi
cmp esi, edx
ja 0x450e96
test edi, edi
je 0x450e8f
mov edi, dword [edi]
jmp 0x450e91
mov eax, dword [edi]
mov ecx, eax
jmp 0x450e76
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x450e9b
call fcn.004720c6
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
call fcn.00413560
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 0x100]
sub ecx, eax
cmp ecx, ebx
jbe 0x451050
cdq
idiv ebx
lea esi, [ebp + 0xe0]
inc eax
imul eax, ebx
mov dword [ebp + 0x100], eax
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
add edi, eax
cmp eax, edi
jbe 0x450ee7
call fcn.004720c6
mov ebx, dword [esi]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
test ebx, ebx
jne 0x450f11
call fcn.004720c6
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
dec edi
cmp edi, ecx
ja 0x450f1e
test ebx, ebx
je 0x450f17
mov ebx, dword [ebx]
jmp 0x450f19
mov eax, dword [ebx]
mov ecx, eax
jmp 0x450efe
xor ebx, ebx
cmp edi, dword [ebx + 0x18]
jae 0x450f23
call fcn.004720c6
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edi
call fcn.00413560
mov ecx, dword [ebp + 0x100]
dec ecx
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xd8]
mov edi, dword [ebp + 0xdc]
add edi, eax
cmp eax, edi
jbe 0x450f59
call fcn.004720c6
mov ebx, dword [ebp + 0xc0]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
test ebx, ebx
jne 0x450f87
call fcn.004720c6
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
dec edi
cmp edi, edx
ja 0x450f94
test ebx, ebx
je 0x450f8d
mov ebx, dword [ebx]
jmp 0x450f8f
mov eax, dword [ebx]
mov ecx, eax
jmp 0x450f74
xor ebx, ebx
cmp edi, dword [ebx + 0x18]
jae 0x450f99
call fcn.004720c6
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
call fcn.00413560
mov ecx, dword [esi + 0x1c]
mov ebx, dword [ebp + 0x100]
inc ecx
mov dword [esp + 0x54], eax
cmp dword [esi + 0x14], ecx
ja 0x450fca
push 1
mov ecx, esi
call fcn.00451700
mov edi, dword [esi + 0x18]
add edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
cmp eax, edi
ja 0x450fd9
sub edi, eax
mov edx, dword [esi + 0x10]
cmp dword [edx + edi*4], 0
jne 0x450ff2
push 0xc
call fcn.004720f1
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x10]
mov edi, dword [edx + edi*4]
test edi, edi
je 0x451008
mov eax, dword [esp + 0x54]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [esp + 0x1c]
inc dword [esi + 0x1c]
cmp dword [ebp + 0xfc], ecx
jbe 0x450e40
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x450e40
inc dword [esi + 0x18]
mov ecx, dword [esi + 0x18]
cmp dword [esi + 0x14], ecx
ja 0x451038
mov dword [esi + 0x18], 0
add eax, 0xffffffff
mov dword [esi + 0x1c], eax
jne 0x450e40
mov dword [esi + 0x18], 0
jmp 0x450e40
lea edi, [ebp + 0xc0]
mov ecx, edi
call fcn.004512a0
mov eax, dword [eax + 0x14]
lea esi, [ebp + 0xe0]
mov ecx, esi
lea ebx, [eax - 1]
call fcn.004512a0
mov dword [eax + 8], ebx
mov al, byte [esp + 0x17]
cmp al, 0xd
je 0x451083
cmp al, 0xa
jne 0x45111a
xor ebx, ebx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edx, [esp + 0x60]
push edx
mov ecx, edi
mov dword [esp + 0x8c], ebx
call fcn.00451960
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x88], 0xffffffff
jb 0x4510c7
mov eax, dword [esp + 0x64]
push eax
call fcn.00470751
add esp, 4
mov ecx, edi
call fcn.004512a0
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004519c0
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x100], ebx
cmp dword [ebp + 0xfc], edx
jbe 0x45111c
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x45111c
inc dword [esi + 0x18]
mov ecx, dword [esi + 0x18]
cmp dword [esi + 0x14], ecx
ja 0x45110d
mov dword [esi + 0x18], ebx
dec eax
mov dword [esi + 0x1c], eax
cmp eax, ebx
jne 0x45111c
mov dword [esi + 0x18], ebx
jmp 0x45111c
xor ebx, ebx
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebp + 0x60]
lea ecx, [ecx + ebp + 0x38]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.00406db0
mov byte [ebp + 0x30], 0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret