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

Disassembly:
push 0xffffffffffffffff
push 0x4a98c5
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
mov eax, dword [0x4cd4a4]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x90]
xor esi, esi
cmp dword [ecx + 0x2308], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], esi
jle 0x451108
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x4508a5
mov eax, dword [edx + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4508b2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x9c]
mov eax, dword [edx + 4]
cmp dword [eax + esi*4], 0xfffffff7
jne 0x4510f1
test ebp, ebp
jne 0x4508cd
push 0x80004003
call fcn.0049fa80
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
call fcn.00403a00
mov esi, eax
or ebx, 1
cmp dword [esi], 0
mov byte [esp + 0x88], 1
mov dword [esp + 0x14], ebx
jne 0x4508f9
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x5c]
push edx
call fcn.00403710
mov esi, eax
or ebx, 2
cmp dword [esi], 0
mov dword [esp + 0x88], 2
mov dword [esp + 0x14], ebx
jne 0x450928
push 0x80004003
call fcn.0049fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.00403c80
mov esi, eax
or ebx, 4
cmp dword [esi], 0
mov dword [esp + 0x88], 3
mov dword [esp + 0x14], ebx
jne 0x45095c
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x24]
push ecx
push esi
call edx
test eax, eax
jge 0x45097b
push 0x4b3ad8
push esi
push eax
call fcn.0049fa90
cmp dword [esp + 0x24], 0x46
je 0x450bf4
test ebp, ebp
jne 0x450994
push 0x80004003
call fcn.0049fa80
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call fcn.00403a00
mov esi, eax
or ebx, 8
cmp dword [esi], 0
mov dword [esp + 0x88], 4
mov dword [esp + 0x14], ebx
jne 0x4509c3
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x50]
push edx
call fcn.00403710
mov esi, eax
or ebx, 0x10
cmp dword [esi], 0
mov dword [esp + 0x88], 5
mov dword [esp + 0x14], ebx
jne 0x4509f2
push 0x80004003
call fcn.0049fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x50]
push edx
call fcn.00403c80
mov esi, eax
or ebx, 0x20
cmp dword [esi], 0
mov dword [esp + 0x88], 6
mov dword [esp + 0x14], ebx
jne 0x450a26
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x28]
push ecx
push esi
call edx
test eax, eax
jge 0x450a45
push 0x4b3ad8
push esi
push eax
call fcn.0049fa90
cmp dword [esp + 0x28], 0x47
je 0x450bf4
test ebp, ebp
jne 0x450a5e
push 0x80004003
call fcn.0049fa80
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.00403a00
mov esi, eax
or ebx, 0x40
cmp dword [esi], 0
mov dword [esp + 0x88], 7
mov dword [esp + 0x14], ebx
jne 0x450a8d
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x44]
push edx
call fcn.00403710
mov esi, eax
or ebx, 0x80
cmp dword [esi], 0
mov dword [esp + 0x88], 8
mov dword [esp + 0x14], ebx
jne 0x450abf
push 0x80004003
call fcn.0049fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x44]
push edx
call fcn.00403c80
mov esi, eax
or ebx, 0x100
cmp dword [esi], 0
mov dword [esp + 0x88], 9
mov dword [esp + 0x14], ebx
jne 0x450af6
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x2c]
push ecx
push esi
call edx
test eax, eax
jge 0x450b15
push 0x4b3ad8
push esi
push eax
call fcn.0049fa90
cmp dword [esp + 0x2c], 0x53
je 0x450bf4
test ebp, ebp
jne 0x450b2e
push 0x80004003
call fcn.0049fa80
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.00403a00
mov esi, eax
or ebx, 0x200
cmp dword [esi], 0
mov dword [esp + 0x88], 0xa
mov dword [esp + 0x14], ebx
jne 0x450b60
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x38]
push edx
call fcn.00403710
mov esi, eax
or ebx, 0x400
cmp dword [esi], 0
mov dword [esp + 0x88], 0xb
mov dword [esp + 0x14], ebx
jne 0x450b92
push 0x80004003
call fcn.0049fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00403c80
mov esi, eax
or ebx, 0x800
cmp dword [esi], 0
mov dword [esp + 0x88], 0xc
mov dword [esp + 0x14], ebx
jne 0x450bc9
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x30]
push ecx
push esi
call edx
test eax, eax
jge 0x450be8
push 0x4b3ad8
push esi
push eax
call fcn.0049fa90
cmp dword [esp + 0x30], 0x21
mov byte [esp + 0x13], 1
jne 0x450bf9
mov byte [esp + 0x13], 0
test ebx, 0x800
mov dword [esp + 0x88], 0xb
je 0x450c26
mov eax, dword [esp + 0x34]
and ebx, 0xfffff7ff
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450c26
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, 0x400
mov dword [esp + 0x88], 0xa
je 0x450c53
mov eax, dword [esp + 0x38]
and ebx, 0xfffffbff
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450c53
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, 0x200
mov dword [esp + 0x88], 9
je 0x450c80
mov eax, dword [esp + 0x3c]
and ebx, 0xfffffdff
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450c80
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, 0x100
mov dword [esp + 0x88], 8
je 0x450cad
mov eax, dword [esp + 0x40]
and ebx, 0xfffffeff
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450cad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
mov dword [esp + 0x88], 7
jns 0x450cd6
mov eax, dword [esp + 0x44]
and ebx, 0xffffff7f
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450cd6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 0x40
mov dword [esp + 0x88], 6
je 0x450cfd
mov eax, dword [esp + 0x48]
and ebx, 0xffffffbf
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450cfd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 0x20
mov dword [esp + 0x88], 5
je 0x450d24
mov eax, dword [esp + 0x4c]
and ebx, 0xffffffdf
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450d24
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 0x10
mov dword [esp + 0x88], 4
je 0x450d4b
mov eax, dword [esp + 0x50]
and ebx, 0xffffffef
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450d4b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 8
mov dword [esp + 0x88], 3
je 0x450d72
mov eax, dword [esp + 0x54]
and ebx, 0xfffffff7
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450d72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 4
mov dword [esp + 0x88], 2
je 0x450d99
mov eax, dword [esp + 0x58]
and ebx, 0xfffffffb
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450d99
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 2
mov dword [esp + 0x88], 1
je 0x450dc0
mov eax, dword [esp + 0x5c]
and ebx, 0xfffffffd
test eax, eax
mov dword [esp + 0x14], ebx
je 0x450dc0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 1
mov dword [esp + 0x88], 0
je 0x450de3
mov eax, dword [esp + 0x60]
and ebx, 0xfffffffe
test eax, eax
je 0x450de3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x13], 0
je 0x450e7f
mov eax, dword [esp + 0xa0]
fldz
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x1c]
push eax
push 0xfffffffffffffff7
push ecx
mov ecx, dword [edx + 4]
fstp dword [esp]
test ecx, ecx
push 0
je 0x450e1e
mov eax, dword [edx + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x450e2b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0xa8]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + esi*4]
push edx
mov edx, dword [esp + 0xa8]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x450e4c
mov eax, dword [edx + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x450e59
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0xa8]
test ebp, ebp
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi*4]
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], ebp
je 0x450e76
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push ebp
call eax
mov ecx, dword [esp + 0x3c]
call fcn.0044d550
test ebp, ebp
jne 0x450e8d
push 0x80004003
call fcn.0049fa80
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
call fcn.00403a00
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x88], 0xd
jne 0x450eb2
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x6c]
push edx
call fcn.00403710
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x88], 0xe
jne 0x450ed7
push 0x80004003
call fcn.0049fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.00403c80
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x88], 0xf
jne 0x450f01
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x64]
push ecx
push esi
call edx
test eax, eax
jge 0x450f20
push 0x4b3ad8
push esi
push eax
call fcn.0049fa90
cmp dword [esp + 0x64], 0x21
mov eax, dword [esp + 0x68]
sete byte [esp + 0x13]
test eax, eax
mov byte [esp + 0x88], 0xe
je 0x450f42
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x6c]
test eax, eax
mov byte [esp + 0x88], 0xd
je 0x450f5a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x70]
test eax, eax
mov byte [esp + 0x88], 0
je 0x450f72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x13], 0
je 0x4510e1
test ebp, ebp
jne 0x450f8b
push 0x80004003
call fcn.0049fa80
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
call fcn.00403a00
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x88], 0x10
jne 0x450fb0
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x78]
push edx
call fcn.00403710
mov esi, eax
cmp dword [esi], 0
mov byte [esp + 0x88], 0x11
jne 0x450fd5
push 0x80004003
call fcn.0049fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x78]
push edx
call fcn.00403c80
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
mov esi, dword [ecx + 0x230c]
cmp esi, eax
je 0x451016
test eax, eax
mov edx, ecx
mov dword [edx + 0x230c], eax
je 0x45100a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
test esi, esi
je 0x451016
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x451026
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x78]
test eax, eax
mov byte [esp + 0x88], 0x10
je 0x45103e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x7c]
test eax, eax
mov byte [esp + 0x88], 0
je 0x451056
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xa0]
fldz
mov esi, dword [esp + 0x98]
push eax
push 0xfffffffffffffff5
push ecx
mov ecx, dword [esi + 4]
fstp dword [esp]
test ecx, ecx
push 0
je 0x451086
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x2c]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x451090
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + edx*4]
mov esi, dword [esp + 0xa4]
mov ecx, dword [esi + 4]
test ecx, ecx
push eax
je 0x4510b1
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4510bb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x30]
test ebp, ebp
mov ecx, dword [esi + 4]
mov edx, dword [ecx + edx*4]
push edx
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], ebp
je 0x4510d8
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov ecx, dword [esp + 0x3c]
call fcn.0044d550
add dword [esp + 0x18], 1
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
add esi, 1
cmp esi, dword [eax + 0x2308]
mov dword [esp + 0x1c], esi
jl 0x450892
test ebp, ebp
mov dword [esp + 0x88], 0xffffffff
je 0x451120
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x14