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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dc735
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.00566540
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x4eba7d
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [edi*8]
push esi
call fcn.005b449a
push esi
mov dword [esp + 0x20], eax
call fcn.005b449a
push esi
mov dword [esp + 0x20], eax
call fcn.005b449a
mov ecx, dword [ebp + 8]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x20], esi
call fcn.00549f70
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], eax
call fcn.005655a0
cmp edi, ebx
jbe 0x4ebb2f
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, esi
mov dword [esp + 0xc], edi
sub ecx, edx
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x20]
sub ecx, edx
mov dword [esp + 0xa8], ecx
jmp 0x4ebaec
mov ecx, dword [esp + 0xa8]
mov edx, dword [eax]
push eax
fld qword [edx]
fmul qword [0x5e7c20]
mov edx, dword [esp + 0xb0]
fstp qword [edx + esi]
mov edx, dword [eax]
fld qword [edx + 8]
fmul qword [0x5e7c20]
fstp qword [esi]
mov dword [ecx + esi], ebx
mov dword [ecx + esi + 4], ebx
mov ecx, dword [ebp + 8]
call fcn.00565610
mov ecx, dword [esp + 0xc]
add esi, 8
dec ecx
mov dword [esp + 0xc], ecx
jne 0x4ebae5
mov esi, dword [esp + 0x20]
lea eax, [edi + edi*2]
shl eax, 4
add eax, 0x18
push eax
call fcn.005b449a
add esp, 4
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4ebb62
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0xb0]
mov ecx, 1
push edx
push eax
lea eax, [esp + 0x18]
lea edx, [esp + 0x2c]
push eax
lea eax, [edi + edi]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push 0x3fd51eb8
push 0x51eb851f
push edi
push esi
push edx
push eax
push ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], ecx
call sub.Adjust.dll_GT_Adjust
add esp, 0x34
cmp ax, 8
jne 0x4ebc1c
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4ebbbd
push eax
call fcn.005b44c3
add esp, 4
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2 + 0x21]
shl ecx, 3
push ecx
call fcn.005b449a
add esp, 4
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x4ebc2d
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
add edx, 0xa
push ecx
mov ecx, dword [esp + 0x28]
push edx
push 1
push 0x3fd51eb8
push 0x51eb851f
push edi
push esi
push eax
push ecx
push 1
call sub.Adjust.dll_GT_Adjust
add esp, 0x34
cmp ax, 8
je 0x4ebbac
cmp ax, bx
je 0x4ebc46
push ebx
push ebx
push str.Adjust
call fcn.005bc06a
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x4ebcb5
mov eax, edi
mov edi, dword [edi + 4]
cmp eax, ebx
je 0x4ebcb1
mov dword [eax + 0x10], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x48], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x40], ebx
push eax
mov dword [eax + 8], ebx
mov word [eax + 0xc], 9
mov word [eax + 0xe], bx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x4c], ebx
mov word [eax + 0x58], bx
mov word [eax + 0x5a], bx
mov word [eax + 0x5c], bx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x44], ebx
call fcn.005b44c3
add esp, 4
cmp edi, ebx
jne 0x4ebc50
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x2c], 9
mov word [esp + 0x2e], bx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x7a], bx
mov word [esp + 0x7c], bx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov word [esp + 0x7e], bx
mov dx, word [esp + 0x1c]
mov eax, 1
cmp word [esp + 0x24], ax
mov dword [esp + 0xe0], ebx
mov word [esp + 0x78], dx
jne 0x4ebe45
mov ecx, dword [esp + 0x10]
xor edi, edi
inc ecx
test ecx, ecx
jle 0x4ec013
jmp 0x4ebda3
mov eax, 1
cmp edi, ebx
jne 0x4ebdb3
mov word [esp + 0x2c], bx
mov word [esp + 0x7a], bx
jmp 0x4ebdbd
mov word [esp + 0x2c], ax
mov word [esp + 0x7a], ax
mov eax, dword [esp + 0xc]
lea edx, [edi + edi*2]
push 0x86
mov ecx, dword [eax + edx*8]
lea eax, [eax + edx*8]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call fcn.005b449a
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov byte [esp + 0xe0], 1
je 0x4ebe0c
lea ecx, [esi + 8]
call fcn.004f5550
jmp 0x4ebe0e
xor esi, esi
lea eax, [esp + 0x28]
lea ecx, [esi + 8]
push eax
mov byte [esp + 0xe4], bl
call fcn.004f55b0
mov ecx, dword [ebp + 0xc]
push esi
mov edx, dword [ecx + 8]
push edx
call fcn.004e84b0
mov eax, dword [esp + 0x10]
inc edi
inc eax
cmp edi, eax
jl 0x4ebd9e
mov esi, dword [ebp + 0xc]
jmp 0x4ec013
fld qword [0x5f0738]
fcos
push 0x86
mov word [esp + 0x30], bx
mov word [esp + 0x7e], bx
fmul qword [esp + 0xc4]
fadd qword [esp + 0xb4]
fstp qword [esp + 0x34]
fld qword [0x5f0738]
fsin
fmul qword [esp + 0xc4]
fadd qword [esp + 0xbc]
fstp qword [esp + 0x3c]
call fcn.005b449a
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov byte [esp + 0xe0], 2
je 0x4ebeac
lea ecx, [edi + 8]
call fcn.004f5550
jmp 0x4ebeae
xor edi, edi
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], bl
push ecx
lea ecx, [edi + 8]
call fcn.004f55b0
mov edx, dword [esi + 8]
push edi
push edx
mov ecx, esi
call fcn.004e84b0
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xc4]
push 0x86
mov word [esp + 0x30], 2
mov word [esp + 0x7e], 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
call fcn.005b449a
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov byte [esp + 0xe0], 3
je 0x4ebf49
lea ecx, [edi + 8]
call fcn.004f5550
mov eax, edi
jmp 0x4ebf4b
xor eax, eax
mov ecx, dword [esp + 0x28]
push eax
mov dword [eax + 8], ecx
mov dx, word [esp + 0x30]
mov word [eax + 0xc], dx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov cx, word [esp + 0x7c]
mov word [eax + 0x58], cx
mov dx, word [esp + 0x7e]
mov word [eax + 0x5a], dx
mov cx, word [esp + 0x32]
mov word [eax + 0xe], cx
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], ecx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], ecx
mov dx, word [esp + 0x80]
mov word [eax + 0x5c], dx
mov eax, dword [esi + 8]
push eax
mov ecx, esi
mov byte [esp + 0xe8], bl
call fcn.004e84b0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x18]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x28]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005b44c3
mov eax, dword [esi]
mov ecx, dword [esp + 0xe8]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8