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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040df9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1004b0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x1003a1cc
cmp dword [esi + 4], 0
je 0x1003a1cc
mov edx, dword [esi + 8]
test edx, edx
je 0x1003a1cc
mov eax, dword [0x1005b2f4]
mov ecx, dword [esi]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x40]
mov edi, dword [ecx + eax]
test edi, edi
je 0x1003a1cc
mov eax, dword [edx + 0xc8]
cmp eax, 7
je 0x1003a1cc
cmp eax, 9
je 0x1003a1cc
test eax, eax
je 0x1003a1cc
cmp dword [edi + 0x68], 0
je 0x1003a1cc
mov eax, dword [edi + 0x50]
add ecx, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x1005b360]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10039fec
or eax, 0xffffffff
jmp 0x1003a0b3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1005b09c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1005d350]
cmp eax, dword [ecx + 4]
jle 0x1003a09c
push 0x1005d350
call fcn.1003d5d2
add esp, 4
cmp dword [0x1005d350], 0xffffffff
jne 0x1003a09c
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x28], esp
xorps xmm0, xmm0
push 0x23
movups xmmword [ecx], xmm0
push str.55_8B_EC_83_7D_08_FF_56_8B_F1_74_3D
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100022e0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 0xa
movups xmmword [ecx], xmm0
push str.client.dll
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100022e0
mov byte [ebp - 4], 0
call fcn.1003cf80
push 0x1005d350
mov dword [0x1005d34c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1003d581
add esp, 4
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
call dword [0x1005d34c]
test eax, eax
je 0x1003a1cc
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x3204]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x14]
test edx, edx
je 0x1003a1cc
test ecx, ecx
je 0x1003a1cc
cmp eax, 0x3c7
jne 0x1003a102
movss xmm0, dword [edi + 0x58]
ucomiss xmm0, dword [0x10045f3c]
lahf
test ah, 0x44
jnp 0x1003a102
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x64]
jmp 0x1003a118
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
imul eax, edx
cdq
idiv ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
add ecx, 2
movzx edx, byte [ebp + 0xc]
add edi, ecx
mov ecx, dword [0x1005b350]
mov esi, dword [esi + 0xc]
push edx
push 0x14
mov eax, dword [ecx]
dec esi
push 0x14
push 0x14
movss dword [ebp - 0x1c], xmm0
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x24], edx
call eax
mov ecx, dword [0x1005b350]
lea eax, [edi + 4]
push eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov edx, dword [ecx]
add eax, esi
push eax
push edi
push esi
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [0x1005b2f4]
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov cl, byte [eax + 0x3c1]
mov dh, byte [eax + 0x3c2]
mov dl, byte [eax + 0x3c3]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0xc]
mov byte [ebp - 0x11], cl
mov ecx, dword [esi + 0x10]
add ecx, 3
add eax, ecx
mov ecx, dword [0x1005b350]
mov dword [ebp - 0x18], eax
movzx eax, dl
push eax
mov esi, dword [ecx]
movzx eax, dh
push eax
movzx eax, byte [ebp - 0x11]
push eax
mov eax, dword [esi + 0x3c]
call eax
mov esi, dword [ebp - 0x18]
mov ecx, dword [0x1005b350]
lea eax, [esi + 2]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x1c]
add eax, edi
push eax
mov eax, dword [edx + 0x40]
push esi
push edi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003d53a
mov esp, ebp
pop ebp
ret 8