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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
fldz
push ebx
push esi
fld st(0)
push edi
fst qword [esp + 0x10]
mov edi, dword [ebp + 8]
movsx eax, byte [edi]
xor edx, edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edi
cmp eax, 0x2d
ja case.default.0x41c02a
movzx eax, byte [eax + 0x41d03c]
jmp dword [eax*4 + 0x41d028]
movsx eax, byte [edi + 1]
inc edi
cmp eax, 0x2d
jbe 0x41c023
mov dword [esp + 0x1c], edi
mov al, byte [edi]
cmp al, 0x30
jne 0x41c061
mov dword [esp + 0x38], 1
inc edi
cmp byte [edi], 0x30
je 0x41c04d
mov al, byte [edi]
mov dword [esp + 0x1c], edi
test al, al
je 0x41d00b
movsx eax, al
xor ecx, ecx
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], esi
cmp eax, 0x30
jl 0x41c0d8
cmp eax, 0x39
jg 0x41c0c8
cmp esi, 9
jge 0x41c0b1
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2 - 0x30]
jmp 0x41c0bd
mov dword [esp + 0x5c], 1
mov dword [esp + 0x1c], edi
inc edi
mov dword [esp + 0x1c], edi
cmp byte [edi], dl
je 0x41c3f6
jmp case.default.0x41c02a
cmp esi, 0x10
jge 0x41c0bd
lea ebx, [ebx + ebx*4]
lea ebx, [eax + ebx*2 - 0x30]
movsx eax, byte [edi + 1]
inc edi
inc esi
cmp eax, 0x30
jge 0x41c083
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x4c]
mov ecx, edi
sub ecx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], ecx
cmp eax, 0x2e
jne 0x41c1e3
movsx eax, byte [edi + 1]
inc edi
mov ecx, edi
sub ecx, ebx
mov dword [esp + 0x64], ecx
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], ecx
test esi, esi
jne 0x41c142
cmp eax, 0x30
jne 0x41c12a
movsx eax, byte [edi + 1]
inc edi
inc edx
cmp eax, 0x30
je 0x41c117
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edx
lea ecx, [eax - 0x31]
cmp ecx, 8
ja 0x41c1e3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
xor edx, edx
jmp 0x41c14e
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x41c1e3
inc edx
sub eax, 0x30
mov dword [esp + 0x34], edx
je 0x41c1d5
add dword [esp + 0x3c], edx
cmp edx, 1
jle 0x41c192
lea ecx, [edx - 1]
mov edx, dword [esp + 0x2c]
mov ebx, esi
inc esi
cmp ebx, 9
jge 0x41c177
lea edx, [edx + edx*4]
add edx, edx
jmp 0x41c189
cmp esi, 0x10
jg 0x41c189
mov ebx, dword [esp + 0x20]
lea ebx, [ebx + ebx*4]
add ebx, ebx
mov dword [esp + 0x20], ebx
dec ecx
jne 0x41c168
mov dword [esp + 0x2c], edx
jmp 0x41c196
mov edx, dword [esp + 0x2c]
mov ecx, esi
inc esi
mov dword [esp + 0x30], esi
cmp ecx, 9
jge 0x41c1bc
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
xor edx, edx
inc edi
mov dword [esp + 0x2c], eax
movsx eax, byte [edi]
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], edi
jmp 0x41c142
cmp esi, 0x10
jg 0x41c1cf
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*2]
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x34], edx
movsx eax, byte [edi + 1]
inc edi
mov dword [esp + 0x1c], edi
jmp 0x41c142
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp eax, 0x65
je 0x41c1f7
cmp eax, 0x45
jne 0x41c2d1
cmp esi, ecx
jne 0x41c209
cmp edx, ecx
jne 0x41c209
cmp dword [esp + 0x38], ecx
je 0x41c3f6
movsx eax, byte [edi + 1]
mov dword [ebp + 8], edi
inc edi
mov dword [esp + 0x40], ecx
mov ecx, eax
sub ecx, 0x2b
mov dword [esp + 0x1c], edi
je 0x41c22d
sub ecx, 2
jne 0x41c236
mov dword [esp + 0x40], 1
movsx eax, byte [edi + 1]
inc edi
mov dword [esp + 0x1c], edi
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x41c2ca
cmp eax, 0x30
jne 0x41c255
movsx eax, byte [edi + 1]
inc edi
cmp eax, 0x30
je 0x41c247
mov dword [esp + 0x1c], edi
lea ecx, [eax - 0x31]
cmp ecx, 8
ja 0x41c2c0
mov edx, edi
inc edi
lea ecx, [eax - 0x30]
movsx eax, byte [edi]
mov dword [esp + 0x1c], edi
cmp eax, 0x30
jl 0x41c288
cmp eax, 0x39
jg 0x41c284
lea ecx, [ecx + ecx*4]
inc edi
lea ecx, [eax + ecx*2 - 0x30]
movsx eax, byte [edi]
cmp eax, 0x30
jge 0x41c26f
mov dword [esp + 0x1c], edi
mov ebx, edi
sub ebx, edx
cmp ebx, 8
jg 0x41c29d
mov dword [esp + 0x24], ecx
cmp ecx, 0x4e1f
jle 0x41c2a5
mov dword [esp + 0x24], 0x4e1f
cmp dword [esp + 0x40], 0
mov ebx, dword [esp + 0x28]
je 0x41c2ba
mov edx, dword [esp + 0x24]
neg edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x34]
jmp 0x41c2d5
mov dword [esp + 0x24], 0
jmp 0x41c2d1
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x28]
test esi, esi
jne 0x41c408
fstp st(1)
test edx, edx
jne 0x41d00d
cmp dword [esp + 0x38], edx
jne 0x41d00d
cmp dword [esp + 0x68], edx
jne case.0x41c30e.74
add eax, 0xffffffb7
cmp eax, 0x25
ja case.0x41c30e.74
movzx eax, byte [eax + 0x41d078]
jmp dword [eax*4 + 0x41d06c]
mov esi, 0x4f2b6c
mov eax, edi
mov edx, 0x6e
sub esi, edi
movsx ecx, byte [eax + 1]
inc eax
lea edi, [ecx - 0x41]
cmp edi, 0x19
ja 0x41c333
add ecx, 0x20
cmp ecx, edx
jne case.0x41c30e.74
movsx edx, byte [esi + eax]
test edx, edx
jne 0x41c323
mov edi, eax
fstp st(0)
mov esi, str.inity
mov edx, 0x69
sub esi, edi
movsx ecx, byte [eax + 1]
inc eax
lea ebx, [ecx - 0x41]
cmp ebx, 0x19
ja 0x41c363
add ecx, 0x20
cmp ecx, edx
jne 0x41c374
movsx edx, byte [esi + eax]
test edx, edx
jne 0x41c353
lea edi, [eax + 1]
jmp 0x41c375
inc edi
mov dword [esp + 0x14], 0x7ff00000
mov dword [esp + 0x10], 0
fld qword [esp + 0x10]
jmp 0x41d00d
mov esi, 0x4f2b78
mov eax, edi
mov edx, 0x61
sub esi, edi
movsx ecx, byte [eax + 1]
inc eax
lea edi, [ecx - 0x41]
cmp edi, 0x19
ja 0x41c3ac
add ecx, 0x20
cmp ecx, edx
jne case.0x41c30e.74
movsx edx, byte [esi + eax]
test edx, edx
jne 0x41c39c
cmp byte [eax + 1], 0x28
fstp st(0)
lea edi, [eax + 1]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0x7ff80000
mov dword [esp + 0x10], edx
jne 0x41c385
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0041b9b0
fld qword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x1c]
jmp 0x41d00d
mov dword [esp + 0x1c], edi
fstp st(1)
mov edi, dword [ebp + 8]
mov dword [esp + 0x5c], 0
jmp 0x41d00d
mov eax, dword [esp + 0x24]
fstp st(0)
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], eax
test ebx, ebx
jne 0x41c424
mov ebx, esi
mov dword [esp + 0x28], ebx
mov ecx, esi
cmp esi, 0x10
jl 0x41c430
mov ecx, 0x10
mov eax, dword [esp + 0x2c]
fild dword [esp + 0x2c]
test eax, eax
jns 0x41c442
fadd qword [0x4f2e68]
fst qword [esp + 0x10]
cmp ecx, 9
jle 0x41c46a
mov edx, dword [esp + 0x20]
fmul qword [ecx*8 + 0x4f1e00]
fild dword [esp + 0x20]
test edx, edx
jns 0x41c464
fadd qword [0x4f2e68]
faddp st(1)
fst qword [esp + 0x10]
cmp esi, 0xf
jg 0x41c4dc
cmp dword [esp + 0x24], 0
je 0x41d00b
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x41c4ba
cmp edx, 0x16
jg 0x41c495
fstp st(1)
fmul qword [edx*8 + 0x4f1e48]
jmp 0x41d00d
mov eax, 0xf
sub eax, esi
lea ebx, [eax + 0x16]
cmp edx, ebx
jg 0x41c4d6
fstp st(1)
sub edx, eax
fmul qword [eax*8 + 0x4f1e48]
fmul qword [edx*8 + 0x4f1e48]
jmp 0x41d00d
cmp edx, 0xffffffea
jl 0x41c4e0
lea eax, [edx*8]
fstp st(1)
mov ecx, 0x4f1e48
sub ecx, eax
fdiv qword [ecx]
jmp 0x41d00d
mov ebx, dword [esp + 0x28]
jmp 0x41c4e0
mov edx, dword [esp + 0x24]
mov eax, edx
sub eax, ecx
add eax, esi
mov dword [esp + 0x84], 0
test eax, eax
jle 0x41c597
mov ecx, eax
fstp st(1)
and ecx, 0xf
je 0x41c50d
fmul qword [ecx*8 + 0x4f1e48]
fst qword [esp + 0x10]
and eax, 0xfffffff0
je 0x41c65e
cmp eax, 0x134
jg 0x41cff9
sar eax, 4
xor ecx, ecx
cmp eax, 1
jle 0x41c544
test al, 1
je 0x41c536
fmul qword [ecx*8 + 0x4f1f00]
sar eax, 1
inc ecx
cmp eax, 1
jg 0x41c52b
fstp qword [esp + 0x10]
jmp 0x41c546
fstp st(0)
fld qword [ecx*8 + 0x4f1f00]
mov edx, 0x3500000
sub dword [esp + 0x14], edx
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
mov eax, dword [esp + 0x14]
and eax, 0x7ff00000
cmp eax, 0x7ca00000
ja 0x41cffb
cmp eax, 0x7c900000
jbe 0x41c58e
mov dword [esp + 0x14], 0x7fefffff
mov dword [esp + 0x10], 0xffffffff
jmp 0x41c660
add dword [esp + 0x14], edx
jmp 0x41c660
jns 0x41c65c
neg eax
mov ecx, eax
and ecx, 0xf
je 0x41c5b1
fdiv qword [ecx*8 + 0x4f1e48]
fst qword [esp + 0x10]
sar eax, 4
test eax, eax
je 0x41c65c
cmp eax, 0x20
jge 0x41cfce
test al, 0x10
je 0x41c5d4
mov dword [esp + 0x84], 0x6a
test eax, eax
jle 0x41c5f0
mov ecx, 0x4f1f28
test al, 1
je 0x41c5e3
fmul qword [ecx]
sar eax, 1
add ecx, 8
test eax, eax
jg 0x41c5dd
fst qword [esp + 0x10]
cmp dword [esp + 0x84], 0
je 0x41c64b
mov edx, dword [esp + 0x14]
shr edx, 0x14
and edx, 0x7ff
mov ecx, 0x6b
sub ecx, edx
test ecx, ecx
jle 0x41c64b
fstp st(0)
cmp ecx, 0x20
jl 0x41c63e
mov dword [esp + 0x10], 0
cmp ecx, 0x35
jl 0x41c630
mov dword [esp + 0x14], 0x3700000
jmp 0x41c647
add ecx, 0xffffffe0
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0x14], eax
jmp 0x41c647
or edx, 0xffffffff
shl edx, cl
and dword [esp + 0x10], edx
fld qword [esp + 0x10]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x41cfd0
jmp 0x41c65e
fstp st(0)
fstp st(0)
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
cmp esi, 0x28
jle 0x41c70a
mov eax, 0x12
mov ecx, eax
cmp ebx, eax
jge 0x41c682
mov eax, dword [esp + 0x68]
add eax, ecx
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
lea ebx, [ebx]
dec eax
cmp eax, dword [esp + 0x64]
jg 0x41c69e
cmp eax, edx
jl 0x41c69e
lea eax, [edx - 1]
cmp byte [eax + edi], 0x30
jne 0x41c6a7
dec ecx
jmp 0x41c690
sub esi, ecx
add dword [esp + 0x24], esi
mov dword [esp + 0x30], ecx
cmp ebx, ecx
jle 0x41c6b7
mov ebx, ecx
cmp ecx, 9
jge 0x41c704
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x2c], ecx
test ebx, ebx
jle 0x41c6dc
movsx edx, byte [eax + edi]
inc eax
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2 - 0x30]
cmp eax, ebx
jl 0x41c6c8
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x30]
jge 0x41c704
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
add edx, edi
sub ecx, eax
mov eax, dword [esp + 0x2c]
movsx esi, byte [edx]
lea eax, [eax + eax*4]
inc edx
dec ecx
lea eax, [esi + eax*2 - 0x30]
jne 0x41c6f2
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x30]
jmp 0x41c70e
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push esi
mov eax, ebx
mov ecx, edi
call fcn.0041acc0
add esp, 0xc
mov dword [esp + 0x9c], eax
add eax, 0xc
mov dword [esp + 0xa8], eax
jmp 0x41c740
mov esi, dword [esp + 0x9c]
mov ebx, dword [esi + 4]
call fcn.0041aae0
mov ecx, dword [esi + 0x10]
lea edx, [ecx*4 + 8]
mov ecx, dword [esp + 0xa8]
push edx
mov dword [esp + 0x38], eax
push ecx
add eax, 0xc
push eax
call fcn.0047d6f0
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x24]
call fcn.0041b760
push 1
mov esi, eax
mov dword [esp + 0x50], eax
call fcn.0041ae20
add esp, 0x18
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
jl 0x41c7ad
mov eax, dword [esp + 0x24]
xor ecx, ecx
xor edi, edi
jmp 0x41c7b7
mov ecx, dword [esp + 0x24]
neg ecx
mov edi, ecx
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xac]
test eax, eax
js 0x41c7ce
add edi, eax
jmp 0x41c7d2
sub dword [esp + 0x28], eax
sub eax, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + eax - 1]
mov dword [esp + 0x3c], edi
cmp ebx, 0xfffffc02
jge 0x41c7f7
add eax, 0x433
jmp 0x41c7fe
mov eax, 0x36
sub eax, edx
mov ebx, dword [esp + 0x28]
add edi, eax
add eax, dword [esp + 0x84]
add ebx, eax
mov dword [esp + 0x28], ebx
mov eax, edi
cmp edi, ebx
jl 0x41c819
mov eax, ebx
mov edx, dword [esp + 0x3c]
cmp eax, edx
jle 0x41c823
mov eax, edx
test eax, eax
jle 0x41c835
sub ebx, eax
sub edi, eax
sub edx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], edx
test ecx, ecx
jle 0x41c994
mov eax, dword [esp + 0x20]
push ecx
push eax
call fcn.0041afe0
push esi
mov dword [esp + 0x2c], eax
call fcn.0041aed0
add esp, 0xc
mov dword [esp + 0x38], eax
test esi, esi
je 0x41c98c
cmp dword [esi + 4], 7
jle 0x41c875
push esi
call fcn.0047e08f
add esp, 4
jmp 0x41c98c
mov ebx, dword [esp + 0x58]
test bl, 1
je 0x41c891
and ebx, 0xfffffffe
lea ecx, [esp + 0xb8]
mov dword [esp + 0x58], ebx
call fcn.0040f650
test dword [0x4fe7b8], 0xfffffffe
jne 0x41c8ed
push 0
push 1
push 0x4fe7b8
call dword [0x49c328]
test eax, eax
je 0x41c8d3
cmp dword [0x4fe7b8], 1
jne 0x41c8ed
lea esp, [esp]
push 0
call dword [0x49c32c]
cmp dword [0x4fe7b8], 1
je 0x41c8c0
jmp 0x41c8ed
push 0x7d0
push 0x4fe7bc
call dword [0x49c194]
mov dword [0x4fe7b8], 0x4fe7bc
mov eax, dword [0x4fe7b8]
push eax
call dword [0x49c19c]
mov eax, dword [esi + 4]
mov ecx, dword [eax*4 + 0x4fe454]
mov dword [esi], ecx
mov dword [eax*4 + 0x4fe454], esi
test bl, 0x20
je 0x41c924
and ebx, 0xffffffdf
lea ecx, [esp + 0x168]
mov dword [esp + 0x58], ebx
call fcn.0040f650
test dword [0x4fe7b8], 0xfffffffe
jne 0x41c97c
push 0
mov esi, 1
push esi
push 0x4fe7b8
call dword [0x49c328]
test eax, eax
je 0x41c962
cmp dword [0x4fe7b8], esi
jne 0x41c97c
nop
push 0
call dword [0x49c32c]
cmp dword [0x4fe7b8], esi
je 0x41c950
jmp 0x41c97c
push 0x7d0
push 0x4fe7bc
call dword [0x49c194]
mov dword [0x4fe7b8], 0x4fe7bc
mov eax, dword [0x4fe7b8]
push eax
call dword [0x49c198]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x38], esi
test edi, edi
jle 0x41c9a8
push edi
push esi
call fcn.0041b250
mov esi, eax
add esp, 8
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x41c9c6
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.0041afe0
mov edi, eax
add esp, 8
mov dword [esp + 0x34], edi
jmp 0x41c9ca
mov edi, dword [esp + 0x34]
test ebx, ebx
jle 0x41c9de
push ebx
push edi
call fcn.0041b250
mov edi, eax
add esp, 8
mov dword [esp + 0x34], edi
cmp dword [esp + 0x3c], 0
jle 0x41c9fb
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0041b250
add esp, 8
mov dword [esp + 0x20], eax
mov eax, edi
mov ecx, esi
call fcn.0041b460
mov edx, dword [esp + 0x20]
mov ebx, eax
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
mov ecx, dword [edx + 0x10]
sub eax, ecx
mov dword [esp + 0x6c], esi
jne 0x41ca56
mov edi, dword [esp + 0x20]
lea edx, [ebx + 0x14]
lea eax, [edx + ecx*4 - 4]
lea ecx, [edi + ecx*4 + 0x10]
mov edi, dword [eax]
cmp edi, dword [ecx]
jne 0x41ca48
cmp eax, edx
jbe 0x41ca54
mov edi, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp edi, dword [ecx]
je 0x41ca37
mov eax, dword [eax]
cmp eax, dword [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x41ca56
xor eax, eax
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x78], ecx
jle 0x41ca68
test eax, eax
jle 0x41cd33
test eax, eax
js 0x41cd41
je 0x41cdad
mov esi, dword [esp + 0x20]
mov edi, ebx
call fcn.0041b8e0
fld qword [0x4f2ec0]
mov ecx, dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x41cbba
cmp dword [esp + 0x6c], 0
je 0x41caa7
fstp st(0)
fld1
fld st(0)
jmp 0x41cada
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41cb82
test ecx, 0xfffff
jne 0x41cbab
fld1
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41cb77
fstp st(0)
fld qword [0x4f2e58]
fld st(0)
fchs
mov edx, ecx
and edx, 0x7ff00000
cmp edx, 0x7fe00000
jne 0x41cbe1
fld qword [esp + 0x10]
sub ecx, 0x3500000
mov dword [esp + 0x14], ecx
fstp qword [esp + 0x90]
and ecx, 0x7ff00000
sub ecx, 0x3400000
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb0], 0
fmul qword [esp + 0xb0]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, edi
and ecx, 0x7ff00000
cmp ecx, 0x7ca00000
jb 0x41cbd2
mov eax, 0x7fefffff
fstp st(0)
cmp dword [esp + 0x94], eax
jne 0x41cb66
cmp dword [esp + 0x90], 0xffffffff
je 0x41cfe5
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0xffffffff
jmp 0x41cd0c
fmul qword [0x4f2e58]
jmp 0x41cad6
fstp st(0)
cmp eax, 1
jne 0x41cbad
test ecx, ecx
jne 0x41cbad
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x78], eax
jle 0x41cfb3
mov dword [esp + 0x88], 1
jmp 0x41cefa
fstp st(0)
fld1
fld qword [0x4f2eb8]
jmp 0x41cada
cmp dword [esp + 0x6c], 0
fmul qword [0x4f2e58]
je 0x41cad6
fld st(0)
jmp 0x41cada
add edi, 0x3500000
mov dword [esp + 0x14], edi
jmp 0x41cc8a
cmp dword [esp + 0x84], 0
je 0x41cc68
cmp edx, 0x6a00000
ja 0x41cc68
fld qword [0x4f2eb0]
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x41cc4c
fnstcw word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
fstp st(0)
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp qword [esp + 0x40]
mov eax, dword [esp + 0x40]
fldcw word [esp + 0x2c]
test eax, eax
jne 0x41cc2f
mov eax, 1
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
test eax, eax
jns 0x41cc41
fadd qword [0x4f2e68]
cmp dword [esp + 0x6c], 0
fld st(0)
jne 0x41cc4c
fchs
mov eax, 0x6b00000
fstp qword [esp + 0xa0]
sub eax, edx
add dword [esp + 0xa4], eax
fld qword [esp + 0xa0]
lea ecx, [edx - 0x3400000]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], 0
fmul qword [esp + 0x50]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x78], eax
jne 0x41cd0a
cmp dword [esp + 0x84], 0
jne 0x41cd0a
mov ecx, edi
and ecx, 0x7ff00000
cmp edx, ecx
jne 0x41cd0a
fld st(0)
call fcn.00482c30
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fsubp st(1)
jne 0x41cce4
cmp dword [esp + 0x10], 0
jne 0x41cce4
test edi, 0xfffff
jne 0x41cce4
fcomp qword [0x4f2ea8]
fnstsw ax
test ah, 5
jnp 0x41cefa
jmp 0x41cd0c
fld qword [0x4f2ea0]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41cef8
fcomp qword [0x4f2e98]
fnstsw ax
test ah, 0x41
je 0x41cefa
jmp 0x41cd0c
fstp st(0)
mov edi, dword [esp + 0x38]
call fcn.0041aba0
mov edi, dword [esp + 0x34]
call fcn.0041aba0
mov edi, dword [esp + 0x20]
call fcn.0041aba0
mov edi, ebx
call fcn.0041aba0
jmp 0x41c740
test esi, esi
jne 0x41cefa
mov dword [esp + 0x78], ecx
jmp 0x41cd49
test esi, esi
jne 0x41cefa
cmp dword [esp + 0x10], 0
jne 0x41cefa
mov edi, dword [esp + 0x14]
test edi, 0xfffff
jne 0x41cefa
mov edx, edi
and edx, 0x7ff00000
cmp edx, 0x6b00000
jbe 0x41cefa
cmp dword [ebx + 0x14], 0
jne 0x41cd88
cmp dword [ebx + 0x10], 1
jle 0x41cefa
push 1
push ebx
call fcn.0041b250
mov ebx, eax
mov eax, dword [esp + 0x28]
add esp, 8
mov edx, ebx
call fcn.0041b410
test eax, eax
jg 0x41ce2e
jmp 0x41cefa
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
test esi, esi
je 0x41ce22
mov eax, edi
and eax, 0xfffff
cmp eax, 0xfffff
jne 0x41ce8a
cmp dword [esp + 0x84], 0
je 0x41cdf8
mov eax, edi
and eax, 0x7ff00000
cmp eax, 0x6a00000
ja 0x41cdf8
shr eax, 0x14
mov ecx, 0x6b
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
mov ecx, dword [esp + 0x30]
jmp 0x41cdfb
or eax, 0xffffffff
cmp edx, eax
jne 0x41ce8a
and edi, 0x7ff00000
add edi, 0x100000
xor eax, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], eax
jmp 0x41cefa
test edi, 0xfffff
jne 0x41ce8a
test edx, edx
jne 0x41ce8a
cmp dword [esp + 0x84], 0
je 0x41ce6f
mov eax, edi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jg 0x41ce6f
cmp eax, 0x3700000
jg 0x41cefa
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x78], ecx
jle 0x41cfb3
mov dword [esp + 0x88], 1
jmp 0x41cefa
and edi, 0x7ff00000
dec edi
or edi, 0xfffff
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0xffffffff
jmp 0x41cefa
test dl, 1
je 0x41cefa
and edi, 0x7ff00000
sub edi, 0x3400000
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], edi
test esi, esi
je 0x41cec4
fld qword [esp + 0x50]
mov edx, 1
fadd qword [esp + 0x10]
sub edx, esi
mov dword [esp + 0x6c], edx
fstp qword [esp + 0x10]
jmp 0x41cefa
fld qword [esp + 0x10]
fsub qword [esp + 0x50]
fst qword [esp + 0x10]
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x41cfa1
cmp dword [esp + 0x78], ecx
jle 0x41cfb5
mov dword [esp + 0x88], 1
fstp st(0)
mov edi, dword [esp + 0x38]
call fcn.0041aba0
mov edi, dword [esp + 0x34]
call fcn.0041aba0
mov edi, dword [esp + 0x20]
call fcn.0041aba0
mov edi, dword [esp + 0x9c]
call fcn.0041aba0
mov edi, ebx
call fcn.0041aba0
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x30]
jle 0x41cf49
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041bc90
add esp, 0xc
cmp dword [esp + 0x84], 0
fld qword [esp + 0x10]
je 0x41c3e9
mov dword [esp + 0x94], 0x39500000
mov dword [esp + 0x90], 0
fmul qword [esp + 0x90]
fst qword [esp + 0x10]
test dword [esp + 0x14], 0x7ff00000
jne 0x41c3e9
fstp st(0)
call fcn.00480985
mov edi, dword [esp + 0x1c]
fld qword [esp + 0x10]
mov dword [eax], 0x22
jmp 0x41d00d
mov edx, 1
fstp st(0)
sub edx, esi
mov dword [esp + 0x6c], edx
jmp 0x41cefa
fldz
mov edi, dword [esp + 0x1c]
fstp qword [esp + 0x10]
call fcn.00480985
fld qword [esp + 0x10]
mov dword [eax], 0x22
jmp 0x41d00d
fstp st(0)
fstp qword [esp + 0x10]
call fcn.00480985
fld qword [esp + 0x10]
mov dword [eax], 0x22
jmp 0x41d00d
mov edi, dword [esp + 0x1c]
call fcn.00480985
mov dword [eax], 0x22
jmp 0x41c375
fstp st(0)
call fcn.00480985
mov dword [eax], 0x22
jmp 0x41c375
fstp st(1)
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41d016
mov dword [eax], edi
cmp dword [esp + 0x5c], 0
je 0x41d01f
fchs
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret