Function at 0x42db40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x874
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
mov ebx, dword [ebp + 8]
mov al, byte [ebx + 0xa2]
push esi
push edi
xor edi, edi
push edi
mov byte [esp + 0x2b], al
mov byte [ebx + 0xa2], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
call fcn.0042c040
lea ecx, [ebx + 0x28]
lea edx, [esp + 0x18]
call fcn.004024a0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], esi
cmp esi, edi
je 0x42dc59
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
call edi
and eax, 0xff
cmp eax, 0x80
jl 0x42dbb8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x42dbd0
push esi
call edi
jmp 0x42dbd9
test eax, eax
jne 0x42dbd9
call fcn.0045f130
add esi, 4
je 0x42dc57
cmp byte [esi], 0
je 0x42dc57
lea ecx, [esp + 0x26]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
mov dword [esp + 0x24], 0
mov byte [esp + 0x36], 0
call fcn.0042e2b0
test eax, eax
jne 0x42dc1d
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0042cbc0
test eax, eax
je 0x42dfda
cmp byte [ebx + 0x128], 0
lea ecx, [esp + 0x14]
jne 0x42dc52
call fcn.00401420
lea ecx, [esp + 0x28]
call fcn.00401420
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.0049ca20
mov esp, ebp
pop ebp
ret 4
call fcn.00401420
xor edi, edi
cmp byte [esp + 0x27], 0
je 0x42dc2f
cmp byte [ebx + 0xa0], 0
mov dword [esp + 0x14], edi
je 0x42dc97
mov eax, dword [ebx + 0xf0]
cmp eax, edi
je 0x42dc7e
add eax, 4
cmp eax, edi
jne 0x42dc83
mov eax, 0x4cb498
push eax
push str._s_auth_create_nameanon
lea ecx, [esp + 0x1c]
call fcn.00401480
add esp, 8
jmp 0x42dcec
lea edx, [esp + 0x18]
push edx
call fcn.004472f0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, edi
je 0x42dcb5
add eax, 4
mov ecx, eax
cmp eax, edi
jne 0x42dcba
mov ecx, 0x4cb498
mov eax, dword [ebx + 0xf0]
cmp eax, edi
je 0x42dccb
add eax, 4
cmp eax, edi
jne 0x42dcd0
mov eax, 0x4cb498
push ecx
push eax
push str._s_auth_create_name_s
lea ecx, [esp + 0x20]
call fcn.00401480
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00401420
movsd xmm0, qword [ebx + 0x90]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
movsd qword [esp + 0x30], xmm0
test ah, 0x44
jnp 0x42dd42
movsd xmm0, qword [ebx + 0x98]
ucomisd xmm0, xmm1
lahf
movsd qword [esp + 0x18], xmm0
test ah, 0x44
jnp 0x42dd42
fld qword [esp + 0x18]
sub esp, 0x10
fstp qword [esp + 8]
lea esi, [esp + 0x24]
fld qword [esp + 0x40]
fstp qword [esp]
push str.lat_flng_f
call fcn.00401490
add esp, 0x14
mov eax, dword [ebx + 0x8c]
cmp eax, edi
je 0x42dd80
add eax, 4
cmp eax, edi
je 0x42dd80
cmp byte [eax], 0
je 0x42dd80
mov eax, dword [ebx + 0x8c]
cmp eax, edi
je 0x42dd69
add eax, 4
cmp eax, edi
jne 0x42dd6e
mov eax, 0x4cb498
push eax
push str.promo_s
lea esi, [esp + 0x1c]
call fcn.00401490
add esp, 8
push edi
push 0x4cb498
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edi
call fcn.0043c200
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x42dda7
lea edx, [eax + 4]
cmp edx, edi
jne 0x42ddac
mov edx, 0x4cb498
mov dword [esp + 0x30], edi
cmp edx, edi
je 0x42ddd5
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ddc0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x38]
push ecx
call fcn.0043c200
push str.POST
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
call fcn.00460f70
add esp, 0xc
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00401420
lea ecx, [esp + 0x18]
call fcn.00401420
lea ecx, [esp + 0x2c]
cmp esi, edi
je 0x42de3c
call fcn.00401420
lea ecx, [esp + 0x14]
call fcn.00401420
lea ecx, [esp + 0x28]
call fcn.00401420
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.0049ca20
mov esp, ebp
pop ebp
ret 4
push ecx
lea esi, [esp + 0x45c]
call fcn.00403e50
lea edx, [esp + 0x18]
push edx
push ecx
mov eax, esi
push 0x4cf4a0
push eax
lea esi, [esp + 0x4c]
call fcn.00403f90
add esp, 4
mov ecx, eax
call fcn.00403f20
lea ecx, [esp + 0x18]
lea edi, [ebx + 0x88]
push ecx
call fcn.00401250
lea ecx, [esp + 0x18]
call fcn.00401420
mov edx, esi
push edx
call fcn.00404120
lea eax, [esp + 0x18]
push eax
push ecx
push 0x4cd24c
lea ecx, [esp + 0x464]
push ecx
lea esi, [esp + 0x4c]
call fcn.00403f90
add esp, 4
mov ecx, eax
call fcn.00403f20
mov esi, dword [esp + 0x18]
mov edi, esi
mov dword [esp + 0x30], edi
test esi, esi
je 0x42ded9
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0x80
jl 0x42ded9
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esp + 0x18]
call fcn.00401420
lea edx, [esp + 0x3c]
push edx
call fcn.00404120
lea eax, [esp + 0x18]
push eax
push ecx
push 0x4cf4a4
lea ecx, [esp + 0x464]
push ecx
lea esi, [esp + 0x4c]
call fcn.00403f90
add esp, 4
mov ecx, eax
call fcn.00403f20
lea esi, [ebx + 0x40]
lea eax, [esp + 0x18]
call fcn.004023f0
lea ecx, [esp + 0x18]
call fcn.00401420
lea edx, [esp + 0x3c]
push edx
call fcn.00404120
test edi, edi
je 0x42df3a
lea esi, [edi + 4]
jmp 0x42df3c
xor esi, esi
push 4
push str.http
push esi
call fcn.0049ca2f
add esp, 0xc
test eax, eax
jne 0x42dfa7
push 0x566aa8
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, 0x30
call fcn.0045eff0
mov ecx, eax
test ecx, ecx
je 0x42df7a
mov eax, esi
push 0
mov esi, ecx
call fcn.004482f0
mov esi, eax
jmp 0x42df7c
xor esi, esi
lea edi, [esi + 0x10]
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0
push 0x43cce0
call fcn.0049d7be
add esp, 0xc
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx + 0x88]
lea esi, [ebx + 0x28]
call fcn.004023f0
push ebx
call fcn.0042c3c0
lea ecx, [esp + 0x30]
call fcn.00401420
lea eax, [esp + 0x458]
push eax
call fcn.00404120
lea ecx, [esp + 0x2c]
call fcn.00401420
lea ecx, [esp + 0x14]
call fcn.00401420
lea ecx, [esp + 0x28]
call fcn.00401420
mov ecx, dword [esp + 0x87c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049ca20
mov esp, ebp
pop ebp
ret 4