Function at 0x554650
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xb0], eax
mov ebx, edx
mov byte [ebp - 0xb1], 0
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov eax, dword [esi + 0x90]
or eax, dword [esi + 0x94]
mov dword [ebp - 0xbc], ebx
jne 0x55478e
mov eax, dword [esi + 0x98]
or eax, dword [esi + 0x9c]
jne 0x55478e
call edx
mov ecx, eax
lea edi, [esi + 0x710]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
cmp byte [esi + 0x760], 0
mov dword [ebp - 0xb8], eax
jne 0x554788
mov byte [esi + 0x760], 1
test edi, edi
je 0x554788
movups xmm0, xmmword [esi + 0x730]
mov ecx, 0
movd eax, xmm0
movups xmmword [ebp - 0xd4], xmm0
sub edx, eax
psrldq xmm0, 4
movd eax, xmm0
mov dword [ebp - 0xc0], edx
sbb ecx, eax
cmp ecx, 0x863
jl 0x554734
jg 0x55472a
cmp edx, 0x7bd05af6
jb 0x554734
or ecx, 0xffffffff
mov eax, bind
jmp 0x554783
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0xcc]
push 0
push 0xf4240
push ecx
push dword [ebp - 0xc0]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb8], edx
call fcn.005b8cf0
mov ecx, dword [ebp - 0xc4]
add ecx, eax
mov eax, ecx
adc dword [ebp - 0xb8], edx
or eax, dword [ebp - 0xb8]
jne 0x55477d
lea ecx, [eax + 1]
jmp 0x554783
mov eax, dword [ebp - 0xb8]
add dword [edi], ecx
adc dword [edi + 4], eax
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 0xb0]
or dword [eax], 2
cmp dword [esi + 0x144], 0
jne 0x5549b3
cmp byte [esi + 0x138], 0
lea eax, [esi + 0x858]
mov dword [esi + 0x148], eax
jne 0x554afc
cmp dword [esi + 0x110], 2
mov ecx, dword [esi + 0x150]
jne 0x554846
cmp dword [ecx + 0x1b0], 2
jne 0x554846
and dword [esi + 0x134], 0xfffffffd
mov dword [esi + 0x110], 1
call edx
mov edi, eax
mov dword [ebp - 0xd0], 0
mov eax, 0x10624dd3
mul edi
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [ebp - 0xd4], edx
sub edi, ecx
mov ecx, esi
imul eax, edi, 0x3e8
mov dword [ebp - 0xcc], eax
movups xmm0, xmmword [ebp - 0xd4]
mov eax, dword [ebp - 0xb0]
movups xmmword [esi + 0x100], xmm0
and dword [eax], 0xfffffffd
mov eax, dword [esi + 0x658]
cdq
push edx
push eax
xor edx, edx
call fcn.005431d0
jmp 0x554b9c
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40003
je 0x554863
cmp dword [ecx + 0x1b0], 1
sete byte [ebp - 0xb1]
lea eax, [ebp - 0xb8]
mov edx, 0x4000
push eax
mov ecx, ebx
call fcn.00553660
add esp, 4
test eax, eax
jne 0x554ba1
mov edx, dword [ebp - 0xb8]
test edx, edx
je 0x554afc
jle 0x554b09
mov dword [esi + 0x144], edx
cmp byte [ebp - 0xb1], al
jne 0x554995
cmp byte [esi + 0x3c2], al
je 0x554995
cmp dword [esi + 0x48a4], eax
jne 0x5548fb
mov eax, dword [esi + 0x4b8]
add eax, eax
push eax
call dword [0x65ede0]
add esp, 4
mov dword [esi + 0x48a4], eax
test eax, eax
jne 0x5548fb
push str.Failed_to_alloc_scratch_buffer_
push esi
call fcn.00543790
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
cmp dword [ebp - 0xb8], ecx
jle 0x554977
nop word [eax + eax]
mov eax, dword [esi + 0x148]
mov bl, byte [edx + eax]
mov eax, dword [esi + 0x48a4]
cmp bl, 0xa
jne 0x554964
mov byte [eax + ecx], 0xd
inc ecx
mov eax, dword [esi + 0x48a4]
mov byte [ecx + eax], bl
cmp byte [esi + 0x3c2], 0
jne 0x554967
mov edi, dword [esi + 0x4b38]
mov eax, edi
mov ebx, dword [esi + 0x4b3c]
and eax, ebx
cmp eax, 0xffffffff
je 0x554967
add edi, 1
mov dword [esi + 0x4b38], edi
adc ebx, 0
mov dword [esi + 0x4b3c], ebx
jmp 0x554967
mov byte [eax + ecx], bl
inc edx
inc ecx
cmp edx, dword [ebp - 0xb8]
jl 0x554910
mov ebx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
cmp ecx, edx
je 0x554995
mov eax, dword [esi + 0x48a4]
mov edx, ecx
mov dword [esi + 0x148], eax
mov dword [esi + 0x144], ecx
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x30000
je 0x5549b3
mov ecx, ebx
call fcn.00564c20
test eax, eax
jne 0x554ba1
mov eax, dword [ebx + 0x2b8]
xor ecx, ecx
cmp eax, dword [ebx + 0x1ac]
lea eax, [ebp - 0xb0]
push eax
push dword [esi + 0x144]
sete cl
mov dword [ebp - 0xb0], 0
push dword [esi + 0x148]
push ecx
mov eax, dword [ebx + ecx*4 + 0x1c4]
push ebx
call eax
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x554a0e
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x554b39
cmp eax, 0x51
jne 0x554ba1
xor edi, edi
cmp byte [esi + 0x4f8], 0
je 0x554a9f
cmp byte [esi + 0x4e1], 0
mov ecx, dword [esi + 0x148]
mov dword [ebp - 0xbc], ecx
je 0x554a8e
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x554a8e
push eax
push 0x635f64
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xac]
push 0xa0
push eax
call sym.PayClient.exe_curl_msnprintf
lea ecx, [ebp - 0xac]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x554a67
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
xor edx, edx
mov ecx, esi
call fcn.00544140
add esp, 8
test eax, eax
jne 0x554a9f
mov ecx, dword [ebp - 0xbc]
push edi
push ecx
mov edx, 4
mov ecx, esi
call fcn.00544140
add esp, 8
mov eax, edi
cdq
add dword [esi + 0x98], eax
mov eax, dword [esi + 0x98]
adc dword [esi + 0x9c], edx
mov ecx, dword [esi + 0x9c]
cmp eax, dword [esi + 0x4b38]
jne 0x554adf
cmp ecx, dword [esi + 0x4b3c]
jne 0x554adf
push str.We_are_completely_uploaded_and_fine_n
push esi
mov byte [esi + 0x138], 1
call fcn.00543710
add esp, 8
mov eax, dword [esi + 0x144]
cmp eax, edi
je 0x554b4f
sub eax, edi
add dword [esi + 0x148], edi
mov dword [esi + 0x144], eax
jmp 0x554b89
test byte [esi + 0x134], 0x20
jne 0x554b9f
and dword [esi + 0x134], 0xfffffffd
cmp byte [ebx + 0x277], 0
je 0x554b9f
mov ecx, ebx
call fcn.00553850
test eax, eax
je 0x554b9f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
mov eax, 0x37
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x138], 0
lea eax, [esi + 0x858]
mov dword [esi + 0x148], eax
mov dword [esi + 0x144], 0
je 0x554b89
and dword [esi + 0x134], 0xfffffffd
cmp byte [ebx + 0x277], 0
je 0x554b89
mov ecx, ebx
call fcn.00553850
test eax, eax
jne 0x554ba1
push dword [esi + 0x9c]
mov ecx, esi
push dword [esi + 0x98]
call fcn.00557b20
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8427
mov esp, ebp
pop ebp
ret