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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x45f5b2
sub esp, 0x94
mov edx, dword [esp + 0x98]
movzx ebx, byte [edx + 0xf]
and ebx, 0x1f
cmp ebx, 0x14
jne 0x45f576
mov ebx, dword [edx + 0x28]
test ebx, ebx
je 0x45f567
mov ebx, dword [esp + 0x9c]
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x14
jne 0x45f204
xor eax, eax
xor ecx, ecx
jmp 0x45ef18
mov ebp, dword [esp + 0x1c]
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x9c]
mov ebx, ebp
mov ecx, edx
mov edx, dword [esp + 0x98]
cmp dword [ebx + 0x28], eax
jle 0x45f1f5
mov ebp, dword [edx + 0x24]
mov esi, dword [edx + 0x28]
cmp esi, ecx
jbe 0x45f5a8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x24], ecx
lea eax, [ebp + ecx*8]
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00456650
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x1c]
cmp ebp, edx
jae 0x45f59f
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
lea edx, [ecx + ebp*8]
mov edx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00456650
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
test eax, eax
je 0x45efb9
lea edx, [eax + 3]
mov dword [esp + 0x7c], edx
movzx edx, byte [eax + 1]
shl edx, 8
movzx ebx, byte [eax + 2]
or ebx, edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x45efe9
lea ebx, [edx + 3]
mov dword [esp + 0x64], ebx
movzx ebx, byte [edx + 1]
shl ebx, 8
movzx ebp, byte [edx + 2]
or ebp, ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x7c]
lea edi, [esp + 0x64]
cmp dword [edi + 4], ebx
je 0x45f16b
xor ecx, ecx
test cl, cl
je 0x45f15b
movzx ebx, byte [edx]
test bl, 1
je 0x45f03f
mov edx, dword [esp + 0x24]
inc edx
mov ebx, dword [esp + 0x98]
cmp dword [ebx + 0x28], edx
jg 0x45eeff
mov byte [esp + 0xa0], 1
add esp, 0x94
ret
mov dword [esp], edx
call fcn.0045e340
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x45f154
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
test ecx, ecx
je 0x45f08d
lea edx, [ecx + 3]
mov dword [esp + 0x74], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ecx, byte [ecx + 2]
or ecx, edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0045e340
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x45f14b
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 0x20]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
test ebx, ebx
je 0x45f0fb
lea ebp, [ebx + 3]
mov dword [esp + 0x8c], ebp
movzx ebp, byte [ebx + 1]
shl ebp, 8
movzx ebx, byte [ebx + 2]
or ebx, ebp
mov dword [esp + 0x90], ebx
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x14]
cmp ebx, eax
je 0x45f121
mov ebx, dword [esp + 0x98]
mov edx, dword [esp + 0x24]
jmp 0x45eeff
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00402670
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45f01b
mov edx, dword [esp + 0x9c]
jmp 0x45f111
mov edx, dword [esp + 0x9c]
jmp 0x45f109
mov edx, eax
jmp 0x45f095
mov ebx, dword [esp + 0x98]
mov edx, dword [esp + 0x24]
jmp 0x45eeff
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00402670
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45f193
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
xor ecx, ecx
jmp 0x45f00b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00456690
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 8]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00456690
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
sete cl
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
jmp 0x45f00b
mov byte [esp + 0xa0], 0
add esp, 0x94
ret
mov dword [esp], ebx
call fcn.0045e4b0
mov eax, dword [esp + 4]
test eax, eax
je 0x45f558
movzx ebp, word [eax + 4]
test bp, bp
jne 0x45f53e
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x98]
xor ebp, ebp
xor esi, esi
jmp 0x45f257
mov edi, dword [esp + 0x20]
lea ebp, [edi + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov esi, edx
mov edx, dword [esp + 0x30]
movzx edi, word [eax + 4]
cmp ebp, edi
jge 0x45f52f
mov edi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x28]
cmp edx, esi
jbe 0x45f58c
mov dword [esp + 0x50], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], esi
lea eax, [edi + esi*8]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00456650
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
cmp ecx, edx
jbe 0x45f585
mov dword [esp + 0x4c], eax
shl edx, 4
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + edx]
mov edx, dword [ecx + edx + 4]
mov dword [esp + 0x2c], edx
nop
mov ebp, dword [esp + 0x9c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00456650
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test eax, eax
je 0x45f2fc
lea edx, [eax + 3]
mov dword [esp + 0x5c], edx
movzx edx, byte [eax + 1]
shl edx, 8
movzx ebx, byte [eax + 2]
or edx, ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x45f32c
lea ebx, [edx + 3]
mov dword [esp + 0x6c], ebx
movzx ebx, byte [edx + 1]
shl ebx, 8
movzx ebp, byte [edx + 2]
or ebx, ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
lea edi, [esp + 0x6c]
cmp dword [edi + 4], ebx
je 0x45f4af
xor ecx, ecx
test cl, cl
je 0x45f49f
movzx ebx, byte [edx]
test bl, 1
je 0x45f37f
mov edx, dword [esp + 0x28]
inc edx
mov ebx, dword [esp + 0x98]
cmp dword [ebx + 0x28], edx
jg 0x45f242
mov byte [esp + 0xa0], 1
add esp, 0x94
ret
mov dword [esp], edx
call fcn.0045e340
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x45f498
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
test ecx, ecx
je 0x45f3d9
lea edx, [ecx + 3]
mov dword [esp + 0x84], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ecx, byte [ecx + 2]
or edx, ecx
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0045e340
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
je 0x45f442
mov edx, dword [esp + 0x18]
cmp eax, edx
je 0x45f41f
mov ebx, dword [esp + 0x98]
mov edx, dword [esp + 0x28]
jmp 0x45f242
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402670
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45f35b
jmp 0x45f40f
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00456650
mov eax, dword [esp + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test eax, eax
je 0x45f48b
lea edx, [eax + 3]
mov dword [esp + 0x54], edx
movzx edx, byte [eax + 1]
shl edx, 8
movzx ebx, byte [eax + 2]
or ebx, edx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
jmp 0x45f407
mov edx, eax
jmp 0x45f3e7
mov ebx, dword [esp + 0x98]
mov edx, dword [esp + 0x28]
jmp 0x45f242
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00402670
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45f4d7
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
xor ecx, ecx
jmp 0x45f34b
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.00456690
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 8]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00456690
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
sete cl
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
jmp 0x45f34b
mov byte [esp + 0xa0], 0
add esp, 0x94
ret
mov esi, dword [eax + 8]
movzx edx, bp
lea ebp, [eax + esi]
cmp edx, 0x10000
ja 0x45f595
mov ecx, edx
mov edx, ebp
jmp 0x45f229
mov byte [esp + 0xa0], 0
add esp, 0x94
ret
mov byte [esp + 0xa0], 1
add esp, 0x94
ret
mov byte [esp + 0xa0], 0
add esp, 0x94
ret
mov eax, edx
call fcn.00459650
mov eax, esi
mov ecx, edx
call fcn.00459650
mov ebx, 0x10000
call fcn.004596d0
mov eax, ebp
mov ecx, edx
call fcn.00459650
mov eax, ecx
mov ecx, esi
call fcn.00459650
nop
call fcn.00458070
jmp fcn.0045eea0