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

Disassembly:
jmp 0x47fd20
push 0xffffffffffffffff
push 0x50b961
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53bbf0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x48]
xor ebx, ebx
cmp ecx, ebx
je 0x47fd83
mov eax, 0x68db8bad
imul dword [esp + 0x54]
push ebx
push ebx
sar edx, 0xc
push ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebx
push ebx
push eax
mov eax, 0x68db8bad
imul dword [esp + 0x68]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.004a6e90
mov ebp, dword [esp + 0x40]
cmp ebp, ebx
je 0x47ffa0
mov esi, dword [esp + 0x4c]
movzx eax, word [esi + 0x38]
cmp ax, bx
movsx edi, word [ebp + 0xaa]
je 0x47fda6
movsx edi, ax
movzx eax, word [esi + 0x32]
cmp ax, bx
jl 0x47fdf5
push 0x44
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov dword [esp + 0x38], ebx
je 0x47ff84
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x44]
push ebx
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push edi
push edi
push ebx
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x78]
push edx
push ecx
push ebp
mov ecx, eax
call fcn.004025cc
jmp 0x47ff86
movsx eax, ax
neg eax
sub eax, 1
jne 0x47ffa0
call fcn.004c11ab
and eax, reloc.WSOCK32.dll_closesocket
jns 0x47fe14
dec eax
or eax, 0xfffffffc
inc eax
add eax, 0xd
cmp eax, ebx
mov dword [esp + 0x48], eax
jle 0x47ff41
fild dword [esp + 0x48]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], eax
fst qword [esp + 0x28]
fdivr qword [0x5169a0]
fstp qword [esp + 0x20]
call fcn.004c11ab
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul qword [esp + 0x20]
fdiv qword [0x5146d8]
fild dword [esp + 0x48]
fmul qword [0x512168]
fdiv qword [esp + 0x28]
faddp st(1)
fst qword [esp + 0x18]
call fcn.004c4180
fmul qword [0x516f68]
call fcn.004c2db0
fld qword [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.004c42b0
fmul qword [0x516f68]
call fcn.004c2db0
cmp dword [0x53a7c4], 0
mov esi, eax
je 0x47febf
lea ecx, [esi*8]
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
push 0x38
call fcn.004c1ea3
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
test ebx, ebx
mov dword [esp + 0x38], 1
je 0x47ff11
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x34]
push edx
push 5
push edi
push edi
call fcn.004c11ab
movsx ecx, word [ebp + 0xb0]
cdq
idiv ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x28]
push esi
push edx
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.004a7410
jmp 0x47ff13
xor eax, eax
mov edx, dword [0x563908]
mov ecx, dword [edx + 0x57c]
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a7300
add dword [esp + 0x48], 2
sub dword [esp + 0x40], 1
jne 0x47fe3d
mov esi, dword [esp + 0x4c]
cmp word [esi + 0x30], 0
je 0x47ffa0
push 0x38
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov dword [esp + 0x38], 2
je 0x47ff84
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push 3
push edi
push edi
push 0
push 0
push 0
push edx
push ecx
push ebp
mov ecx, eax
call fcn.004a7410
jmp 0x47ff86
xor eax, eax
mov edx, dword [0x563908]
mov ecx, dword [edx + 0x57c]
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a7300
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret