Function at 0x53dc30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x2c
call fcn.00645a7b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebx], 0xa13bc0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push dword [ebp + 0x10]
call fcn.004f2d74
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80000006
jne 0x53dcce
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
call fcn.004fd814
push reloc.oleaut32.dll_SysStringLen
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x9dc
call fcn.00647990
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x53dcfd
cmp dword [ebp - 4], 0x80000301
jne 0x53dceb
push dword [ebp + 0x10]
call fcn.004efb10
mov dword [ebp - 0xc], eax
jmp 0x53dcfd
push 0
push dword [ebp + 8]
call fcn.004efb2c
jmp 0x53dfa3
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
push 2
push dword [ebp + 0x10]
call fcn.004f12f4
test eax, eax
je 0x53dd61
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
jmp 0x53dea7
fild dword [ebp + 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0xa132ac]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004ef9d0
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.004f2d74
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call fcn.004efb10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
cmp dword [ebp - 4], 0x80000601
jne 0x53de03
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0xa139cc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004ef9d0
push eax
call fcn.004efb10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
jmp 0x53dea7
cmp dword [ebp - 4], 0x80000401
jne 0x53de55
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0xa139cc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004ef9d0
push eax
call fcn.004efb10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
jmp 0x53dea7
cmp dword [ebp - 4], reloc.WS2_32.dll_closesocket
jne 0x53dea7
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0xa139cc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004ef9d0
push eax
call fcn.004efb10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
jmp 0x53dea7
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x14], eax
push reloc.oleaut32.dll_SysStringLen
push 0
push 0x506a8e
push 1
mov ebx, 0x9dc
call fcn.00647990
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push 0
push 0
xor eax, eax
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x53df1a
push 0x4d4
push 0x42aa273
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x18], eax
push 3
push dword [ebp + 0x10]
call fcn.004f12f4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x53df65
fild dword [ebp + 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0xa1332c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004ef9d0
push eax
call fcn.004efb10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x18]
push dword [ebp - 0x30]
call fcn.004f9200
cmp dword [ebp - 0x18], 0
jne 0x53df8e
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
cmp dword [ebp - 0x18], 0
mov eax, 0
setne al
push eax
push dword [ebp + 8]
call fcn.004efb2c
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00645a87
add esp, 4
mov esp, ebp
pop ebp
ret 0xc