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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
test byte [0x74e5f0], 1
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x537bda
mov eax, dword [0x74e5f0]
fld dword [esi + 0x70]
or eax, 1
mov dword [0x74e5f0], eax
jmp 0x537be0
fld dword [0x74e5ec]
fld dword [0x74f15c]
mov al, byte [esi + 0x75]
test al, al
fmul dword [0x6d53d4]
fadd st(1)
fstp dword [0x74e5ec]
fstp st(0)
je 0x5382c4
fld dword [0x74e5ec]
fcomp dword [esi + 0x70]
fnstsw ax
test ah, 5
jp 0x537c1f
mov byte [esi + 0x74], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 4
mov byte [esi + 0x74], 1
mov dword [0x74e5ec], 0
mov edi, esi
mov dword [esp + 0x10], ebx
mov ebp, ebx
lea ebx, [ebx]
mov eax, dword [edi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x537c50
mov ecx, esi
call fcn.005376d0
add edi, ebx
dec ebp
jne 0x537c40
dec dword [esp + 0x10]
jne 0x537c38
lea edi, [esi + 0x40]
mov ebp, 5
mov ecx, dword [edi]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x537c73
mov ecx, esi
call fcn.005376d0
add edi, ebx
dec ebp
jne 0x537c63
mov ecx, dword [0x750814]
mov edx, dword [ecx]
call dword [edx + 0x3c]
test al, al
je 0x5381f3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, 2
mov dword [esp + 0x18], eax
mov eax, 0x1f40
push edi
mov ecx, 8
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ebx
xor ebx, ebx
mov eax, 0x100
push 0x10
mov dword [esp + 0x50], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [0x750814]
push ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 1
mov dword [esp + 0x4c], 0xfa0
mov dword [esp + 0x50], 0xbb8
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], 0x10
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.005ba1c0
mov ecx, dword [0x750814]
push edi
push 0x11
push ebx
call fcn.005ba1c0
lea eax, [esi + 0x40]
mov dword [esp + 0x10], eax
mov eax, 0xffffffc0
sub eax, esi
mov dword [esp + 0x1c], eax
jmp 0x537d30
mov ecx, dword [esp + ebx*4 + 0x38]
mov edi, dword [esp + 0x18]
xor edx, edx
mov ebp, ecx
mov eax, edi
shl ebp, 2
div ebp
mov eax, edx
xor edx, edx
div ecx
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, edi
div ecx
mov eax, edx
imul eax, eax, 0xff
xor edx, edx
div ecx
mov edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.005b3030
test al, al
je 0x5381f3
mov ecx, dword [0x750814]
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x538224
mov eax, dword [0x750814]
mov eax, dword [eax + 0x1dc]
mov ecx, dword [eax]
push 0
push 0x3f800000
push 0xff000000
push 1
lea edx, [esp + 0x38]
push edx
push 1
push eax
call dword [ecx + 0x90]
fild dword [esp + ebx*4 + 0x48]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
lea ebp, [ecx + edx]
fst dword [esp + 0x20]
mov eax, 0xff
fstp dword [esp + 0x24]
sub eax, edi
mov ecx, 0xffff
sub ecx, edi
shl ecx, 0x10
mov edx, eax
shl edx, 8
or ecx, edx
or ecx, eax
push 0
or ecx, 0xff000000
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push 0
push 0
lea edx, [ecx + ebp]
mov ecx, dword [esi + edx*4]
push 0
call fcn.005b3910
test al, al
je 0x538200
mov edx, dword [esp + 0x14]
mov eax, edi
or eax, 0xffffff00
shl eax, 8
or eax, edi
push 2
shl eax, 8
or eax, edi
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
inc edx
and edx, reloc.WS2_32.dll_closesocket
push 0
push 0
jns 0x537e3d
dec edx
or edx, 0xfffffffc
inc edx
add edx, ebp
mov ecx, dword [esi + edx*4]
call fcn.005b3910
mov ecx, dword [0x750814]
test al, al
mov eax, dword [ecx]
je 0x538221
call dword [eax + 0x44]
test al, al
je 0x538224
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
push 0
call fcn.005b3300
test al, al
je 0x538224
mov ecx, dword [edi]
call fcn.005b3130
inc ebx
add edi, 4
cmp ebx, 4
mov dword [esp + 0x10], edi
jl 0x537d30
mov ecx, dword [esi + 0x50]
call fcn.005b3030
test al, al
je 0x5381f3
mov ecx, dword [0x750814]
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x538245
mov eax, dword [0x750814]
mov eax, dword [eax + 0x1dc]
mov ecx, dword [eax]
push 0
push 0x3f800000
push 0xff000000
push 1
lea edx, [esp + 0x38]
push edx
push 1
push eax
call dword [ecx + 0x90]
xor edi, edi
lea ebx, [esi + 0x40]
mov eax, 0xff
cdq
idiv dword [esp + edi*4 + 0x58]
push 2
mov ecx, eax
or ecx, 0xffffff00
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
push ecx
mov ecx, dword [ebx]
push 0
push 0
push 0
push 0
call fcn.005b3910
test al, al
je 0x53823a
inc edi
add ebx, 4
cmp edi, 4
jl 0x537ee0
mov ecx, dword [0x750814]
mov eax, dword [ecx]
call dword [eax + 0x44]
test al, al
mov ecx, dword [esi + 0x50]
je 0x5381ee
push 0
call fcn.005b3300
test al, al
mov ecx, dword [esi + 0x50]
je 0x5381ee
call fcn.005b3130
mov ecx, dword [esi + 0x4c]
call fcn.005b3030
test al, al
je 0x5381f3
mov edx, dword [esi + 0x6c]
mov ecx, dword [0x750814]
mov edi, 0xff
sub edi, edx
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x5381eb
mov eax, dword [0x750814]
mov eax, dword [eax + 0x1dc]
mov ecx, dword [eax]
mov edx, edi
or edx, 0xffffff00
shl edx, 8
push 0
or edx, edi
push 0x3f800000
shl edx, 8
or edx, edi
push edx
push 1
lea edx, [esp + 0x38]
push edx
push 1
push eax
call dword [ecx + 0x90]
test eax, eax
jne 0x5381eb
mov ecx, dword [esi + 0x50]
push 2
push 0xffffffffffffffff
push eax
push eax
push eax
push eax
call fcn.005b3910
test al, al
mov ecx, dword [0x750814]
je 0x53825a
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
mov ecx, dword [esi + 0x4c]
je 0x5381ee
push 0
call fcn.005b3300
test al, al
mov ecx, dword [esi + 0x4c]
je 0x5381ee
call fcn.005b3130
mov ecx, dword [esi + 0x50]
call fcn.005b3030
test al, al
je 0x5381f3
mov ecx, dword [0x750814]
mov eax, dword [ecx]
call dword [eax + 0x40]
test al, al
je 0x538245
push 0
push 0x3f800000
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [0x750814]
push 1
call fcn.004a8530
mov ecx, dword [esi + 0x4c]
push 0xf
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
call fcn.005b3910
test al, al
mov ecx, dword [0x750814]
je 0x538240
mov eax, dword [ecx]
call dword [eax + 0x44]
test al, al
mov ecx, dword [esi + 0x50]
je 0x5381ee
push 0
call fcn.005b3300
test al, al
mov ecx, dword [esi + 0x50]
je 0x5381ee
call fcn.005b3130
mov eax, dword [esi + 0x78]
xor edi, edi
test eax, eax
jle 0x5381a9
mov ecx, dword [esi + 0x4c]
call fcn.005b3030
test al, al
je 0x5381f3
mov ecx, dword [0x750814]
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x5381eb
mov ecx, dword [0x750814]
push 0
push 0x3f800000
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x38]
push eax
push 1
call fcn.004a8530
mov ecx, dword [esi + 0x50]
push 0xe
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
call fcn.005b3910
test al, al
mov ecx, dword [0x750814]
je 0x53825a
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
mov ecx, dword [esi + 0x4c]
je 0x5381ee
push 0
call fcn.005b3300
test al, al
mov ecx, dword [esi + 0x4c]
je 0x5381ee
call fcn.005b3130
mov ecx, dword [esi + 0x50]
call fcn.005b3030
test al, al
je 0x5381f3
mov ecx, dword [0x750814]
mov eax, dword [ecx]
call dword [eax + 0x40]
test al, al
je 0x538245
push 0
push 0x3f800000
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [0x750814]
push 1
call fcn.004a8530
mov ecx, dword [esi + 0x4c]
push 0xe
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
call fcn.005b3910
test al, al
mov ecx, dword [0x750814]
mov edx, dword [ecx]
je 0x538242
call dword [edx + 0x44]
test al, al
mov ecx, dword [esi + 0x50]
je 0x5381ee
push 0
call fcn.005b3300
test al, al
mov ecx, dword [esi + 0x50]
je 0x5381ee
call fcn.005b3130
mov eax, dword [esi + 0x78]
inc edi
cmp edi, eax
jl 0x538093
mov ecx, dword [esi + 0x4c]
call fcn.005b3030
test al, al
je 0x5381f3
mov ecx, dword [0x750814]
mov eax, dword [ecx]
call dword [eax + 0x40]
test al, al
je 0x5381eb
mov ecx, dword [esi + 0x50]
push 0
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
call fcn.005b3910
test al, al
mov ecx, dword [0x750814]
jne 0x538274
mov edx, dword [ecx]
call dword [edx + 0x44]
mov ecx, dword [esi + 0x4c]
call fcn.005b3130
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x750814]
mov edx, dword [ecx]
call dword [edx + 0x44]
mov ecx, dword [esi + ebx*4 + 0x40]
call fcn.005b3130
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [eax + 0x44]
mov ecx, dword [esi + ebx*4 + 0x40]
call fcn.005b3130
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x750814]
mov edx, dword [ecx]
call dword [edx + 0x44]
mov ecx, dword [esi + 0x50]
call fcn.005b3130
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [esi + 0x4c]
call fcn.005b3130
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
call dword [eax + 0x44]
test al, al
mov ecx, dword [esi + 0x4c]
je 0x5381ee
push 0
call fcn.005b3300
test al, al
mov ecx, dword [esi + 0x4c]
je 0x5381ee
call fcn.005b3130
mov ecx, dword [0x750814]
push 2
push 0x10
push 0
call fcn.005ba1c0
mov ecx, dword [0x750814]
push 2
push 0x11
push 0
call fcn.005ba1c0
mov byte [esi + 0x80], 1
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret