Function at 0x41fa90
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x522afc
push eax
mov eax, 0x1824
mov dword fs:[0], esp
call fcn.004f10d0
mov dl, byte [0x567444]
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], dl
mov byte [esp + 0x830], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x831]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x560]
test eax, eax
jne 0x41fb1c
push 0x56dc28
push 0x202
call fcn.004fde66
push 0
push 1
push 2
call fcn.004fde60
mov dword [ebp + 0x564], eax
mov dword [ebp + 0x560], 1
mov esi, 2
push 0xd903
mov word [0x56de00], si
call fcn.004fde54
mov word [0x56de02], ax
mov eax, dword [esp + 0x1840]
push eax
call fcn.004fde72
mov dword [0x56de04], eax
mov ecx, dword [ebp + 0x564]
push 0x10
push 0x56de00
push ecx
call fcn.004fde6c
cmp eax, 0xffffffff
jne 0x41fc40
call fcn.004fde5a
push 0
lea edx, [esp + 0x18]
push 0
push edx
push 0x800
push eax
push 0
push 0x1100
call dword [0x534420]
mov eax, dword [0x565124]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
lea esi, [ebp + 0x724]
push ecx
mov ecx, esi
mov dword [esp + 0x183c], 0
call fcn.0050686e
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00509a80
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x183c], 1
call fcn.00509924
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1838], 0
call fcn.005097eb
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
call fcn.00508dd0
mov eax, dword [esp + 0x14]
push eax
call dword [0x534424]
mov ecx, dword [ebp + 0x740]
mov esi, dword [0x534668]
push 0
push 0
push 0xba
push ecx
call esi
mov edx, dword [ebp + 0x740]
dec eax
push eax
push 0
push 0xb6
push edx
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1838], 0xffffffff
call fcn.005097eb
xor al, al
jmp 0x41ff22
mov eax, dword [0x565124]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1838], esi
push ecx
lea ecx, [ebp + 0x670]
call fcn.0050686e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x1844]
mov edx, ecx
mov esi, edi
mov edi, 0x56de28
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x56de28
and ecx, 3
push str.auth_____s_____s
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
push ecx
call fcn.004f0f4c
add esp, 0x10
lea edx, [esp + 0x30]
push 0
push edx
call dword [0x53423c]
mov ecx, dword [ebp + 0x564]
inc eax
push eax
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.004fde2a
mov eax, dword [ebp + 0x564]
push 0
lea edx, [esp + 0x34]
push 0x800
push edx
push eax
call fcn.004fde30
lea ecx, [esp + 0x830]
lea edi, [ebp + 0x724]
push 0x800
push ecx
mov ecx, edi
call fcn.00508df7
mov esi, dword [0x534470]
lea edx, [esp + 0x830]
push 0x55f300
push edx
call esi
push 0x56ddd0
call dword [0x534438]
lea eax, [esp + 0x20]
push 6
push eax
push str.HH:mm
push 0x56ddd0
push 0x40000000
push 0x400
call dword [0x53443c]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x830]
push ecx
push edx
call esi
lea eax, [esp + 0x830]
push 0x55ebf8
push eax
call esi
lea ecx, [esp + 0x30]
lea edx, [esp + 0x830]
push ecx
push edx
call esi
lea eax, [esp + 0x830]
mov ecx, edi
push eax
call fcn.00508dd0
lea ecx, [esp + 0x30]
push 4
lea edx, [esp + 0x34]
push ecx
push edx
call dword [0x534434]
lea eax, [esp + 0x30]
push 0x55f570
push eax
call dword [0x534428]
test eax, eax
jne 0x41fdf4
mov ecx, dword [ebp + 0x564]
mov dword [ebp + 0x560], eax
push ecx
call fcn.004fde24
call fcn.004fde42
mov edx, dword [ebp + 0x740]
mov esi, dword [0x534668]
push 0
push 0
push 0xba
push edx
call esi
dec eax
push eax
mov eax, dword [ebp + 0x740]
push 0
push 0xb6
push eax
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1838], 0xffffffff
call fcn.005097eb
xor al, al
jmp 0x41ff22
mov ecx, dword [ebp + 0x564]
push 0
push 8
push str.connect
push ecx
call fcn.004fde2a
mov eax, dword [ebp + 0x564]
push 0
lea edx, [esp + 0x34]
push 0x800
push edx
push eax
call fcn.004fde30
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00509859
push 0
lea edx, [esp + 0x1c]
push 0
push edx
mov ecx, ebp
mov byte [esp + 0x1844], 3
call fcn.0041f5b0
test al, al
je 0x41fec0
lea eax, [esp + 0x830]
push 0x55f300
push eax
call esi
lea ecx, [esp + 0x20]
lea edx, [esp + 0x830]
push ecx
push edx
call esi
lea eax, [esp + 0x30]
lea ecx, [esp + 0x830]
push eax
push ecx
call esi
mov eax, dword [0x56ddc8]
lea edx, [esp + 0x1030]
push 0x800
push edx
lea ecx, [eax + 0x724]
call fcn.00508df7
lea ecx, [esp + 0x830]
lea edx, [esp + 0x1030]
push ecx
push edx
call esi
mov ecx, dword [0x56ddc8]
lea eax, [esp + 0x1030]
push eax
add ecx, 0x724
call fcn.00508dd0
mov edx, dword [ebp + 0x740]
mov esi, dword [0x534668]
push 0
push 0
push 0xba
push edx
call esi
dec eax
push eax
mov eax, dword [ebp + 0x740]
push 0
push 0xb6
push eax
call esi
push 0
push 0
push 0x41f930
call fcn.004f1752
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x1838], 2
call fcn.005097eb
lea ecx, [esp + 0x10]
mov dword [esp + 0x1838], 0xffffffff
call fcn.005097eb
mov al, 1
mov ecx, dword [esp + 0x1830]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1830
ret 8