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

Disassembly:
sub esp, 0xe0
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0xfc]
lea eax, [esi + 0x148]
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], eax
lea eax, [esi + 0x160]
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], edx
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
or ecx, 1
mov dword [esp + 0xfc], ecx
xor ecx, ecx
mov dword [esp + 0x44], eax
cmp dword [0x10fceeec], ecx
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], 0x41800000
mov dword [esp + 0x24], 0x64
jne 0x10a83f20
mov eax, dword [esi + 0x394]
fld dword [esi + 0x2cc]
test ah, 0x10
je 0x10a83f05
fld dword [0x10e90640]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10a83eff
fstp st(0)
mov dword [esp + 0x14], 0x43000000
jmp 0x10a83f28
fstp dword [esp + 0x14]
jmp 0x10a83f28
fld dword [0x10e906c0]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10a83eff
fstp st(0)
mov dword [esp + 0x14], 0x41400000
jmp 0x10a83f28
mov dword [esp + 0x24], 0x2710
fld dword [esp + 0x14]
mov dword [esp + 0xb4], ecx
fmul dword [esp + 0x14]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
fstp dword [esp + 0x64]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xdc], 0xffffffff
mov dword [esp + 0xe0], ecx
jmp 0x10a83fb0
fld dword [esp + 0xf4]
mov edi, dword [esp + 0x104]
fsub dword [esi + 0x148]
push edi
sub esp, 0xc
mov ecx, esp
fstp dword [esp + 0x44]
mov ebp, dword [esp + 0x44]
fld dword [esp + 0x108]
mov dword [ecx], ebp
fsub dword [esi + 0x14c]
mov dword [esp + 0x28], ebp
fstp dword [esp + 0x48]
mov ebx, dword [esp + 0x48]
fld dword [esp + 0x10c]
mov dword [ecx + 4], ebx
fsub dword [esi + 0x150]
mov dword [esp + 0x2c], ebx
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.10a7f5d0
test eax, eax
jne 0x10a8465a
fld dword [esp + 0x1c]
mov dword [esp + 0x20], eax
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fcom dword [esp + 0x64]
fnstsw ax
test ah, 5
jp 0x10a8404c
fstp st(0)
push 0x41000000
jmp 0x10a840e4
fcom qword [0x10e49258]
fnstsw ax
test ah, 5
jp 0x10a84075
fstp st(0)
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
jmp 0x10a8409b
fsqrt
fdivr dword [0x10e45008]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x2c]
fmul dword [0x10e4500c]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
fld dword [esp + 0x18]
fmul dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push 0x40833333
fstp dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [esp + 0x18]
fstp dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x18]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
push edi
lea edx, [esp + 0xbc]
push edx
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.10a7c1f0
mov edi, eax
cmp edi, 1
je 0x10a84281
cmp edi, 5
jne 0x10a84124
xor edi, edi
mov dword [esp + 0x10], 1
jmp 0x10a843d0
mov al, byte [esi + 0xa8]
test al, al
jne 0x10a8414d
mov edx, dword [0x10f43370]
push str.Walked_out_of_world___
push edx
call fcn.109baf50
add esp, 8
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x10a843d0
mov eax, dword [esi + 0x394]
test eax, 0x10000
je 0x10a8419e
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0xf8]
push ecx
mov ecx, dword [esp + 0x100]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x110]
mov dword [edx + 4], ecx
mov ecx, esi
xor edi, edi
mov dword [edx + 8], eax
call fcn.10a83b00
mov dword [esp + 0x10], eax
jmp 0x10a843c9
test ah, 0x10
je 0x10a84251
mov ecx, dword [esp + 0x100]
or ecx, 8
cmp edi, 2
mov dword [esp + 0x100], ecx
jne 0x10a84217
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x104]
test edx, edx
je 0x10a841f5
fld dword [esp + 0x74]
fsub dword [edx + 0x2d0]
fadd dword [esi + 0x2d0]
fstp dword [esp + 0x74]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x80]
mov dword [edx + 4], ecx
mov ecx, esi
mov dword [edx + 8], eax
call fcn.10a812c0
mov edi, eax
jmp 0x10a843d0
test edi, edi
jne 0x10a843d0
mov edx, dword [esp + 0x20]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], ebp
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov ecx, esi
call fcn.10a80b80
mov edi, eax
cmp edi, 5
jne 0x10a843d0
xor edi, edi
mov dword [esp + 0x10], 1
jmp 0x10a843d0
cmp edi, 2
jne 0x10a843d0
fld dword [esp + 0x14]
fcomp qword [0x10e90648]
fnstsw ax
test ah, 0x41
jne 0x10a843d0
mov edi, 1
mov dword [esp + 0x14], 0x420c0000
jmp 0x10a843d0
mov eax, dword [0x10fceeec]
test eax, eax
je 0x10a843d0
fld dword [esi + 0x2cc]
xor eax, eax
fld dword [esi + 0x2cc]
mov edx, dword [esi + 0x148]
fxch st(1)
mov dword [esp + 0x84], eax
fmul dword [0x10e4708c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
fstp dword [esp + 0x4c]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
fmul dword [0x10e4708c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
fstp dword [esp + 0x50]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 0x2d0]
mov ecx, dword [esi + 0x98]
mov dword [esp + 0xec], eax
fld dword [esp + 0xec]
fmul dword [0x10e4708c]
sub esp, 0xc
lea eax, [esi + 0x148]
mov ebx, esp
fstp dword [esp + 0x60]
push 0x286
fld dword [esi + 0x2d0]
push eax
fmul dword [0x10e4708c]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 4]
mov dword [ebx], ebp
fadd qword [0x10e90688]
mov ebp, dword [esp + 0x64]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x68]
fmul qword [0x10e90680]
mov dword [esp + 0xbc], 0x3f800000
mov dword [esp + 0xc0], 0xffffffff
fadd dword [eax + 8]
lea eax, [esp + 0x8c]
push eax
push esi
lea eax, [esp + 0xa0]
fstp dword [esp + 0x9c]
mov dword [esp + 0x98], edx
mov edx, dword [ecx]
push eax
mov dword [ebx + 8], ebp
call dword [edx + 0xdc]
fld dword [0x10e45008]
fld dword [esp + 0xa8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10a843d0
mov eax, dword [esp + 0x100]
or eax, 8
mov dword [esp + 0x100], eax
mov edx, dword [esi]
push esi
mov ecx, esi
call dword [edx + 0x1ec]
test eax, eax
je 0x10a844cf
xor edi, edi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x104]
dec dword [esp + 0x24]
js 0x10a843ff
cmp edi, 1
je 0x10a83fb0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10a8446b
test ebp, ebp
je 0x10a8446b
mov ecx, dword [0x110b9004]
test ecx, ecx
jne 0x10a84432
push 0x10e44b40
call fcn.10a46dd0
add esp, 4
mov dword [0x110b9004], eax
call fcn.10a51b80
mov ecx, dword [0x110b9004]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x10a8444b
lea esp, [esp]
cmp eax, ecx
je 0x10a84456
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x10a84440
xor eax, eax
test ecx, ecx
sete al
test eax, eax
je 0x10a8446b
mov eax, dword [esi + 0xa0]
sub eax, dword [ebp + 0x3fc]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x58]
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
push 0
push 1
push 1
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x74]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x78]
push esi
mov dword [eax + 8], edi
call dword [edx + 0xac]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x100]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
and eax, ecx
pop ebx
add esp, 0xe0
ret 0x14
mov eax, dword [esi + 0x144]
mov cl, byte [eax + 0x464]
test cl, cl
mov eax, dword [esi + 0x394]
jns 0x10a84538
xor edi, edi
test ah, ah
jns 0x10a843e9
mov ebp, dword [esp + 0x104]
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0xf4]
push ebp
push ecx
mov ecx, dword [esp + 0x100]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x110]
mov dword [edx + 4], ecx
mov ecx, esi
mov dword [edx + 8], eax
call fcn.10a80040
mov dword [esp + 0x100], eax
mov dword [esp + 0x10], eax
jmp 0x10a843f0
test eax, 0x20000
je 0x10a843e9
mov edx, dword [0x110b908c]
test edx, edx
jne 0x10a8456a
push 0x10e44b40
call fcn.10a48450
add esp, 4
mov dword [0x110b908c], eax
call fcn.10a53170
mov edx, dword [0x110b908c]
mov ecx, dword [esi + 0x144]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x10a84582
cmp eax, edx
je 0x10a84591
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x10a84577
xor eax, eax
test edx, edx
sete al
test eax, eax
je 0x10a843e9
mov ebp, dword [esp + 0x104]
test ebp, ebp
je 0x10a843f0
cmp dword [ebp + 0x144], ecx
jne 0x10a843f0
mov ebx, dword [esi + 0x540]
push ecx
xor edi, edi
call fcn.10a7e5c0
fld dword [esp + 0xf8]
mov dword [esi + 0x540], eax
fsub dword [esi + 0x148]
fld dword [esp + 0xfc]
add esp, 4
fsub dword [esi + 0x14c]
fld dword [esp + 0xfc]
fsub dword [esi + 0x150]
fmul dword [eax + 0x4b0]
fxch st(1)
fmul dword [eax + 0x4ac]
faddp st(1)
fxch st(1)
fmul dword [eax + 0x4a8]
faddp st(1)
fcom dword [0x10e4500c]
fnstsw ax
test ah, 1
je 0x10a84613
fchs
fld dword [ebp + 0x2d0]
fld dword [esi + 0x2d0]
fst dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10a84632
fstp st(0)
fld dword [esp + 0x10]
fxch st(1)
mov dword [esp + 0x10], 1
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jnp 0x10a8464f
mov dword [esp + 0x10], 0
mov dword [esi + 0x540], ebx
jmp 0x10a843f0
mov dword [esp + 0x10], 1
jmp 0x10a8446b