Function at 0x42ddc0
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.0042c2d0
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 0x42ded9
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
call edi
and eax, 0xff
cmp eax, 0x80
jl 0x42de38
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 0x42de50
push esi
call edi
jmp 0x42de59
test eax, eax
jne 0x42de59
call fcn.0045f5a0
add esi, 4
je 0x42ded7
cmp byte [esi], 0
je 0x42ded7
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.0042e530
test eax, eax
jne 0x42de9d
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0042ce40
test eax, eax
je 0x42e25a
cmp byte [ebx + 0x128], 0
lea ecx, [esp + 0x14]
jne 0x42ded2
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.0049ceb0
mov esp, ebp
pop ebp
ret 4
call fcn.00401420
xor edi, edi
cmp byte [esp + 0x27], 0
je 0x42deaf
cmp byte [ebx + 0xa0], 0
mov dword [esp + 0x14], edi
je 0x42df17
mov eax, dword [ebx + 0xf0]
cmp eax, edi
je 0x42defe
add eax, 4
cmp eax, edi
jne 0x42df03
mov eax, 0x4cb498
push eax
push str._s_auth_create_nameanon
lea ecx, [esp + 0x1c]
call fcn.00401480
add esp, 8
jmp 0x42df6c
lea edx, [esp + 0x18]
push edx
call fcn.00447610
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, edi
je 0x42df35
add eax, 4
mov ecx, eax
cmp eax, edi
jne 0x42df3a
mov ecx, 0x4cb498
mov eax, dword [ebx + 0xf0]
cmp eax, edi
je 0x42df4b
add eax, 4
cmp eax, edi
jne 0x42df50
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 0x42dfc2
movsd xmm0, qword [ebx + 0x98]
ucomisd xmm0, xmm1
lahf
movsd qword [esp + 0x18], xmm0
test ah, 0x44
jnp 0x42dfc2
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 0x42e000
add eax, 4
cmp eax, edi
je 0x42e000
cmp byte [eax], 0
je 0x42e000
mov eax, dword [ebx + 0x8c]
cmp eax, edi
je 0x42dfe9
add eax, 4
cmp eax, edi
jne 0x42dfee
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.0043c500
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x42e027
lea edx, [eax + 4]
cmp edx, edi
jne 0x42e02c
mov edx, 0x4cb498
mov dword [esp + 0x30], edi
cmp edx, edi
je 0x42e055
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e040
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x38]
push ecx
call fcn.0043c500
push str.POST
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
call fcn.004613e0
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 0x42e0bc
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.0049ceb0
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 0x4cf4b0
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 0x4cd25c
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 0x42e159
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0x80
jl 0x42e159
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 0x4cf4b4
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 0x42e1ba
lea esi, [edi + 4]
jmp 0x42e1bc
xor esi, esi
push 4
push str.http
push esi
call fcn.0049cebf
add esp, 0xc
test eax, eax
jne 0x42e227
push 0x567098
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, 0x30
call fcn.0045f460
mov ecx, eax
test ecx, ecx
je 0x42e1fa
mov eax, esi
push 0
mov esi, ecx
call fcn.00448610
mov esi, eax
jmp 0x42e1fc
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 0x43cff0
call fcn.0049dc4e
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.0042c650
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.0049ceb0
mov esp, ebp
pop ebp
ret 4