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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
movsx esi, bl
mov dword [esp + 0x4c], 0
mov dword [esp + 0x30], 0
lea eax, [esi + esi*2]
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea ecx, [esi + eax*4]
mov al, byte [esi + 0x1cf2ca0]
test al, al
lea edi, [ecx*4 + 0x1cf2dc0]
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
je 0x43a2db
mov al, byte [0x1ceecd0]
test al, al
jne 0x439dff
push esi
push str.Called_when_bht_not_done__bat_num___d_
push str.CalcBallHitBatPos
call fcn.00401170
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x1ceecd1]
test al, al
jne 0x43a2db
push ebx
call fcn.00421370
add esp, 4
test al, al
je 0x43a2db
push ebx
call fcn.004297e0
add esp, 4
test eax, eax
jne 0x43a2db
mov eax, dword [0x4b3c90]
test eax, eax
je 0x43a2db
fild dword [0x4b3c90]
mov edx, dword [0x4b3c98]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x98], edx
fdivr dword [0x4772bc]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
push ebx
mov dword [0x4b3c90], 0x1f4
mov dword [0x4b3c94], 0x3b03126f
mov dword [0x4b3c98], 0x3f800000
fstp dword [esp + 0xb8]
call fcn.0043a2f0
mov ecx, dword [esp + 0x30]
add esp, 0x1c
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x28
mov dword [esp + 0x2c], eax
jle 0x439edb
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x50]
cmp eax, 0x1f4
ja 0x43a013
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x60]
fsub dword [edi]
fabs
fld dword [esp + 0x64]
fsub dword [edi + 4]
fabs
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x64]
fabs
fld dword [0x1cf28cc]
fcompp
fnstsw ax
test ah, 1
jne 0x439f20
fld dword [esp + 0x68]
fcomp dword [0x47cee0]
fnstsw ax
test ah, 0x41
je 0x439f79
fcom qword [esp + 0x30]
fnstsw ax
test ah, 1
jne 0x439f3c
fld qword [esp + 0x30]
fcomp qword [0x477ff8]
fnstsw ax
test ah, 1
je 0x439f79
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
fstp qword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x4c], ecx
jmp 0x439f7b
fstp st(0)
fld dword [esp + 0x68]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x43a06c
fld dword [esp + 0x80]
fcomp dword [0x4772e0]
fnstsw ax
test ah, 1
jne 0x439ff8
fld dword [esp + 0x28]
fcomp dword [0x47d0d8]
fnstsw ax
test ah, 0x40
jne 0x43a02e
mov byte [esi + 0x1ceecd1], 0
mov eax, dword [esi*4 + 0x1ceecc8]
test eax, eax
jle 0x43a06c
dec eax
lea ecx, [esp + 0x30]
mov dword [esi*4 + 0x1ceecc8], eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
push ebx
call fcn.0043a2f0
add esp, 0x1c
lea eax, [esp + 0x60]
push eax
call fcn.004208d0
mov ecx, dword [esp + 0x18]
add esp, 4
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x439eac
push str.Loop_Got_Caught
push str.CalcBallHitBatPos
call fcn.00401170
mov ecx, dword [esp + 0x1c]
add esp, 8
jmp 0x43a0b8
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*2]
shl eax, 2
mov dword [eax + 0x1ceeba8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x1ceebac], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x1ceebb0], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1ceebc0], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x1ceebc4], edx
mov edx, dword [esp + 0x24]
jmp 0x43a0ab
mov edx, dword [esp + 0x60]
lea eax, [esi + esi*2]
shl eax, 2
mov dword [eax + 0x1ceeba8], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x1ceebac], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x1ceebb0], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0x1ceebc0], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x1ceebc4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 0x1ceebc8], edx
mov byte [esi + 0x1ceecd1], 1
mov al, byte [ebp + 0xc]
test al, al
je 0x43a244
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 8]
lea edi, [esi + esi*2]
mov dword [esp + 0x20], edx
shl edi, 2
mov dword [esp + 0x24], eax
mov byte [esp + 0x13], 0
mov edx, dword [edi + 0x1ceebd8]
mov eax, dword [edi + 0x1ceebdc]
mov dword [esp + 0x54], edx
mov edx, dword [edi + 0x1ceebe0]
mov dword [esp + 0x58], eax
mov al, byte [esi + 0x1ceecc4]
mov dword [esp + 0x5c], edx
mov byte [esp + 0x1b], al
fld dword [esp + 0x28]
fcomp dword [0x47d0d8]
fnstsw ax
test ah, 0x40
je 0x43a120
mov byte [esp + 0x13], 1
xor ebx, ebx
mov byte [esi + 0x1ceecc4], 0
test ecx, ecx
mov dword [esi*4 + 0x1ceece4], ebx
jbe 0x43a167
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x1ceeba8]
push eax
push ecx
call fcn.0043e3a0
mov al, byte [esi + 0x1ceecc4]
mov ecx, dword [esp + 0x1c]
add esp, 8
test al, al
je 0x43a162
mov edx, ecx
sub edx, ebx
mov ebx, ecx
mov dword [esi*4 + 0x1ceece4], edx
inc ebx
cmp ebx, ecx
jb 0x43a134
mov al, byte [esp + 0x13]
test al, al
jne 0x43a1e9
mov eax, dword [esi*4 + 0x1ceece4]
test eax, eax
jne 0x43a1e9
fld qword [esp + 0x30]
fcomp qword [0x477ff8]
fnstsw ax
test ah, 0x41
jne 0x43a1e9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [edi + 0x1ceeba8], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x1ceebac], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x1ceebb0], edx
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x1ceebd8], edx
mov dword [edi + 0x1ceebdc], eax
mov dword [edi + 0x1ceebe0], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
jmp 0x43a1ee
mov byte [esp + 0x13], 2
mov al, byte [esp + 0x13]
inc al
cmp al, 2
mov byte [esp + 0x13], al
jl 0x43a10a
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x1ceebd8], eax
mov al, byte [esp + 0x1b]
mov dword [edi + 0x1ceebdc], ecx
mov dword [edi + 0x1ceebe0], edx
mov edi, dword [esp + 0x3c]
mov byte [esi + 0x1ceecc4], al
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x9c]
mov dword [0x4b3c98], eax
mov al, byte [esi + 0x1ceecd1]
mov dword [0x4b3c90], ecx
test al, al
mov dword [0x4b3c94], edx
je 0x43a2db
lea esi, [esi + esi*2]
fld dword [esi*4 + 0x1ceebac]
fcomp dword [0x4772e0]
fnstsw ax
test ah, 0x41
je 0x43a2a8
fld dword [edi + 4]
fcomp dword [0x4772e0]
fnstsw ax
test ah, 1
jne 0x43a2a8
fld dword [0x1cf28cc]
fstp dword [esi*4 + 0x1ceebac]
fld dword [esi*4 + 0x1ceebac]
fcomp dword [0x4772e0]
fnstsw ax
test ah, 1
jne 0x43a2db
fld dword [edi + 4]
fcomp dword [0x4772e0]
fnstsw ax
test ah, 0x41
je 0x43a2db
fld dword [0x1cf28cc]
fchs
fstp dword [esi*4 + 0x1ceebac]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret