Function at 0x40a1a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4733ba
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x30c
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.0044f9d0
lea edx, [ebx + 0x11c]
add esp, 0xc
cmp dword [edx + 0x14], 8
jb 0x40a1f4
mov edx, dword [edx]
lea ecx, [ebp - 0x3e0]
call fcn.00421fa0
lea ecx, [ebp - 0x494]
mov dword [ebp - 4], 0
call fcn.004262c0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x40a21d
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x3b0]
call fcn.00421fa0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x480]
cmp eax, 8
jb 0x40a24c
inc eax
lea ecx, [ebp - 0x494]
push eax
push dword [ebp - 0x494]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x480], 7
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x484], 0
mov word [ebp - 0x494], ax
call fcn.004265f0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x40a280
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x398]
call fcn.00421fa0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4a4]
cmp eax, 8
jb 0x40a2af
inc eax
lea ecx, [ebp - 0x4b8]
push eax
push dword [ebp - 0x4b8]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x4a4], 7
lea ecx, [ebp - 0x494]
mov dword [ebp - 0x4a8], 0
mov word [ebp - 0x4b8], ax
call fcn.00426410
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x40a2e3
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x350]
call fcn.00421fa0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x480]
cmp eax, 8
jb 0x40a312
inc eax
lea ecx, [ebp - 0x494]
push eax
push dword [ebp - 0x494]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x480], 7
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x484], 0
mov word [ebp - 0x494], ax
call fcn.004267c0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x40a346
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x380]
call fcn.00421fa0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4a4]
cmp eax, 8
jb 0x40a375
inc eax
lea ecx, [ebp - 0x4b8]
push eax
push dword [ebp - 0x4b8]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x4a4], 7
cmp dword [ebx + 0x190], 0x10
mov word [ebp - 0x4b8], ax
lea eax, [ebx + 0x17c]
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x498], eax
jb 0x40a3af
mov eax, dword [eax]
mov dword [ebp - 0x498], eax
cmp dword [ebx + 0x178], 0x10
lea eax, [ebx + 0x164]
mov dword [ebp - 0x49c], eax
jb 0x40a3cc
mov eax, dword [eax]
mov dword [ebp - 0x49c], eax
cmp dword [ebx + 0x160], 0x10
lea eax, [ebx + 0x14c]
mov dword [ebp - 0x4a0], eax
jb 0x40a3e9
mov eax, dword [eax]
mov dword [ebp - 0x4a0], eax
cmp dword [ebx + 0x148], 0x10
lea eax, [ebx + 0x134]
mov dword [ebp - 0x47c], eax
jb 0x40a406
mov eax, dword [eax]
mov dword [ebp - 0x47c], eax
push dword [ebp - 0x498]
cmp dword [ebp - 0x3cc], 0x10
lea edi, [ebp - 0x3e0]
push dword [ebp - 0x49c]
cmovae edi, dword [ebp - 0x3e0]
lea esi, [ebp - 0x350]
cmp dword [ebp - 0x33c], 0x10
lea edx, [ebp - 0x398]
push dword [ebp - 0x4a0]
cmovae esi, dword [ebp - 0x350]
lea ecx, [ebp - 0x3b0]
push dword [ebp - 0x47c]
cmp dword [ebp - 0x384], 0x10
lea eax, [ebp - 0x380]
push edi
cmovae edx, dword [ebp - 0x398]
cmp dword [ebp - 0x39c], 0x10
push esi
cmovae ecx, dword [ebp - 0x3b0]
cmp dword [ebp - 0x36c], 0x10
push edx
cmovae eax, dword [ebp - 0x380]
push ecx
push eax
lea eax, [ebp - 0x320]
push str._ct_:__s___n_:__s___ui_:__s___v_:__s___url_:__s___type_:__s___m_:__s___bt_:__s___lng_:__s_
push eax
call fcn.0040b2c0
add esp, 0x2c
lea ecx, [ebp - 0x478]
push 1
call fcn.00423900
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x320], 0
mov dword [ebp - 0x480], 0xf
mov dword [ebp - 0x484], 0
mov byte [ebp - 0x494], 0
jne 0x40a4d4
xor ecx, ecx
jmp 0x40a4e9
lea ecx, [ebp - 0x320]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a4e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x494]
call fcn.00402f10
lea eax, [ebp - 0x494]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x478]
call fcn.00424740
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x480]
cmp eax, 0x10
jb 0x40a53b
inc eax
lea ecx, [ebp - 0x494]
push eax
push dword [ebp - 0x494]
call fcn.004031a0
push 6
push str.f215
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x480], 0xf
mov dword [ebp - 0x484], 0
mov byte [ebp - 0x494], 0
mov dword [ebp - 0x324], 0xf
mov dword [ebp - 0x328], 0
mov byte [ebp - 0x338], 0
call fcn.00402f10
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x3c8]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x338]
call fcn.00404970
push 1
push str._nv
lea ecx, [ebp - 0x350]
call fcn.00404840
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x350]
call fcn.00404970
lea ecx, [ebx + 0x70]
lea eax, [ebp - 0x350]
cmp ecx, eax
je 0x40a5dc
push 0xffffffffffffffff
push 0
push eax
call fcn.00403010
cmp dword [ebp - 0x324], 0x10
lea eax, [ebp - 0x338]
mov edi, dword [ebp - 0x328]
lea esi, [ebx + 0x60]
cmovae eax, dword [ebp - 0x338]
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x40a63d
test edi, edi
je 0x40a63d
mov eax, dword [esi + 0x34]
test eax, eax
je 0x40a61e
push eax
call fcn.00436679
add esp, 4
mov dword [esi + 0x34], 0
push edi
call fcn.00436904
add esp, 4
mov dword [esi + 0x34], eax
push edi
push dword [ebp - 0x47c]
push eax
call fcn.0044f450
add esp, 0xc
mov dword [esi + 0x38], edi
push 0x22
xor eax, eax
mov dword [ebx + 0xf8], 2
push 0x489448
lea ecx, [ebp - 0x368]
mov dword [ebx + 0xfc], 0
mov dword [ebp - 0x354], 7
mov dword [ebp - 0x358], 0
mov word [ebp - 0x368], ax
call fcn.00402db0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x368]
cmp dword [ebp - 0x354], 8
mov ecx, esi
push ebx
cmovae eax, dword [ebp - 0x368]
push 0x40ac20
push eax
call fcn.00405820
push 0
push 0
push esi
push 0x405d80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x354]
cmp eax, 8
jb 0x40a6db
inc eax
lea ecx, [ebp - 0x368]
push eax
push dword [ebp - 0x368]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x354], 7
mov word [ebp - 0x368], ax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x358], 0
cmp eax, 0x10
jb 0x40a716
inc eax
lea ecx, [ebp - 0x338]
push eax
push dword [ebp - 0x338]
call fcn.004031a0
mov eax, dword [ebp - 0x3b4]
mov dword [ebp - 0x324], 0xf
mov dword [ebp - 0x328], 0
mov byte [ebp - 0x338], 0
cmp eax, 0x10
jb 0x40a74f
inc eax
lea ecx, [ebp - 0x3c8]
push eax
push dword [ebp - 0x3c8]
call fcn.004031a0
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x3b4], 0xf
mov dword [ebp - 0x3b8], 0
mov byte [ebp - 0x3c8], 0
call fcn.00408de0
mov eax, dword [ebp - 0x36c]
cmp eax, 0x10
jb 0x40a793
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.004031a0
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x36c], 0xf
mov dword [ebp - 0x370], 0
mov byte [ebp - 0x380], 0
cmp eax, 0x10
jb 0x40a7cc
inc eax
lea ecx, [ebp - 0x350]
push eax
push dword [ebp - 0x350]
call fcn.004031a0
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x33c], 0xf
mov dword [ebp - 0x340], 0
mov byte [ebp - 0x350], 0
cmp eax, 0x10
jb 0x40a805
inc eax
lea ecx, [ebp - 0x398]
push eax
push dword [ebp - 0x398]
call fcn.004031a0
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x384], 0xf
mov dword [ebp - 0x388], 0
mov byte [ebp - 0x398], 0
cmp eax, 0x10
jb 0x40a83e
inc eax
lea ecx, [ebp - 0x3b0]
push eax
push dword [ebp - 0x3b0]
call fcn.004031a0
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x39c], 0xf
mov dword [ebp - 0x3a0], 0
mov byte [ebp - 0x3b0], 0
cmp eax, 0x10
jb 0x40a877
inc eax
lea ecx, [ebp - 0x3e0]
push eax
push dword [ebp - 0x3e0]
call fcn.004031a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004363c8
mov esp, ebp
pop ebp
ret