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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a6a7
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x46e0a0]
xor eax, esp
mov dword [esp + 0x638], eax
push ebx
push esi
push edi
mov eax, dword [0x46e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x650]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x28], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov ebx, 0x463ea4
mov eax, ebx
lea esi, [esp + 0x250]
call fcn.0040f840
cmp dword [eax + 0x14], 0x10
jb 0x451758
mov eax, dword [eax]
push eax
call fcn.0042526a
pop ecx
mov dword [esp + 0x48], eax
and dword [esp + 0x658], 0
push 1
xor edi, edi
lea esi, [esp + 0x254]
call fcn.00404f01
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x45178b
mov edx, dword [eax]
jmp 0x45178d
mov edx, eax
mov edi, 0x46189c
test edx, edx
je 0x45179b
cmp ecx, 8
jmp 0x4517bd
mov ecx, edi
lea esi, [esp + 0x100]
call fcn.0040f860
mov byte [esp + 0x658], 1
cmp dword [eax + 0x14], 8
mov dword [esp + 0x28], 1
jb 0x4517c1
mov eax, dword [eax]
push eax
lea eax, [esp + 0xcc]
call fcn.00405368
mov eax, dword [esp + 0x18]
mov dword [esp + 0x658], 2
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x4517e9
mov edx, dword [eax]
jmp 0x4517eb
mov edx, eax
test edx, edx
je 0x4517f4
cmp ecx, 8
jmp 0x451813
mov ecx, edi
lea esi, [esp + 0x218]
call fcn.0040f860
mov byte [esp + 0x658], 3
or dword [esp + 0x28], 2
cmp dword [eax + 0x14], 8
jb 0x451817
mov eax, dword [eax]
push eax
lea eax, [esp + 0xb0]
call fcn.00405368
mov esi, 0xfde9
push esi
lea ecx, [esp + 0xcc]
lea edi, [esp + 0x2fc]
mov dword [esp + 0x65c], 4
call fcn.00418e90
mov dword [esp + 0x18], eax
push esi
lea ecx, [esp + 0xb4]
lea edi, [esp + 0x1e8]
mov byte [esp + 0x660], 5
call fcn.00418e90
pop ecx
pop ecx
mov dword [esp + 0x3c], eax
mov eax, ebx
lea esi, [esp + 0x288]
mov byte [esp + 0x658], 6
call fcn.0040f840
mov dword [esp + 0x2c], eax
mov eax, 0x4629a8
lea esi, [esp + 0x1a8]
mov byte [esp + 0x658], 7
call fcn.0040f840
mov edi, eax
mov eax, 0x463ec4
lea esi, [esp + 0x2dc]
mov byte [esp + 0x658], 8
call fcn.0040f840
mov ebx, eax
mov eax, 0x4629b8
lea esi, [esp + 0x170]
mov byte [esp + 0x658], 9
call fcn.0040f840
mov byte [esp + 0x658], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x4518e7
mov eax, dword [eax]
push eax
lea eax, [esp + 0xe8]
call fcn.00404905
push 0x10
pop esi
mov byte [esp + 0x658], 0xb
cmp dword [ebx + 0x14], esi
jb 0x451906
mov ebx, dword [ebx]
push ebx
push eax
lea eax, [esp + 0x140]
call fcn.00407fb2
pop ecx
pop ecx
mov byte [esp + 0x658], 0xc
cmp dword [edi + 0x14], esi
jb 0x451925
mov edi, dword [edi]
push edi
push eax
lea eax, [esp + 0x2c8]
call fcn.00407fb2
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x658], 0xd
cmp dword [ecx + 0x14], esi
jb 0x451948
mov ecx, dword [ecx]
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0x14], esi
jb 0x451953
mov edx, dword [edx]
mov edi, dword [esp + 0x2c]
cmp dword [edi + 0x14], esi
jb 0x45195e
mov edi, dword [edi]
cmp dword [eax + 0x14], esi
jb 0x451965
mov eax, dword [eax]
push ecx
push edx
push dword [esp + 0x24]
push edi
push eax
push 0
call fcn.00448942
xor ebx, ebx
add esp, 0x18
inc ebx
push ebx
xor edi, edi
lea esi, [esp + 0x2c4]
call fcn.00404f01
push ebx
lea esi, [esp + 0x13c]
call fcn.00404f01
push ebx
lea esi, [esp + 0xe8]
call fcn.00404f01
push ebx
lea esi, [esp + 0x174]
call fcn.00404f01
push ebx
lea esi, [esp + 0x2e0]
call fcn.00404f01
push ebx
lea esi, [esp + 0x1ac]
call fcn.00404f01
push ebx
lea esi, [esp + 0x28c]
call fcn.00404f01
push ebx
lea esi, [esp + 0x1e4]
call fcn.00404f01
push ebx
lea esi, [esp + 0x2fc]
call fcn.00404f01
push ebx
lea esi, [esp + 0xb0]
call fcn.00405241
test byte [esp + 0x28], 2
je 0x451a17
and dword [esp + 0x28], 0xfffffffd
push ebx
lea esi, [esp + 0x21c]
call fcn.00405241
push ebx
xor edi, edi
lea esi, [esp + 0xcc]
call fcn.00405241
and dword [esp + 0x658], edi
test byte [esp + 0x28], 1
je 0x451a46
and dword [esp + 0x28], 0xfffffffe
push ebx
lea esi, [esp + 0x104]
call fcn.00405241
mov ecx, dword [esp + 0x24]
push 0
call fcn.00446a87
pop ecx
mov eax, 0x463ee0
lea esi, [esp + 0x11c]
call fcn.0040f840
mov byte [esp + 0x658], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x451a73
mov eax, dword [eax]
push eax
lea eax, [esp + 0x5c]
call fcn.00404905
push ebx
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404f01
and dword [esp + 0x84], edi
mov dword [esp + 0x88], 0xf
mov byte [esp + 0x74], 0
mov byte [esp + 0x658], 0x11
mov dword [esp + 0x14], 0x68f7
mov eax, dword [esp + 0x14]
imul eax, eax, 0x6a72
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp qword [esp + 0x2c]
sar dword [esp + 0x14], 0x1f
fld qword [esp + 0x2c]
fmul qword [0x467b28]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [esp + 0x2c]
call fcn.00426330
and dword [esp + 0x38], edi
mov dword [esp + 0x14], eax
mov ecx, 0x463ef0
lea esi, [esp + 0x154]
mov dword [esp + 0x14], ebx
call fcn.0040f860
mov byte [esp + 0x658], 0x12
cmp dword [eax + 0x14], 8
jb 0x451b24
mov esi, dword [eax]
jmp 0x451b26
mov esi, eax
push esi
call fcn.004249bb
pop ecx
mov ecx, dword [esp + 0x18]
push esi
push 6
mov edi, eax
pop eax
call fcn.00407c95
mov ebx, eax
neg ebx
sbb bl, bl
push 1
xor edi, edi
lea esi, [esp + 0x158]
mov byte [esp + 0x65c], 0x11
call fcn.00405241
inc bl
je 0x451c9d
push 0xffffffffffffffff
push 6
push dword [esp + 0x20]
lea esi, [esp + 0x9c]
call fcn.00407a5f
mov byte [esp + 0x658], 0x13
cmp dword [esp + 0xa0], edi
je 0x451c83
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x451b9e
mov eax, esi
push eax
lea ecx, [esp + 0x78]
call fcn.00447be3
pop ecx
test al, al
je 0x451c83
mov eax, 0x463f00
lea esi, [esp + 0x18c]
call fcn.0040f840
mov byte [esp + 0x658], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x451bd4
mov esi, dword [eax]
jmp 0x451bd6
mov esi, eax
push esi
call fcn.00425300
pop ecx
mov ecx, esi
lea esi, [esp + 0x58]
call fcn.0040489c
push 1
xor edi, edi
lea esi, [esp + 0x190]
mov byte [esp + 0x65c], 0x13
call fcn.00404f01
fld qword [0x467b20]
mov dword [esp + 0x18], 0x1c9b
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x18]
imul eax, eax, 0x5e5
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld qword [esp + 0x2c]
fadd st(0), st(0)
fsubp st(1)
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fcomp qword [0x466120]
fnstsw ax
test ah, 5
jp 0x451c4b
fld qword [esp + 0x2c]
fchs
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
call fcn.00426330
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
jae 0x451c6a
lea eax, [esp + 0x74]
push dword [esp + 0x84]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0042282c
add esp, 0xc
mov dword [esp + 0x14], eax
push 1
xor edi, edi
lea esi, [esp + 0x94]
mov byte [esp + 0x65c], 0x11
call fcn.00405241
jmp 0x451d09
mov eax, 0x463f14
lea esi, [esp + 0x1c4]
call fcn.0040f840
mov byte [esp + 0x658], 0x15
cmp dword [eax + 0x14], 0x10
jb 0x451cc0
mov esi, dword [eax]
jmp 0x451cc2
mov esi, eax
push esi
call fcn.00425300
pop ecx
mov ecx, esi
lea esi, [esp + 0x58]
call fcn.0040489c
push 1
xor edi, edi
lea esi, [esp + 0x1c8]
mov byte [esp + 0x65c], 0x11
call fcn.00404f01
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], 8
jb 0x451cf8
mov eax, dword [eax]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00422817
pop ecx
pop ecx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
jne 0x452059
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 8
jb 0x451d20
mov eax, dword [eax]
push eax
push dword [esp + 0x3c]
call fcn.0041edc1
or dword [esp + 0x31c], 0xffffffff
pop ecx
pop ecx
mov eax, 0x463f24
lea esi, [esp + 0x1fc]
call fcn.0040f840
mov byte [esp + 0x658], 0x16
cmp dword [eax + 0x14], 0x10
jb 0x451d57
mov esi, dword [eax]
jmp 0x451d59
mov esi, eax
push esi
call fcn.00425300
pop ecx
mov ecx, esi
lea esi, [esp + 0x58]
call fcn.0040489c
push 1
xor edi, edi
lea esi, [esp + 0x200]
mov byte [esp + 0x65c], 0x11
call fcn.00404f01
lea eax, [esp + 0x314]
push eax
push dword [esp + 0x3c]
call fcn.0041ee02
pop ecx
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x451fea
mov esi, dword [esp + 0x314]
fld qword [0x467b18]
push ecx
push ecx
fstp qword [esp]
mov dword [esp + 0x34], esi
call fcn.00422e00
fstp qword [esp + 0x44]
push 0x7f
lea eax, [esp + 0x551]
push edi
push eax
mov byte [esp + 0x558], 0
call fcn.004251f0
fld qword [esp + 0x50]
add esp, 0xc
fstp qword [esp]
push str.a__lf_
lea eax, [esp + 0x550]
push 0x80
push eax
call fcn.00422fad
lea eax, [esp + 0x50]
push eax
mov ebx, 0x4621b8
lea eax, [esp + 0x55c]
push ebx
push eax
call fcn.0042305b
and dword [esp + 0x334], edi
add esp, 0x20
test esi, esi
je 0x451fea
mov eax, 0x463f24
lea esi, [esp + 0x234]
call fcn.0040f840
mov byte [esp + 0x658], 0x17
cmp dword [eax + 0x14], 0x10
jb 0x451e47
mov esi, dword [eax]
jmp 0x451e49
mov esi, eax
push esi
call fcn.00425300
pop ecx
mov ecx, esi
lea esi, [esp + 0x58]
call fcn.0040489c
push 1
xor edi, edi
lea esi, [esp + 0x238]
mov byte [esp + 0x65c], 0x11
call fcn.00404f01
fld qword [0x467b10]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
call fcn.00426330
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
imul eax, eax, 0x7592
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x451eb3
mov eax, dword [esp + 0x24]
add eax, 0x20df
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jmp 0x451ec4
mov eax, dword [esp + 0x18]
sub eax, 0x655e
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp qword [esp + 0x1c]
push dword [esp + 0x18]
fld qword [esp + 0x20]
push ecx
push ecx
fstp qword [esp]
push 0x461808
call fcn.0042307d
lea eax, [esp + 0x324]
push eax
push dword [esp + 0x4c]
call fcn.0041ee02
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x451fea
mov eax, 0x463f34
lea esi, [esp + 0x26c]
call fcn.0040f840
mov byte [esp + 0x658], 0x18
cmp dword [eax + 0x14], 0x10
jb 0x451f22
mov esi, dword [eax]
jmp 0x451f24
mov esi, eax
push esi
call fcn.00425300
pop ecx
mov ecx, esi
lea esi, [esp + 0x58]
call fcn.0040489c
push 1
xor edi, edi
lea esi, [esp + 0x270]
mov byte [esp + 0x65c], 0x11
call fcn.00404f01
fld qword [0x467b08]
push ecx
push ecx
fstp qword [esp]
call fcn.00422e00
push 0x7f
fstp qword [esp + 0x58]
lea eax, [esp + 0x5d1]
push edi
push eax
mov byte [esp + 0x5d8], 0
call fcn.004251f0
fld qword [esp + 0x60]
add esp, 0xc
fstp qword [esp]
push str.a__lf_
lea eax, [esp + 0x5d0]
push 0x80
push eax
call fcn.00422fad
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5dc]
push ebx
push eax
call fcn.0042305b
lea eax, [esp + 0x334]
push eax
lea eax, [esp + 0x360]
push eax
push dword [esp + 0x60]
call fcn.00421fdb
add esp, 0x2c
mov dword [esp + 0x14], eax
test eax, eax
jne 0x451fea
inc dword [esp + 0x314]
mov eax, dword [esp + 0x314]
cmp eax, dword [esp + 0x2c]
jb 0x451e24
push dword [esp + 0x38]
call fcn.0041ee11
mov dword [esp + 0x1c], 0x6fb8
mov dword [esp + 0x30], 0x2e89
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
push ecx
fmul qword [0x466118]
fstp qword [esp]
call fcn.00424690
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
fmulp st(1)
fild dword [esp + 0x24]
faddp st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fstp qword [esp]
push 0x461938
call fcn.0042307d
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x4520ad
mov eax, 0x463f48
lea esi, [esp + 0x2a4]
call fcn.0040f840
mov byte [esp + 0x658], 0x19
cmp dword [esp + 0x6c], 0x10
mov ecx, dword [esp + 0x58]
jae 0x452081
lea ecx, [esp + 0x58]
cmp dword [eax + 0x14], 0x10
jb 0x452089
mov eax, dword [eax]
push dword [esp + 0x14]
push ecx
push eax
push 1
call fcn.00448942
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x2a8]
call fcn.00404f01
cmp dword [esp + 0x14], edi
sete byte [esp + 0x37]
push 1
xor edi, edi
lea esi, [esp + 0x78]
call fcn.00404f01
push 1
lea esi, [esp + 0x5c]
call fcn.00404f01
or dword [esp + 0x658], 0xffffffff
lea ebx, [esp + 0x48]
call fcn.004049cf
mov al, byte [esp + 0x37]
mov ecx, dword [esp + 0x650]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.00422ca7
mov esp, ebp
pop ebp
ret 0xc