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

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x98]
push edi
mov dword [esp + 0x6c], 1
mov ebx, dword [edi + 4]
mov dword [esp + 0x80], ebx
mov eax, dword [ebx + 0x17f8]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x17fc]
mov dword [esp + 0x44], eax
call fcn.0045164f
cmp dword [ebx + 0xfc], 0
mov ebp, dword [ebx + 0x11c]
mov dword [esp + 0x34], eax
mov eax, dword [edi]
pop ecx
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x110]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0x10]
je 0x4547cd
lea eax, [ebx + 0x1c0]
jmp 0x4547cf
xor eax, eax
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x4547dd
mov ecx, dword [ebx + 0x124]
test esi, esi
jne 0x4547e7
mov esi, dword [ebx + 0x128]
test ebp, ebp
je 0x4547f9
mov esi, dword [ebx + 0x118]
lea esi, [esi + ebp]
shr esi, 1
inc esi
jmp 0x454819
cmp edx, dword [ebx + 0x114]
jne 0x45480d
test edx, edx
je 0x45480d
imul esi, ecx
imul esi, edx
jmp 0x454813
imul esi, ecx
shl esi, 0xc
shr esi, 3
add esi, 0x40
mov eax, dword [esp + 0x4c]
and dword [esp + 0x24], 0
and dword [esp + 0x10], 0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], esi
test ecx, ecx
jne 0x45487d
test eax, eax
jne 0x45487d
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
jmp 0x454889
mov edx, eax
mov dword [esp + 0x14], eax
mov ebp, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x454a7f
mov eax, dword [esp + 0x4c]
and dword [esp + 0x74], 0
and dword [esp + 0x6c], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
mov dword [esp + 0x8c], eax
dec eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x3c], ebp
js 0x454975
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0xa4]
imul edi, eax, 0x18
mov dword [esp + 0x44], edi
mov edx, edi
mov ebx, dword [0x525c20]
cmp dword [edx + ecx], ebx
mov ebp, dword [edx + ecx + 4]
mov ebx, dword [edx + ecx]
jne 0x4548f7
cmp ebp, dword [0x525c24]
je 0x454929
cmp dword [edx + ecx + 0x10], 0
jbe 0x454929
cmp dword [esp + 0x38], 0
ja 0x45490c
cmp dword [esp + 0x30], 0
jbe 0x45491a
cmp ebp, dword [esp + 0x38]
ja 0x454929
jb 0x45491a
cmp ebx, dword [esp + 0x30]
jae 0x454929
cmp ebp, dword [esp + 0xa8]
jb 0x45492f
ja 0x454929
cmp ebx, esi
jbe 0x45492f
sub edx, 0x18
dec eax
jns 0x4548dd
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
js 0x454971
imul eax, eax, 0x18
mov ebp, dword [eax + ecx + 8]
add ebp, dword [esp + 0x4c]
mov dword [esp + 0x54], ebp
mov ebp, dword [eax + ecx + 0xc]
adc ebp, dword [esp + 0x40]
mov dword [esp + 0x5c], ebp
mov ebp, dword [eax + ecx]
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp dword [ecx], eax
jle 0x4549ef
mov edx, dword [ecx + 4]
xor ecx, ecx
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0xa4]
mov ebx, dword [ecx + edx]
mov edi, dword [ecx + edx + 4]
cmp ebx, dword [0x525c20]
jne 0x4549a5
cmp edi, dword [0x525c24]
je 0x4549d7
cmp dword [ecx + edx + 0x10], 0
jbe 0x4549d7
cmp dword [esp + 0x38], 0
ja 0x4549ba
cmp dword [esp + 0x30], 0
jbe 0x4549c8
cmp edi, dword [esp + 0x38]
ja 0x4549d7
jb 0x4549c8
cmp ebx, dword [esp + 0x30]
jae 0x4549d7
cmp edi, dword [esp + 0xa8]
ja 0x4549df
jb 0x4549d7
cmp ebx, esi
ja 0x4549df
inc eax
add ecx, 0x18
cmp eax, ebp
jl 0x45498e
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp eax, dword [esp + 0x8c]
jge 0x454a2c
imul ecx, eax, 0x18
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov edi, dword [ecx + eax + 8]
add edi, dword [esp + 0x4c]
mov dword [esp + 0x58], edi
mov edi, dword [ecx + eax + 0xc]
adc edi, dword [esp + 0x40]
mov dword [esp + 0x60], edi
mov edi, dword [ecx + eax]
mov eax, dword [ecx + eax + 4]
mov dword [esp + 0x84], edi
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x5c]
jb 0x454a7f
mov eax, dword [esp + 0x58]
ja 0x454a42
cmp eax, dword [esp + 0x54]
jb 0x454a7f
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
jmp 0x454a83
mov eax, dword [esp + 0x10]
cmp edx, dword [esp + 0x24]
jne 0x454a9b
cmp ebp, eax
jne 0x454a9b
add edx, 1
mov dword [esp + 0x14], edx
adc ebp, 0
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
mov dword [ebx + 0x1800], ecx
mov dword [ebx + 0x1804], edi
mov edi, dword [esp + 0x98]
cmp eax, ebp
ja 0x454d8b
mov ebx, dword [esp + 0x24]
jb 0x454ad2
cmp ebx, edx
jae 0x454d8b
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x2c]
ja 0x454d8b
jb 0x454af0
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x28]
ja 0x454d8b
mov eax, ecx
mov ecx, dword [esp + 0xa8]
sub eax, ebx
mov dword [esp + 0x84], eax
sbb ecx, dword [esp + 0x10]
and dword [esp + 0x6c], 0
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [esp + 0x88], ecx
sub edx, ebx
fild qword [esp + 0x84]
mov dword [esp + 0x70], eax
mov ecx, ebp
sbb ecx, dword [esp + 0x10]
mov ebx, closesocket
and dword [esp + 0x60], 0
mov eax, ecx
fild qword [esp + 0x6c]
mov dword [esp + 0x74], edx
and eax, ebx
mov edx, closesocket
mov dword [esp + 0x64], eax
and ecx, edx
mov dword [esp + 0x78], ecx
fchs
faddp st(1)
fstp qword [esp + 0x44]
fld qword [esp + 0x44]
fild qword [esp + 0x74]
fild qword [esp + 0x60]
fchs
faddp st(1)
fstp qword [esp + 0x44]
fdiv qword [esp + 0x44]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x20]
and dword [esp + 0x7c], 0
mov dword [esp + 0x8c], eax
mov eax, ecx
and ecx, edx
and eax, ebx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x80], eax
fild qword [esp + 0x8c]
fild qword [esp + 0x7c]
fchs
faddp st(1)
fstp qword [esp + 0x44]
fmul qword [esp + 0x44]
call fcn.0041b226
mov ebx, eax
mov ebp, edx
sub ebx, esi
sbb ebp, 0
add ebx, dword [esp + 0x1c]
adc ebp, dword [esp + 0x20]
cmp ebp, dword [esp + 0x2c]
jl 0x454bf0
jg 0x454be2
cmp ebx, dword [esp + 0x28]
jb 0x454bf0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub ebx, 1
sbb ebp, 0
cmp ebp, dword [esp + 0x20]
jg 0x454c06
jl 0x454bfe
cmp ebx, dword [esp + 0x1c]
jae 0x454c06
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov eax, dword [edi + 4]
push dword [eax + 0x30]
push ebp
push ebx
push edi
call dword [eax + 8]
add esp, 0x10
test eax, eax
jne 0x454d8b
push edi
call fcn.00451562
pop ecx
test eax, eax
je 0x454d93
mov eax, dword [edi + 4]
push edi
and dword [eax + 0x1808], 0
call fcn.00451808
pop ecx
test eax, eax
je 0x454d8b
mov eax, dword [edi]
cmp dword [eax], 7
je 0x454d8b
mov eax, dword [edi + 4]
cmp dword [eax + 0xe30], 0
je 0x454d86
cmp dword [eax + 0xf0], 0
mov edx, dword [eax + 0xec0]
mov ecx, dword [eax + 0xec4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ecx
jne 0x454c86
cmp dword [eax + 0xf4], 0
je 0x454cac
mov ecx, dword [eax + 0xea8]
add ecx, edx
push 0
pop edx
adc edx, dword [eax + 0xec4]
cmp edx, dword [esp + 0x18]
jb 0x454ccf
ja 0x454ca5
cmp ecx, dword [esp + 0x14]
jb 0x454ccf
cmp dword [esp + 0x68], 0
jne 0x454ccf
cmp ebx, dword [esp + 0x1c]
jne 0x454cbc
cmp ebp, dword [esp + 0x20]
je 0x454d8b
test esi, esi
je 0x454cc7
add esi, esi
jmp 0x454d62
push 0x10
pop esi
jmp 0x454d62
and dword [esp + 0x68], 0
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x10]
jb 0x454d8b
mov esi, dword [esp + 0x3c]
ja 0x454cf2
cmp esi, dword [esp + 0x24]
jb 0x454d8b
cmp dword [esp + 0xa8], eax
ja 0x454d29
jb 0x454d06
cmp dword [esp + 0xa4], esi
jae 0x454d29
lea eax, [esp + 0x28]
mov dword [esp + 0x14], ecx
push eax
push edi
mov dword [esp + 0x20], edx
call fcn.004515d6
pop ecx
pop ecx
test eax, eax
je 0x454d8b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
jmp 0x454d4a
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
push edi
mov dword [esp + 0x18], edx
call fcn.004515d6
pop ecx
pop ecx
test eax, eax
je 0x454d8b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub ecx, ebx
push 0
sbb eax, ebp
shld eax, ecx, 1
push 3
push eax
add ecx, ecx
push ecx
call fcn.0041b440
lea esi, [eax + 0x10]
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x10], ebp
ja 0x454d8b
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
jb 0x454d7a
cmp ebx, edx
jae 0x454d8b
mov ecx, dword [esp + 0xa4]
jmp 0x454ad2
xor eax, eax
inc eax
jmp 0x454d95
mov eax, dword [edi]
mov dword [eax], 6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret