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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x497d6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
jne 0x4457b6
xor al, al
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
fld qword [0x4a5b40]
call sub.MSVCR71.dll__CIacos
fmul dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
fmul dword [0x4a7adc]
mov dword [esp + 0x58], eax
dec eax
sub esp, 8
fld st(0)
mov dword [esp + 0x24], ecx
fcos
mov dword [esp + 0x28], eax
fstp qword [esp + 0x58]
fsin
fstp qword [esp + 0x50]
fild dword [esp + 0x60]
fstp qword [esp + 0x30]
fld qword [esp + 0x50]
fmul qword [0x4a5b40]
fstp qword [esp + 0x38]
fld qword [esp + 0x30]
fmul qword [esp + 0x58]
fsub qword [esp + 0x38]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
call fcn.0049212c
fld qword [esp + 0x58]
fmul qword [0x4a5b40]
mov edi, eax
fstp qword [esp + 0x48]
fld qword [esp + 0x30]
fmul qword [esp + 0x50]
fadd qword [esp + 0x48]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
call fcn.0049212c
fild dword [esp + 0x24]
mov dword [esp + 0x64], eax
fst qword [esp + 0x30]
fmul qword [esp + 0x50]
fstp qword [esp + 0x68]
fld qword [esp + 0x48]
fsub qword [esp + 0x68]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
call fcn.0049212c
fld qword [esp + 0x30]
fmul qword [esp + 0x58]
mov ebx, eax
fst qword [esp + 0x48]
fadd qword [esp + 0x38]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
call fcn.0049212c
fild dword [esp + 0x28]
mov dword [esp + 0x3c], eax
fst qword [esp + 0x30]
fmul qword [esp + 0x58]
fsub qword [esp + 0x68]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
call fcn.0049212c
fld qword [esp + 0x30]
fmul qword [esp + 0x50]
mov dword [esp + 0x40], eax
fadd qword [esp + 0x48]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_floor]
add esp, 8
call fcn.0049212c
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
xor eax, eax
test edi, edi
setg al
dec eax
and eax, edi
cmp ebx, ecx
mov edx, ebx
jl 0x4458ef
mov edx, ecx
cmp eax, edx
jge 0x445903
xor edx, edx
test edi, edi
setg dl
dec edx
and edx, edi
mov dword [esp + 0x20], edx
jmp 0x44590f
cmp ebx, ecx
mov dword [esp + 0x20], ebx
jl 0x44590f
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
setg al
dec eax
and eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x34]
cmp eax, edx
jl 0x44592f
mov eax, edx
cmp dword [esp + 0x58], eax
jge 0x445941
xor edx, edx
test ecx, ecx
setg dl
dec edx
and edx, ecx
jmp 0x445951
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
cmp eax, edx
mov dword [esp + 0x24], eax
jl 0x445955
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x38]
xor edx, edx
test edi, edi
setl dl
dec edx
and edx, edi
cmp ebx, eax
jle 0x445969
mov eax, ebx
cmp edx, eax
jle 0x445979
xor edx, edx
test edi, edi
setl dl
dec edx
and edx, edi
jmp 0x445983
mov edx, dword [esp + 0x38]
cmp ebx, edx
jle 0x445983
mov edx, ebx
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
test ecx, ecx
setl bl
dec ebx
and ebx, ecx
cmp eax, edi
jle 0x44599b
mov edi, eax
cmp ebx, edi
jle 0x4459ab
xor eax, eax
test ecx, ecx
setl al
dec eax
and eax, ecx
jmp 0x4459b5
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jg 0x4459b5
mov eax, ecx
lea ebx, [eax + 2]
mov eax, dword [esp + 0x20]
lea edi, [edx + 2]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
sub ebx, edx
mov dword [esp + 0x60], edi
push 0
lea ecx, [esp + 0x74]
sub edi, eax
mov dword [esp + 0x5c], ebx
call fcn.004450f0
push esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x228], 0
call fcn.00444bd0
mov eax, dword [esi + 0x40]
mov cx, word [esi + 0x16]
push eax
movzx eax, cx
push eax
push ebx
push edi
lea ecx, [esp + 0x80]
call fcn.00445110
push 0x100
mov ecx, esi
call fcn.0045ba30
push eax
lea ecx, [esp + 0x78]
call fcn.0045bf00
mov eax, dword [esi + 0x1a0]
xor edi, edi
cmp eax, edi
je 0x445a41
lea ecx, [esp + 0x70]
call fcn.0045c280
lea ecx, [esp + 0x70]
call fcn.0045c030
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x34]
cmp eax, edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
jne 0x445b6f
cmp eax, ecx
jg 0x445c6a
xor eax, eax
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
cdq
idiv ebx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x445c6a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jg 0x445b41
fild dword [esp + 0x18]
fld qword [esp + 0x48]
fmul st(1)
fstp qword [esp + 0x40]
fmul qword [esp + 0x50]
fstp qword [esp + 0x28]
fild dword [esp + 0x14]
fld qword [esp + 0x50]
fmul st(1)
fadd qword [esp + 0x40]
fsub qword [0x4a7a88]
call fcn.0049212c
fmul qword [esp + 0x48]
mov ebx, eax
fsubr qword [esp + 0x28]
fsub qword [0x4a7a88]
call fcn.0049212c
push eax
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.0045bbd0
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
push edi
lea ecx, [esp + 0x80]
call fcn.0045bfa0
mov ecx, dword [esp + 0x6c]
push ecx
push ebx
mov ecx, esi
call fcn.0045c0d0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push eax
push edx
push edi
call fcn.0045c090
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x445ab3
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
inc ecx
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add eax, 0x64
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jle 0x445a70
jmp 0x445c6a
cmp eax, ecx
jg 0x445c6a
xor eax, eax
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
cdq
idiv ebx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x445c6a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jg 0x445c41
fild dword [esp + 0x18]
fld qword [esp + 0x48]
fmul st(1)
fstp qword [esp + 0x40]
fmul qword [esp + 0x50]
fstp qword [esp + 0x28]
fild dword [esp + 0x14]
fld qword [esp + 0x50]
fmul st(1)
fadd qword [esp + 0x40]
fsub qword [0x4a7a88]
call fcn.0049212c
fmul qword [esp + 0x48]
mov ebx, eax
fsubr qword [esp + 0x28]
fsub qword [0x4a7a88]
call fcn.0049212c
push eax
push ebx
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.0045bac0
lea ecx, [esp + 0x70]
push eax
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.0045bce0
mov ecx, dword [esp + 0x6c]
push ecx
push ebx
mov ecx, esi
call fcn.0045c0d0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push eax
push edx
push edi
call fcn.0045c090
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x445bc3
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
inc ecx
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add eax, 0x64
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jle 0x445b80
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x445c78
lea eax, [esp + 0x70]
push eax
jmp 0x445c7f
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.00444ca0
lea ecx, [esp + 0x70]
mov dword [esp + 0x224], 0xffffffff
mov dword [esp + 0x70], 0x4a79a8
call fcn.00444b20
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8