Function at 0x551730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x40], eax
mov esi, edx
mov dword [eax], 0
lea eax, [ebp - 0x38]
push edi
push eax
mov dword [ebp - 0x34], esi
mov edi, ecx
mov dword [ebp - 0x3c], ebx
call fcn.0055d590
add esp, 4
push ebx
test eax, eax
jle 0x55178a
push esi
lea edx, [ebp - 0x38]
call fcn.0055dcb0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x94]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
push 0x62e620
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x10]
push 0xc
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x2c], 2
call sym.PayClient.exe_curl_msnprintf
push 0x50
push 1
call dword [0x65edf0]
mov ebx, eax
mov dword [ebp - 0x38], 0xc
add esp, 0x18
mov dword [edi + 0x460], ebx
test ebx, ebx
je 0x55194e
mov eax, dword [ebp - 0x3c]
lea esi, [ebx + 0x10]
push 0x3c
push 0
mov dword [edi + 0x450], eax
mov byte [edi + 0x458], 0
mov dword [edi + 0x45c], 0
mov dword [edi + 0x454], 0
push esi
mov dword [ebx], 0
call fcn.005d05b0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov dword [esi + 0x38], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 4], 1
movups xmm0, xmmword [ebp - 0x30]
push 0x18
movups xmmword [esi + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [esi + 0x28], xmm0
call dword [0x65ede0]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x5518fa
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push dword [ebp - 0x34]
mov dword [esi + 0x10], 0
call dword [0x65edec]
add esp, 4
mov dword [esi + 8], eax
test eax, eax
je 0x5518fa
push dword [edi + 0x44c]
call dword [0x65ede8]
add esp, 4
push dword [ebp - 0x34]
call dword [0x65edec]
add esp, 4
mov dword [edi + 0x44c], eax
test eax, eax
je 0x5518d1
push 0
push 0
push esi
push 0x5512f0
push 0
push 0
mov dword [ebx + 0x14], 0
call fcn.005d5fe0
add esp, 0x18
test eax, eax
je 0x5518b8
cmp eax, 0xffffffff
jne 0x5518ba
xor eax, eax
mov dword [ebx], eax
test eax, eax
jne 0x5518de
mov dword [ebx + 0x14], 1
call fcn.005de15b
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea ecx, [edi + 0x44c]
call fcn.005513e0
jmp 0x55194b
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
test eax, eax
je 0x551912
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi]
call dword [0x65ede8]
add esp, 4
push dword [esi + 8]
call dword [0x65ede8]
mov ecx, dword [esi + 0x14]
add esp, 4
test ecx, ecx
je 0x55192a
call fcn.0055d9a0
push 0x3c
push 0
push esi
call fcn.005d05b0
add esp, 0xc
mov dword [edi + 0x460], 0
push ebx
call dword [0x65ede8]
add esp, 4
mov esi, dword [ebp - 0x34]
call fcn.005de15b
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
call fcn.005de15b
mov ecx, edi
mov edx, dword [eax]
call fcn.0053fb90
push eax
push esi
push str.init_resolve_thread___failed_for__s___s_n
push dword [edi]
call fcn.00543710
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x10]
call fcn.0055d9e0
add esp, 0x18
test eax, eax
je 0x5519c3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov ecx, edi
call fcn.0053fb90
push eax
push dword [ebp - 0x3c]
push esi
push str.getaddrinfo___failed_for__s:_d___s_n
push dword [edi]
call fcn.00543710
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005b8427
mov esp, ebp
pop ebp
ret