Function at 0x410760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d72e
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x544], ecx
push 0
mov eax, dword [ebp - 0x544]
mov ecx, dword [eax + 0x380]
mov edx, dword [ebp - 0x544]
mov eax, dword [edx + 0x380]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xec]
call eax
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
push ecx
push 0
mov edx, dword [ebp - 0x544]
push edx
push 0x410f80
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x138], eax
mov dword [ebp - 0xe8], 0
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x544]
mov edx, dword [ecx + 0x378]
mov eax, dword [ebp - 0x544]
mov ecx, dword [eax + 0x378]
mov edx, dword [edx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0x544]
mov eax, dword [edx + 0x37c]
mov ecx, dword [ebp - 0x544]
mov ecx, dword [ecx + 0x37c]
mov edx, dword [eax]
mov eax, dword [edx + 0x28]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.004394d5
movzx ecx, al
test ecx, ecx
je 0x4108b6
push 0x47441c
mov ecx, dword [ebp - 0x544]
call fcn.004106f0
push 1
mov edx, dword [ebp - 0x544]
mov eax, dword [edx + 0x380]
mov ecx, dword [ebp - 0x544]
mov ecx, dword [ecx + 0x380]
mov edx, dword [eax]
mov eax, dword [edx + 0xec]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.00439431
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00439431
jmp 0x410ade
lea ecx, [ebp - 0xe4]
call fcn.004394d5
movzx ecx, al
test ecx, ecx
je 0x410922
push 0x47442c
mov ecx, dword [ebp - 0x544]
call fcn.004106f0
push 1
mov edx, dword [ebp - 0x544]
mov eax, dword [edx + 0x380]
mov ecx, dword [ebp - 0x544]
mov ecx, dword [ecx + 0x380]
mov edx, dword [eax]
mov eax, dword [edx + 0xec]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.00439431
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00439431
jmp 0x410ade
mov byte [ebp - 0x94], 0
push 0x63
push 0
lea ecx, [ebp - 0x93]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0xe4]
call fcn.00439451
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x540], esp
push eax
call fcn.00401440
mov dword [ebp - 0x548], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401090
add esp, 0x20
mov dword [ebp - 0x54c], eax
mov ecx, dword [ebp - 0x54c]
mov dword [ebp - 0x550], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x550]
call fcn.004016d0
push eax
mov edx, dword [ebp - 0x544]
movzx eax, byte [edx + 0x494]
push eax
call sub.HSChipServerChat.dll_DEV_GetPasswd
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401550
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x544]
movzx eax, byte [edx + 0x494]
push eax
call sub.HSChipServerChat.dll_DEV_VerifyPasswd
add esp, 8
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x410a6d
push 0x474438
lea ecx, [ebp - 0x53c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [ebp - 0x53c]
push edx
mov ecx, dword [ebp - 0x544]
call fcn.004106f0
push 0
mov eax, dword [ebp - 0x544]
movzx ecx, byte [eax + 0x494]
push ecx
call fcn.0040f2b0
add esp, 8
push 1
mov edx, dword [ebp - 0x544]
mov eax, dword [edx + 0x380]
mov ecx, dword [ebp - 0x544]
mov ecx, dword [ecx + 0x380]
mov edx, dword [eax]
mov eax, dword [edx + 0xec]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.00439431
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00439431
jmp 0x410ade
push 1
mov ecx, dword [ebp - 0x544]
movzx edx, byte [ecx + 0x494]
push edx
call fcn.0040f2b0
add esp, 8
push 0x64
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x544]
call fcn.00410d40
push 1
mov ecx, dword [ebp - 0x544]
mov edx, dword [ecx + 0x380]
mov eax, dword [ebp - 0x544]
mov ecx, dword [eax + 0x380]
mov edx, dword [edx]
mov eax, dword [edx + 0xec]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.00439431
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00439431
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret