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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x551324
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push ebx
push esi
push edi
mov ebx, ecx
push 0xa4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x68], 7
mov dword [esp + 0x6c], 9
mov dword [esp + 0x70], 6
mov dword [esp + 0x74], 0x13
mov dword [esp + 0x78], 0x14
mov dword [esp + 0x7c], 0x15
mov dword [esp + 0x80], 0x16
mov dword [esp + 0x84], 0x17
call fcn.00481156
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x190], 0
je 0x46790d
push 0
mov ecx, eax
call fcn.00418d70
mov esi, eax
jmp 0x46790f
xor esi, esi
test esi, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x190], 0xffffffff
je 0x467966
mov ecx, esi
call fcn.00418d60
push 5
mov ecx, esi
call fcn.004814bc
push 0
mov ecx, esi
call fcn.0048150a
mov eax, dword [esi + 0x20]
push eax
call 0x6fca79
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xc16312d0
mov dword [esp + 0x24], 0
mov edi, dword [esp + ecx*4 + 0x64]
mov dword [esp + 0x28], 0x416312d0
mov esi, edi
cmp edi, 0x15
mov dword [esp + 0x10], edi
mov dword [esp + 0x5c], esi
je 0x4679a6
cmp edi, 0x16
je 0x4679a6
cmp edi, 0x17
jne 0x4679af
mov esi, 8
mov dword [esp + 0x5c], esi
mov edx, dword [0x580574]
xor eax, eax
cmp dword [edx + 0x480], eax
lea ecx, [edx + 0x480]
jne 0x4679d1
add ecx, 0x808
inc eax
cmp dword [ecx], 0
je 0x4679c5
cmp eax, dword [ebp + 0xc]
jge 0x468106
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, eax
shl ecx, 8
push eax
push esi
mov esi, dword [ebp + 0x10]
add ecx, eax
push esi
lea ecx, [edx + ecx*8]
push eax
call 0x7f3113
cmp edi, 0x15
je 0x467a03
cmp edi, 0x16
je 0x467a03
cmp edi, 0x17
jne 0x467a16
mov edx, dword [ebp + 8]
push edi
mov ecx, ebx
mov eax, dword [edx + 0xdaec]
push eax
push esi
call fcn.00465ae0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00468130
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xec], 0x3727c5ac
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], edi
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0xdacc]
xor ebx, ebx
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [esp + 0x40], edx
jle 0x467c66
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov esi, dword [ecx + 8]
add esi, edx
cmp eax, 0x15
je 0x467a86
cmp eax, 0x16
je 0x467a86
cmp eax, 0x17
je 0x467a86
fld dword [esi + edi*4 + 0xc]
fmul dword [0x559afc]
jmp 0x467a90
fld dword [esi + edi*4 + 0xc]
fmul dword [0x557ce4]
mov eax, dword [ebp + 0x1c]
fstp dword [esi + edi*4 + 0xc]
test eax, eax
je 0x467b44
mov eax, dword [esp + 0x40]
push ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x20], 0
fld dword [eax + 0x84]
fmul dword [0x557ce0]
fstp dword [esp]
fld dword [eax + 0x80]
fmul dword [0x557ce0]
mov eax, dword [esi + 4]
push ecx
fstp dword [esp]
push edx
push eax
push eax
call 0x5fd593
fcomp qword [0x559ae8]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x467b6e
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
fld dword [eax + 0x84]
fmul dword [0x557ce0]
push edx
push ecx
fstp dword [esp]
fld dword [eax + 0x80]
fmul dword [0x557ce0]
push ecx
fstp dword [esp]
fld dword [eax + 0x64]
fmul dword [0x557ce0]
push ecx
fstp dword [esp]
fld dword [eax + 0x60]
fmul dword [0x557ce0]
push ecx
fstp dword [esp]
push ecx
call 0x65bcfc
fmul dword [0x557ce0]
add esp, 0x18
jmp 0x467b72
fld dword [esp + 0x58]
fmul dword [0x5593f4]
fld st(0)
fsin
fstp dword [esp + 0x30]
fcos
fld dword [esp + 0x30]
fmul dword [esi + 8]
fxch st(1)
fmul dword [esi + 4]
faddp st(1)
fmul dword [0x557ce0]
jmp 0x467b72
fld dword [esp + 0x1c]
fstp dword [esi + 4]
fld dword [esi + 0xc]
fmul dword [0x557ce0]
fstp dword [esi + 8]
fld qword [esp + 0x34]
fcomp qword [0x559b18]
mov dword [esi + edi*4 + 0xc], 0
fnstsw ax
test ah, 1
je 0x467baa
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
fld qword [esp + 0x24]
fcomp qword [0x559b18]
fnstsw ax
test ah, 0x41
jne 0x467bcb
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0xc]
inc ebx
add edx, 0x34
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xc], edx
cmp ebx, ecx
jl 0x467a5b
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov esi, eax
fld qword [esp + 0x34]
xor eax, eax
fstp dword [esi + 0x3c]
fld qword [esp + 0x24]
mov dword [esi + 0xc0], eax
mov dword [esp + 0x30], eax
fstp dword [esi + 0x40]
cmp dword [ebx + 0x144], eax
je 0x467c82
mov edx, dword [0x55451c]
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [esp + 0x88]
mov eax, dword [edx]
push eax
push str._stest_Wall__d.txt
push ecx
call dword [0x5550d8]
lea edx, [esp + 0x94]
push 0x56f59c
push edx
call dword [0x5550c4]
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
jne 0x467c73
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
jmp 0x467bef
push str.____________
push eax
call 0x7e7bfa
push 0x114
call fcn.00481156
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x190], 1
je 0x467cac
mov ecx, eax
call 0x6d332d
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov esi, eax
xor eax, eax
mov dword [esp + 0x190], 0xffffffff
cmp ecx, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0xc], eax
jle 0x4680d0
mov dword [esp + 0x1c], eax
test esi, esi
je 0x467d23
mov ecx, esi
call 0x6f4fa5
mov eax, dword [0x580574]
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [ecx + 0x480]
test eax, eax
je 0x4680ae
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x60]
push eax
push edx
push esi
push ebp
call 0x63e5a9
cmp edi, 0x15
je 0x467d60
cmp edi, 0x16
je 0x467d60
cmp edi, 0x17
jne 0x467d73
mov eax, dword [ebp + 8]
push edi
mov ecx, dword [eax + 0xdaec]
push ecx
push esi
mov ecx, ebx
call fcn.00465ae0
push edi
mov ecx, ebx
mov dword [esi + 0xec], 0x3727c5ac
call fcn.00468130
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], 0
jle 0x468005
xor ecx, ecx
mov dword [esp + 0x48], ecx
jmp 0x467db7
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
mov edx, dword [ebp + 0x10]
mov esi, dword [esi + 8]
add esi, ecx
mov edi, dword [edx + 8]
add edi, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, 0x15
je 0x467de3
cmp ecx, 0x16
je 0x467de3
cmp ecx, 0x17
je 0x467de3
fld dword [esi + eax*4 + 0xc]
fmul dword [0x559afc]
jmp 0x467ded
fld dword [esi + eax*4 + 0xc]
fmul dword [0x557ce4]
fstp dword [esi + eax*4 + 0xc]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x467e99
mov ebx, dword [esp + 0x40]
push ecx
mov eax, dword [esi + 8]
mov dword [esp + 0x64], 0
fld dword [ebx + 0x84]
fmul dword [0x557ce0]
fstp dword [esp]
fld dword [ebx + 0x80]
fmul dword [0x557ce0]
push ecx
mov ecx, dword [esi + 4]
fstp dword [esp]
push eax
push ecx
push eax
call 0x695f24
fcomp qword [0x559ae8]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x467ec3
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
fld dword [ebx + 0x84]
fmul dword [0x557ce0]
push edx
push eax
push ecx
fstp dword [esp]
fld dword [ebx + 0x80]
fmul dword [0x557ce0]
push ecx
fstp dword [esp]
fld dword [ebx + 0x64]
fmul dword [0x557ce0]
push ecx
fstp dword [esp]
fld dword [ebx + 0x60]
fmul dword [0x557ce0]
push ecx
fstp dword [esp]
push edi
call 0x630732
fmul dword [0x557ce0]
add esp, 0x18
jmp 0x467ec7
fld dword [esp + 0x58]
fmul dword [0x5593f4]
fld st(0)
fsin
fstp dword [esp + 0x44]
fcos
fld dword [esp + 0x44]
fmul dword [esi + 8]
fxch st(1)
fmul dword [esi + 4]
faddp st(1)
fmul dword [0x557ce0]
jmp 0x467ec7
fld dword [esp + 0x60]
fstp dword [esi + 4]
fld dword [esi + 0xc]
fmul dword [0x557ce0]
mov ecx, dword [esp + 0x18]
fstp dword [esi + 8]
mov eax, dword [ecx + 0x140]
test eax, eax
je 0x467f34
mov eax, dword [ebp + 0x18]
cmp eax, 5
je 0x467f0b
cmp eax, 6
je 0x467f0b
cmp eax, 7
je 0x467f0b
mov ebx, dword [esp + 0x20]
fld dword [esi + ebx*4 + 0xc]
fcomp dword [edi + ebx*4 + 0xc]
fnstsw ax
test ah, 0x41
jne 0x467f4f
jmp 0x467f47
mov ebx, dword [esp + 0x20]
fld dword [esi + ebx*4 + 0xc]
fld dword [edi + ebx*4 + 0xc]
fabs
fstp dword [esp + 0x44]
fabs
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x467f4f
mov eax, dword [esi + ebx*4 + 0xc]
mov dword [edi + ebx*4 + 0xc], eax
jmp 0x467f4f
mov ebx, dword [esp + 0x20]
fld dword [esi + ebx*4 + 0xc]
fcomp dword [edi + ebx*4 + 0xc]
fnstsw ax
test ah, 1
je 0x467f4f
mov edx, dword [esi + ebx*4 + 0xc]
mov dword [edi + ebx*4 + 0xc], edx
fld dword [esi + ebx*4 + 0xc]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x467f66
fld dword [esi + ebx*4 + 0xc]
fstp qword [esp + 0x34]
fld dword [esi + ebx*4 + 0xc]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x467f7d
fld dword [esi + ebx*4 + 0xc]
fstp qword [esp + 0x24]
mov eax, dword [ecx + 0x144]
test eax, eax
je 0x467fe1
mov esi, dword [esp + 0x30]
push 0x56f638
push esi
call 0x7b3139
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 0x34
cmp eax, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], edx
jl 0x467dab
mov esi, dword [esp + 0x50]
mov ecx, dword [ebp + 0x10]
fld dword [ecx + 0x3c]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x46801d
fld qword [esp + 0x34]
fstp dword [ecx + 0x3c]
fld dword [ecx + 0x40]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x468032
fld qword [esp + 0x24]
fstp dword [ecx + 0x40]
lea ecx, [esp + 0x4c]
call fcn.0048140e
fild dword [esp + 0xc]
fidiv dword [ebp + 0xc]
sub esp, 8
lea edx, [esp + 0x54]
mov dword [esp + 0x198], 3
fmul dword [0x559ad0]
fstp qword [esp]
push 0x56f660
push edx
call fcn.00481408
mov edi, dword [esp + 0x4c]
add esp, 0x10
test edi, edi
je 0x468092
mov eax, dword [edi + 0x20]
test eax, eax
je 0x468092
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004813de
mov ecx, edi
call fcn.00418ec0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x190], 0xffffffff
call fcn.004813ba
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
inc eax
add edx, 0x808
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edx
jl 0x467cd4
test esi, esi
je 0x4680e5
mov ecx, esi
call 0x75b5f4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x468106
mov esi, eax
mov ecx, esi
call fcn.004191e0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x188]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c