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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x64]
mov esi, ecx
xor ebp, ebp
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebp
call dword [0x4812a4]
mov edx, dword [0x4b1b14]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [0x4812a0]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push 0xffffffffffffffff
push eax
push ecx
mov ecx, dword [0x4b1b24]
call fcn.0043c660
mov ecx, dword [0x4b1b24]
lea edx, [esp + 0x6c]
push edx
call fcn.0043cbc0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edi, eax
mov ebx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x39c], ebp
jne 0x414a6a
cmp eax, dword [esi + 0x374]
jne 0x414a54
cmp ecx, dword [esi + 0x378]
jne 0x414a54
mov ecx, dword [0x4b1b24]
push 1
call fcn.0043c630
test eax, eax
je 0x414a6a
mov dword [esi + 0x374], edi
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], 0xffffffff
cmp dword [esi + 0x368], ebp
je 0x414bbc
fld dword [esi + 0x394]
mov ecx, dword [0x4b1bc4]
fstp dword [esp + 0x10]
call fcn.0040dec0
test eax, eax
je 0x414a99
fld dword [esp + 0x10]
fadd st(0), st(0)
fstp dword [esp + 0x10]
fld dword [esi + 0x384]
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esi + 0x384]
fabs
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x10]
fld dword [esi + 0x38c]
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fld dword [esi + 0x384]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x414b01
fld dword [esi + 0x384]
fld dword [esi + 0x38c]
faddp st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x414b03
fld dword [esi + 0x38c]
fstp dword [esi + 0x384]
jmp 0x414b03
fstp st(0)
fld dword [esi + 0x398]
mov ecx, dword [0x4b1bc4]
fstp dword [esp + 0x10]
call fcn.0040dec0
test eax, eax
je 0x414b26
fld dword [esp + 0x10]
fadd st(0), st(0)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fadd dword [esi + 0x388]
fstp dword [esi + 0x388]
fabs
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x10]
fld dword [esi + 0x390]
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fld dword [esi + 0x388]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x414b8a
fld dword [esi + 0x388]
fld dword [esi + 0x390]
faddp st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x414b8c
fld dword [esi + 0x390]
fstp dword [esi + 0x388]
jmp 0x414b8c
fstp st(0)
fld dword [esi + 0x384]
fld dword [esi + 0x38c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x414bbc
fld dword [esi + 0x388]
fld dword [esi + 0x390]
fucompp
fnstsw ax
test ah, 0x44
jp 0x414bbc
mov dword [esi + 0x368], ebp
mov dword [esi + 0x2c], ebp
cmp dword [esi + 0x4c], ebp
je 0x415961
mov ecx, esi
call fcn.00412c30
cmp eax, 0xff
jne 0x415bf4
mov eax, dword [esi + 0x48]
mov ebp, dword [eax]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x10], 0
mov ebx, dword [esi + 0x48]
mov eax, dword [esi + 0x30]
test edi, edi
je 0x414c00
cmp edi, eax
je 0x414c05
call fcn.00451172
cmp ebp, ebx
je 0x415961
test edi, edi
jne 0x414d73
call fcn.00451172
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x414c26
call fcn.00451172
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
test edi, edi
jne 0x414d7a
call fcn.00451172
cmp ebp, dword [edi + 0x18]
jne 0x414c44
call fcn.00451172
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x10], 0
mov edx, dword [esp + 0x88]
mov dword [esp + 0x20], edx
jne 0x414c60
mov dword [esp + 0x20], 1
mov eax, dword [esi + 0x240]
mov ebx, dword [esi]
mov dword [esp + 0x74], ebx
mov ebp, dword [esi + 4]
mov dword [esp + 0x78], ebp
mov ecx, dword [esi + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
fld dword [eax + 0x384]
mov dword [esp + 0x7c], ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x80], edx
call fcn.00451770
mov ecx, dword [esp + 0x14]
fld dword [ecx + 0x388]
mov edi, eax
add ebx, edi
mov dword [esp + 0x74], ebx
call fcn.00451770
add dword [esp + 0x7c], edi
add dword [esp + 0x80], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
add ebp, eax
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x34], 0
jge 0x414cf7
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x7c]
jge 0x414cf7
cmp ebp, ecx
jge 0x414cf7
cmp ecx, dword [esp + 0x80]
jge 0x414cf7
mov eax, dword [edi + 0x37c]
cmp eax, 0xffffffff
je 0x414d07
mov eax, dword [edi + 0x37c]
cmp eax, dword [esp + 0x10]
jne 0x414f19
cmp ebx, dword [esp + 0x18]
jge 0x414d2c
mov edx, dword [esp + 0x7c]
cmp dword [esp + 0x18], edx
jge 0x414d2c
cmp ebp, ecx
jge 0x414d2c
cmp ecx, dword [esp + 0x80]
jge 0x414d2c
mov dword [esp + 0x34], 1
cmp dword [esi + 0x27c], 0
je 0x414d81
cmp eax, dword [esp + 0x10]
je 0x414d81
mov eax, dword [esp + 0x18]
sub ecx, ebp
push ecx
mov ecx, dword [esp + 0x34]
sub eax, ebx
push eax
push ecx
mov ecx, edi
call fcn.00412330
test eax, eax
jne 0x414d81
mov edx, dword [esp + 0x10]
cmp dword [edi + 0x37c], edx
je 0x414d81
mov dword [esi + 0x240], 0x63
lea ebp, [eax + 1]
jmp 0x414efc
mov eax, dword [edi]
jmp 0x414c1c
mov edi, dword [edi]
jmp 0x414c3a
cmp dword [esi + 0x240], 0x63
jne 0x414e03
cmp dword [esp + 0x20], 0
jne 0x414e03
cmp dword [esi + 0x34], 0
je 0x414ddd
mov ecx, dword [0x4b1bd0]
call fcn.00438080
test eax, eax
je 0x414dbe
mov ecx, dword [0x4b1bc4]
push 0xf5
push 0x63
call fcn.0040ccb0
cmp eax, dword [esp + 0x10]
je 0x414ddd
mov eax, dword [esi + 0x34]
mov ecx, dword [0x4b1bc4]
push 0
push 1
push eax
call fcn.0040ca00
mov ecx, dword [0x4b1bd0]
push eax
call fcn.00439110
cmp byte [esi + 0x38], 0
lea ebx, [esi + 0x38]
je 0x414e03
mov ecx, dword [0x4b1bd0]
push 2
call fcn.00439020
mov ecx, dword [0x4b1bd0]
push 0
push 2
push ebx
call fcn.00439110
mov ecx, dword [0x4b1b24]
mov ebp, 1
push ebp
call fcn.0043cae0
test eax, eax
je 0x414e27
cmp dword [esi + 0x270], 0
je 0x414e27
mov dword [esi + 0x278], ebp
mov ecx, dword [0x4b1b24]
push ebp
call fcn.0043c5e0
cmp eax, ebp
jge 0x414e6d
mov ecx, dword [0x4b1b24]
push 7
call fcn.0043cae0
test eax, eax
jne 0x414e59
mov ecx, dword [0x4b1b24]
push 7
call fcn.0043c630
test eax, eax
je 0x414e62
cmp dword [esi + 0x270], 0
je 0x414e6d
mov dword [esi + 0x240], ebp
jmp 0x414efc
mov dword [esi + 0x240], 2
mov ecx, dword [0x4b1b24]
call fcn.0043ca90
test eax, eax
je 0x414efc
cmp dword [esp + 0x20], 0
jne 0x414ee4
cmp dword [edi + 0x39c], 0
jne 0x414ee4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x414eb8
mov ecx, dword [0x4b1bc4]
push 0
push ebp
push eax
call fcn.0040ca00
mov ecx, dword [0x4b1bd0]
push eax
call fcn.00439110
cmp byte [esi + 0x13c], 0
lea ebx, [esi + 0x13c]
je 0x414ee4
mov ecx, dword [0x4b1bd0]
push 2
call fcn.00439020
mov ecx, dword [0x4b1bd0]
push 0
push 2
push ebx
call fcn.00439110
mov al, byte [esi + 0x10]
test al, al
je 0x414efc
cmp al, 0x2d
je 0x414efc
cmp dword [edi + 0x39c], 0
je 0x4157b3
cmp dword [esi + 0x288], 0
je 0x414f4e
cmp dword [esi + 0x240], ebp
jne 0x414f4e
mov dword [esi + 0x288], 0
jmp 0x414f4e
cmp dword [esi + 0x288], 0
mov dword [esi + 0x240], 0x63
je 0x414f4e
mov al, byte [esi + 0x10]
mov dword [esi + 0x288], 0
test al, al
je 0x414f4e
cmp al, 0x2d
je 0x414f4e
cmp dword [edi + 0x39c], 0
je 0x415829
cmp dword [edi + 0x6c], 0
je 0x41570c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
mov ebp, dword [ecx]
mov edi, dword [eax + 0x50]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], edi
lea esp, [esp]
mov ebx, dword [eax + 0x68]
mov eax, dword [eax + 0x50]
test edi, edi
je 0x414f7e
cmp edi, eax
je 0x414f83
call fcn.00451172
cmp ebp, ebx
je 0x41570c
xor ecx, ecx
cmp edi, ecx
jne 0x414fdd
call fcn.00451172
xor edi, edi
xor ecx, ecx
cmp ebp, dword [edi + 0x18]
jne 0x414fa6
call fcn.00451172
xor ecx, ecx
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
cmp dword [edi + 0x28], edx
jne 0x4156f2
mov dword [edi + 0x38], ecx
cmp dword [esi + 0x278], ecx
je 0x414fc8
mov dword [edi + 0x38], 1
mov eax, dword [edi + 0x2c]
mov ebx, 1
cmp dword [esi + 0x240], eax
jne 0x414fe1
mov dword [edi + 0x34], ebx
jmp 0x414fe4
mov edi, dword [edi]
jmp 0x414f9a
mov dword [edi + 0x34], ecx
cmp dword [esi + 0x280], ecx
je 0x415021
cmp eax, 2
jne 0x41500c
mov edx, dword [esi + 0x284]
mov ebp, dword [0x4b1bc4]
xor ebx, ebx
cmp dword [ebp + edx*4 + 0x44d4], ecx
setne bl
mov dword [edi + 0x34], ebx
mov ebx, 1
cmp eax, ebx
jne 0x415021
cmp dword [esi + 0x240], 0x63
je 0x415021
mov dword [edi + 0x34], ebx
mov eax, dword [esi + 0x240]
cmp eax, dword [esp + 0x38]
je 0x415091
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x3ac], ecx
je 0x415091
cmp eax, ebx
je 0x415061
cmp eax, 2
je 0x415061
fld dword [0x48247c]
mov ecx, dword [edi]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call fcn.0043d7a0
fld dword [0x482478]
jmp 0x41507e
fld dword [0x482478]
mov ecx, dword [edi]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call fcn.0043d7a0
fld dword [0x48247c]
push 0xffffffffffffffff
push 0
push 0xf
push ecx
mov ecx, dword [edi]
fstp dword [esp]
call fcn.00441ee0
xor ecx, ecx
mov eax, dword [edi + 0x2c]
cmp eax, 0x64
jl 0x4150b8
mov dword [edi + 0x34], ebx
jne 0x4150a1
mov dword [edi + 0x34], ebx
cmp eax, 0x64
jne 0x4150b8
mov edx, 0x63
cmp dword [esi + 0x240], edx
je 0x4150bd
mov dword [edi + 0x34], ecx
jmp 0x4150bd
mov edx, 0x63
cmp eax, 0x65
jne 0x4150cd
cmp dword [esi + 0x240], edx
jne 0x4150cd
mov dword [edi + 0x34], ecx
cmp eax, 0x66
jne 0x4150dd
cmp dword [esi + 0x240], edx
jne 0x4150dd
mov dword [edi + 0x34], ecx
cmp eax, 0x68
jne 0x4150ed
cmp dword [esi + 0x240], edx
jne 0x4150ed
mov dword [edi + 0x34], ecx
cmp eax, 3
jne 0x415101
xor ecx, ecx
cmp dword [esi + 0x240], 2
sete cl
mov dword [edi + 0x34], ecx
cmp dword [esi + 0x240], edx
je 0x415402
cmp eax, 0x69
jl 0x415402
mov ecx, dword [0x4b1b24]
push 5
call fcn.0043c630
test eax, eax
jne 0x41513c
mov ecx, dword [0x4b1b24]
push 5
call fcn.0043c610
test eax, eax
je 0x415245
mov ecx, dword [0x4b1b24]
push 5
call fcn.0043c950
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
test eax, eax
je 0x4151ae
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ebp, 0x3e8
mov ebx, eax
mov eax, dword [esi + 0x248]
mov ecx, edx
cdq
idiv ebp
push ecx
mov ecx, dword [0x4b1bc4]
push ebx
mov ebp, edx
mov dword [esp + 0x30], eax
call fcn.0040ccb0
mov edx, dword [esp + 0x28]
mov ecx, dword [0x4b1bc4]
dec eax
push eax
push ebp
push edx
call fcn.0040d200
cmp dword [esp + 0x20], 0
mov ebp, dword [esp + 0x14]
jne 0x415211
cmp dword [ebp + 0x39c], 0
jne 0x415211
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4151e5
mov ecx, dword [0x4b1bc4]
push 0
push 1
push eax
call fcn.0040ca00
mov ecx, dword [0x4b1bd0]
push eax
call fcn.00439110
cmp byte [esi + 0x13c], 0
lea ebx, [esi + 0x13c]
je 0x415211
mov ecx, dword [0x4b1bd0]
push 2
call fcn.00439020
mov ecx, dword [0x4b1bd0]
push 0
push 2
push ebx
call fcn.00439110
mov al, byte [esi + 0x10]
test al, al
je 0x41523a
cmp al, 0x2d
je 0x41523a
cmp dword [ebp + 0x39c], 0
jne 0x41523a
mov ecx, dword [0x4b1b24]
push 5
call fcn.0043c610
test eax, eax
je 0x415886
mov ebx, 1
mov dword [esp + 0x28], ebx
jmp 0x415249
mov ebp, dword [esp + 0x14]
mov ecx, dword [0x4b1b24]
push 6
call fcn.0043c630
test eax, eax
jne 0x41526f
mov ecx, dword [0x4b1b24]
push 6
call fcn.0043c610
test eax, eax
je 0x41537d
mov ecx, dword [0x4b1b24]
push 6
call fcn.0043c950
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
mov edx, dword [esi + 0x258]
sub edx, ebx
cmp eax, edx
je 0x4152ed
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ebx, 0x3e8
mov ebp, eax
mov eax, dword [esi + 0x248]
mov ecx, edx
cdq
idiv ebx
push ecx
mov ecx, dword [0x4b1bc4]
push ebp
mov ebx, edx
mov dword [esp + 0x30], eax
call fcn.0040ccb0
mov edx, dword [esp + 0x28]
mov ecx, dword [0x4b1bc4]
inc eax
push eax
push ebx
push edx
call fcn.0040d200
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x20], 0
jne 0x41534c
cmp dword [ebp + 0x39c], 0
jne 0x41534c
mov eax, dword [esi + 0x30]
test eax, eax
je 0x415320
mov ecx, dword [0x4b1bc4]
push 0
push 1
push eax
call fcn.0040ca00
mov ecx, dword [0x4b1bd0]
push eax
call fcn.00439110
cmp byte [esi + 0x13c], 0
lea ebx, [esi + 0x13c]
je 0x41534c
mov ecx, dword [0x4b1bd0]
push 2
call fcn.00439020
mov ecx, dword [0x4b1bd0]
push 0
push 2
push ebx
call fcn.00439110
mov al, byte [esi + 0x10]
test al, al
je 0x415375
cmp al, 0x2d
je 0x415375
cmp dword [ebp + 0x39c], 0
jne 0x415375
mov ecx, dword [0x4b1b24]
push 6
call fcn.0043c610
test eax, eax
je 0x415914
mov dword [esp + 0x28], 1
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [esi + 0x258]
lea ebx, [ecx - 1]
mov ecx, dword [0x4b1bc4]
mov dword [esp + 0x24], ebx
push edx
push eax
call fcn.0040ccb0
cmp eax, ebx
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x1c], ebx
jl 0x4153bc
fld dword [esi + 0x244]
fimul dword [esp + 0x24]
jmp 0x4153e5
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [esi + 0x244]
fiadd dword [esp + 0x1c]
call fcn.00451770
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x10]
push edx
push eax
push ecx
mov ecx, dword [edi]
push ebx
mov dword [edi + 0x14], eax
call fcn.0043d760
cmp dword [esi + 0x240], 2
jne 0x4155c8
cmp dword [edi + 0x2c], 0x69
jl 0x4155c8
mov ecx, dword [0x4b1b24]
push 7
call fcn.0043c630
test eax, eax
jne 0x4155c8
mov ecx, dword [0x4b1b24]
push 7
call fcn.0043cae0
test eax, eax
jne 0x4155c8
mov eax, dword [esi + 0x264]
mov ecx, dword [esi + 0x24c]
lea edx, [ecx + eax]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
cmp edx, eax
mov dword [esp + 0x1c], ecx
jl 0x415476
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
push 0
push edx
push eax
jmp 0x4154f0
cmp dword [esi + 0x250], eax
jg 0x415498
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [esi + 0x258]
dec ecx
push ecx
push edx
push eax
jmp 0x4154f0
mov edx, dword [esi + 0x258]
fild dword [esp + 0x18]
dec edx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fmul dword [esi + 0x244]
fiadd dword [esp + 0x1c]
fiadd dword [esp + 0x3c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4154fb
mov eax, dword [esi + 0x248]
cdq
mov ebx, 0x3e8
idiv ebx
mov ebp, eax
mov eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
mov ebx, edx
fdiv dword [esi + 0x244]
call fcn.00451770
push eax
push ebx
push ebp
mov ecx, dword [0x4b1bc4]
call fcn.0040d200
cmp dword [esi + 0x28c], 0
je 0x415532
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
mov ecx, dword [0x4b1bc4]
push eax
push 0xbb
push 0x63
call fcn.0040d200
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [esi + 0x258]
lea ebx, [ecx - 1]
mov ecx, dword [0x4b1bc4]
mov dword [esp + 0x24], ebx
push edx
push eax
call fcn.0040ccb0
cmp eax, ebx
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x1c], ebx
jl 0x415571
fld dword [esi + 0x244]
fimul dword [esp + 0x24]
jmp 0x41559a
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul dword [esi + 0x244]
fiadd dword [esp + 0x1c]
call fcn.00451770
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x10]
push edx
push eax
push ecx
mov ecx, dword [edi]
push ebx
mov dword [edi + 0x14], eax
call fcn.0043d760
cmp dword [esp + 0x34], 0
je 0x4155c8
mov dword [esi + 0x288], 1
mov eax, dword [edi + 0x2c]
cmp eax, 0x64
je 0x4155d9
cmp eax, 0x65
jne 0x4156f2
cmp dword [esi + 0x28c], 0
je 0x415613
mov ecx, dword [0x4b1bd0]
push 0
call fcn.00438000
test eax, eax
je 0x415613
mov ecx, dword [0x4b1bd0]
push 0
call fcn.00438090
mov ecx, dword [0x4b1bc4]
push eax
push 0xbd
push 0x63
call fcn.0040d200
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [esi + 0x258]
lea ebx, [ecx - 1]
mov ecx, dword [0x4b1bc4]
mov dword [esp + 0x24], ebx
push edx
push eax
call fcn.0040ccb0
cmp eax, ebx
jl 0x415658
fld dword [esi + 0x244]
fimul dword [esp + 0x24]
fiadd dword [esi + 0x24c]
call fcn.00451770
mov ebx, eax
jmp 0x4156a9
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul dword [esi + 0x244]
fiadd dword [esi + 0x24c]
call fcn.00451770
mov ebx, eax
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
mov ecx, dword [edi]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.0043d700
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [edi]
call fcn.0043d8d0
fld dword [esp + 0x44]
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
mov ecx, dword [edi]
cdq
sub eax, edx
sar eax, 1
sub esp, 8
sub ebx, eax
fstp dword [esp + 4]
mov dword [esp + 0x44], ebx
fild dword [esp + 0x44]
fstp dword [esp]
call fcn.0043d6a0
lea ecx, [esp + 0x4c]
call fcn.004092e0
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
jmp 0x414f70
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x8c], 0
je 0x415795
mov edx, dword [eax + 0x88]
mov ebp, dword [edx]
mov edi, dword [eax + 0x70]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], edi
lea esp, [esp]
mov ebx, dword [eax + 0x88]
mov eax, dword [eax + 0x70]
test edi, edi
je 0x415741
cmp edi, eax
je 0x415746
call fcn.00451172
cmp ebp, ebx
je 0x415795
test edi, edi
jne 0x415791
call fcn.00451172
cmp ebp, dword [edi + 0x18]
jne 0x41575d
call fcn.00451172
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x30]
cmp dword [eax + 0xc], ecx
jne 0x41577a
mov edx, dword [esi + 0x240]
xor ecx, ecx
cmp edx, dword [eax + 0x10]
sete cl
mov dword [eax + 0x14], ecx
lea ecx, [esp + 0x54]
call fcn.004092e0
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
jmp 0x415730
mov edi, dword [edi]
jmp 0x415753
inc dword [esp + 0x10]
lea ecx, [esp + 0x5c]
call fcn.004092e0
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
jmp 0x414bf2
cmp dword [esi + 0x26c], 0
je 0x4157bf
mov dword [edi + 0x2c], ebp
lea eax, [esi + 0x10]
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebp
test cl, cl
jne 0x4157c6
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x4b1bc4]
push ebx
push 0xf5
push 0x63
call fcn.0040d200
mov dword [edi + 0x380], 0
mov ecx, dword [0x4b1b24]
push ebp
call fcn.0043c5e0
cmp eax, ebp
jl 0x415808
mov dword [edi + 0x380], ebp
fldz
fcomp dword [esi + 0x244]
fnstsw ax
test ah, 0x44
jnp 0x41581d
mov dword [edi + 0x3b4], ebp
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x74
ret 4
cmp dword [esi + 0x26c], 0
je 0x415839
mov dword [edi + 0x2c], 1
lea eax, [esi + 0x10]
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x415840
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x4b1bc4]
push ebx
push 0xf5
push 0x63
call fcn.0040d200
fldz
fcomp dword [esi + 0x244]
fnstsw ax
test ah, 0x44
jnp 0x41587a
mov dword [edi + 0x3b4], 1
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x74
ret 4
cmp dword [esi + 0x28c], 0
je 0x4158bd
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
mov ecx, dword [0x4b1bc4]
push eax
push 0xbb
push 0x63
call fcn.0040d200
lea eax, [esi + 0x10]
mov edx, ebp
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4158c4
mov edi, dword [esp + 0x10]
push edi
push 0xf5
mov dword [ebp + 0x380], 0
mov ecx, dword [0x4b1bc4]
push 0x63
call fcn.0040d200
fldz
fcomp dword [esi + 0x244]
fnstsw ax
test ah, 0x44
jnp 0x415908
mov dword [ebp + 0x3b4], 1
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4
cmp dword [esi + 0x28c], 0
je 0x41594b
mov eax, dword [esi + 0x248]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0x4b1bc4]
push edx
push eax
call fcn.0040ccb0
mov ecx, dword [0x4b1bc4]
push eax
push 0xbb
push 0x63
call fcn.0040d200
lea eax, [esi + 0x10]
mov edx, ebp
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x415952
jmp 0x4158ce
cmp dword [esi + 0xcc], 0
je 0x4159e5
cmp dword [esi + 0x3b0], 0
jne 0x4159e5
mov edx, dword [esi + 0xc8]
mov ebp, dword [edx]
mov edi, dword [esi + 0xb0]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edi
lea esp, [esp]
mov ebx, dword [esi + 0xc8]
mov eax, dword [esi + 0xb0]
test edi, edi
je 0x4159a4
cmp edi, eax
je 0x4159a9
call fcn.00451172
cmp ebp, ebx
je 0x4159e5
test edi, edi
jne 0x4159e1
call fcn.00451172
cmp ebp, dword [edi + 0x18]
jne 0x4159c0
call fcn.00451172
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x11c]
call fcn.0043bbb0
lea ecx, [esp + 0x5c]
call fcn.004092e0
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
jmp 0x415990
mov edi, dword [edi]
jmp 0x4159b6
cmp dword [esi + 0x39c], 0
jne 0x415bf1
mov ecx, dword [0x4b1b24]
push 3
call fcn.0043cb10
test eax, eax
jne 0x415a23
mov ecx, dword [0x4b1b24]
push 5
call fcn.0043cb10
test eax, eax
je 0x415b02
cmp dword [esp + 0x28], 0
jne 0x415b02
add dword [esi + 0x37c], 0xffffffff
jns 0x415a36
mov ecx, dword [esi + 0x4c]
dec ecx
mov dword [esi + 0x37c], ecx
cmp dword [esi + 0x4c], 0
mov edx, dword [esi + 0x37c]
mov dword [esp + 0x10], edx
je 0x415aea
mov eax, dword [esi + 0x48]
mov ebx, dword [eax]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
lea ebx, [ebx]
mov ebp, dword [esi + 0x48]
mov eax, dword [esi + 0x30]
test edi, edi
je 0x415a6e
cmp edi, eax
je 0x415a73
call fcn.00451172
cmp ebx, ebp
je 0x415aea
test edi, edi
jne 0x415acc
call fcn.00451172
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x415a8c
call fcn.00451172
mov ebp, dword [ebx + 0xc]
test edi, edi
jne 0x415ad0
call fcn.00451172
cmp ebx, dword [edi + 0x18]
jne 0x415aa2
call fcn.00451172
mov ebx, dword [ebx + 0x10]
cmp ebp, dword [esp + 0x10]
jne 0x415ad4
mov al, byte [ebx + 0x10]
test al, al
je 0x415ab6
cmp al, 0x2d
jne 0x415aea
sub dword [esp + 0x10], 1
jns 0x415ac5
mov eax, dword [esi + 0x4c]
dec eax
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x48]
mov ebx, dword [ecx]
jmp 0x415a4f
mov eax, dword [edi]
jmp 0x415a82
mov edi, dword [edi]
jmp 0x415a98
lea ecx, [esp + 0x3c]
call fcn.004092e0
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
jmp 0x415a60
mov eax, dword [esp + 0x10]
mov dword [esi + 0x37c], eax
test eax, eax
jge 0x415b02
mov edx, dword [esi + 0x4c]
dec edx
mov dword [esi + 0x37c], edx
mov ecx, dword [0x4b1b24]
push 4
call fcn.0043cb10
test eax, eax
jne 0x415b33
mov ecx, dword [0x4b1b24]
push 6
call fcn.0043cb10
test eax, eax
je 0x415bf1
cmp dword [esp + 0x28], 0
jne 0x415bf1
inc dword [esi + 0x37c]
mov ecx, dword [esi + 0x37c]
mov eax, dword [esi + 0x4c]
cmp ecx, eax
jl 0x415b50
mov dword [esi + 0x37c], 0
mov ecx, dword [esi + 0x37c]
mov dword [esp + 0x10], ecx
test eax, eax
je 0x415be7
mov edx, dword [esi + 0x48]
mov ebx, dword [edx]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov ebp, dword [esi + 0x48]
mov eax, dword [esi + 0x30]
test edi, edi
je 0x415b80
cmp edi, eax
je 0x415b85
call fcn.00451172
cmp ebx, ebp
je 0x415be7
test edi, edi
jne 0x415bdf
call fcn.00451172
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x415b9e
call fcn.00451172
mov ebp, dword [ebx + 0xc]
test edi, edi
jne 0x415be3
call fcn.00451172
cmp ebx, dword [edi + 0x18]
jne 0x415bb4
call fcn.00451172
mov ebx, dword [ebx + 0x10]
cmp ebp, dword [esp + 0x10]
jne 0x415bcc
mov al, byte [ebx + 0x10]
test al, al
je 0x415bc8
cmp al, 0x2d
jne 0x415be7
inc dword [esp + 0x10]
lea ecx, [esp + 0x5c]
call fcn.004092e0
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
jmp 0x415b72
mov eax, dword [edi]
jmp 0x415b94
mov edi, dword [edi]
jmp 0x415baa
mov eax, dword [esp + 0x10]
mov dword [esi + 0x37c], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4