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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
mov esi, ecx
jne 0x46f2c5
mov edi, 0x361
jmp 0x46f2df
cmp edi, 1
jl 0x46f2df
cmp edi, 0x361
jge 0x46f2df
dec edi
mov eax, 0x38e38e39
mul edi
shr edx, 1
inc edx
mov edi, edx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
push ebx
push ebp
push ecx
push edi
mov ecx, esi
call dword [eax + 0xac]
test al, al
je 0x46f37a
mov edx, dword [esi + 0x24]
lea ecx, [esi + 0x24]
call dword [edx + 0x50]
test al, al
je 0x46f32c
cmp edi, 1
jl 0x46f32c
cmp edi, 0x361
jge 0x46f32c
push edi
mov ecx, esi
call fcn.0040dc00
lea ecx, [edi + edi*8]
lea edx, [eax + ecx - 9]
mov dword [esp + 0x14], edx
jmp 0x46f330
mov dword [esp + 0x14], edi
call fcn.0043e696
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push 0
push 5
mov ecx, eax
call dword [edx + 0x18]
mov edi, eax
test edi, edi
je 0x46f370
call dword [0x4ef5e8]
cdq
mov ecx, 0x64
idiv ecx
cmp edx, dword [edi + 0x48]
jle 0x46f383
push 0x361
mov ecx, esi
call fcn.0040dd00
mov edi, eax
test edi, edi
jne 0x46f383
mov dword [0x5668e0], 0x5b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x10
mov eax, dword [edi + 0x38]
test eax, eax
je 0x46f392
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x46f3a1
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x58]
cmp dword [edi + 0x34], 5
jne 0x46f3b9
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xec]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov word [esi + 0x9a], 0
je 0x46f3db
mov dx, word [ecx + 8]
mov word [esi + 0x9a], dx
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa0], eax
mov eax, edx
mov dword [esi + 0xa4], ebp
sub ebp, eax
mov dword [esi + 0x90], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xa8], ebx
mov eax, ebp
sub ebx, ecx
test eax, eax
mov dword [esi + 0x9c], edx
jne 0x46f416
test ebx, ebx
je 0x46f428
mov ebp, dword [esi]
push ebx
push eax
call fcn.00411e00
add esp, 8
push eax
mov ecx, esi
call dword [ebp + 0x74]
mov edx, dword [esi + 0x24]
lea ecx, [esi + 0x24]
call dword [edx + 0x50]
test al, al
jne 0x46f44d
mov ecx, esi
call fcn.00404dc0
mov ebx, dword [eax + 0x78]
mov ecx, esi
mov ebp, ebx
call fcn.00404dc0
mov edi, dword [eax + 0x7c]
jmp 0x46f47e
mov eax, dword [edi + 0x70]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esi + 0x30]
call fcn.004756f8
mov ecx, dword [edi + 0x6c]
mov ebp, dword [edi + 0x74]
mov ebx, eax
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul dword [esi + 0x30]
call fcn.004756f8
mov edi, eax
mov edx, dword [esi + 0x34]
test byte [edx + 0x1c], 1
je 0x46f48b
add ebx, ebx
add ebp, ebp
push ebx
mov ecx, esi
call fcn.0046ee10
call fcn.00452b10
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + 8]
add ecx, edi
mov dword [esi + 0xb0], eax
mov dword [esi + 0xac], ecx
call fcn.004474d0
movzx ecx, word [esi + 8]
mov edx, dword [eax]
push ebp
push ecx
push 8
mov ecx, eax
call dword [edx + 0x1c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x10