Function at 0x41f33c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x30
call fcn.0043f204
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 0x20], 0
jne 0x41f391
mov eax, 0x4650c4
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f38b
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 0x4650cf
mov ecx, 2
call fcn.004027a3
add esp, 8
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41f3be
mov eax, 0x46430b
push eax
push 1
mov ebx, 0x24c
call fcn.004434e0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f3e4
push ebx
call fcn.0043f20a
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x41f487
mov eax, str.msyhbd.ttf
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f406
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 0x4650cf
mov ecx, 2
call fcn.004027a3
add esp, 8
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41f439
mov eax, 0x46430b
push eax
push 1
mov ebx, 0x24c
call fcn.004434e0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f45f
push ebx
call fcn.0043f20a
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x41f487
mov eax, str.simhei.ttf
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f481
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
cmp dword [ebp + 0x28], 0
jne 0x41f4af
mov eax, str.C:WindowsFonts_simsun.ttc
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f4a9
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x41f4c4
mov eax, 0x46430b
push eax
push 1
mov ebx, 0x24c
call fcn.004434e0
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41f555
mov eax, str.C:WindowsFontsmsyhbd.ttf
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f4fc
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x41f517
mov eax, 0x46430b
push eax
push 1
mov ebx, 0x24c
call fcn.004434e0
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41f555
mov eax, str.C:WindowsFonts_simhei.ttf
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f54f
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x30
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xc8
call fcn.004404c0
add esp, 0x1c
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
call fcn.0041fae7
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
call fcn.0041fb3b
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
call fcn.0041fb8f
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0xc], ebx
call fcn.0041fbe3
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f632
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x28
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x41f65f
push eax
mov ebx, eax
call fcn.0040133a
inc eax
push eax
call fcn.0043f204
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f672
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x4220ff
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x4fede4]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f6ac
push 6
call fcn.0043f1f8
add esp, 4
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f6d5
push 6
call fcn.0043f1f8
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41f759
push 0xa0000101
push 0
push 0x46514b
push 1
mov ebx, 0x168
call fcn.00440550
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, 6
call fcn.004014eb
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41f72c
mov eax, 0x46430b
push eax
push 4
mov ebx, 0x300
call fcn.00440d90
add esp, 0x34
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f74f
push ebx
call fcn.0043f20a
add esp, 4
push 0
call fcn.0043f1e6
add esp, 4
push 0x80000301
push 0
push 0x8000000
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 8
push 3
mov ebx, 0xc8
call fcn.004404c0
add esp, 0x28
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
add ebx, 0x28
mov dword [ebp - 0x10], ebx
push 0
mov ebx, 0x2d4
call fcn.004434f0
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x2d8
call fcn.00443500
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
push 0
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 0
push dword [ebp - 8]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0
push 0
push connect
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4fede8]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41f821
push 6
call fcn.0043f1f8
add esp, 4
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
xor eax, eax
call dword [0x4fedec]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x41f853
push 6
call fcn.0043f1f8
add esp, 4
mov dword [ebp - 0xc], esp
push 0xa
mov ebx, dword [ebp + 0x18]
push dword [ebx]
xor eax, eax
call dword [0x4fedf0]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f87c
push 6
call fcn.0043f1f8
add esp, 4
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 0x18]
push dword [ebx]
xor eax, eax
call dword [0x4fedf4]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f8a0
push 6
call fcn.0043f1f8
add esp, 4
mov dword [ebp - 0xc], esp
push 0xffffffec
mov ebx, dword [ebp + 0x18]
push dword [ebx]
xor eax, eax
call dword [0x4fedf8]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f8c9
push 6
call fcn.0043f1f8
add esp, 4
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 0x80000
push 2
mov ebx, 0xc8
call fcn.004404c0
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push 0xffffffec
mov ebx, dword [ebp + 0x18]
push dword [ebx]
xor eax, eax
call dword [0x4fedfc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41f91e
push 6
call fcn.0043f1f8
add esp, 4
mov dword [ebp - 0xc], esp
push 2
push 0xff
push 0
mov ebx, dword [ebp + 0x18]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f951
push 6
call fcn.0043f1f8
add esp, 4
push connect
push 0
push dword [ebp + 0x40]
push 1
mov ebx, 0x9dc
call fcn.004413e0
add esp, 0x10
mov dword [0x4fea60], eax
mov dword [ebp - 0xc], esp
mov ebx, 0x46516b
call fcn.0040283f
push ebx
mov ebx, dword [ebp + 0x18]
push dword [ebx]
xor eax, eax
call dword [0x4fee00]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41f9a1
push 6
call fcn.0043f1f8
add esp, 4
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 0x4650cf
mov ecx, 2
call fcn.004027a3
add esp, 8
mov dword [ebp - 0xc], eax
push dword [ebp + 0x44]
push dword [ebp + 0x24]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call fcn.00421d1f
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f9e2
push ebx
call fcn.0043f20a
add esp, 4
cmp dword [ebp + 0x3c], 0
je 0x41fa21
push 1
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call fcn.00421eb5
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x41fa0d
jmp 0x41fa21
push 0
mov ebx, 0x350
call fcn.00442610
add esp, 4
jmp 0x41f9ec
push reloc.WS2_32.dll_getsockname
push 0
push 0x4223dd
push 1
mov ebx, 0x9dc
call fcn.004413e0
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x9dc
call fcn.004413e0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41faa1
push 6
call fcn.0043f1f8
add esp, 4
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
jmp 0x41faab
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41fac3
push ebx
call fcn.0043f20a
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41fad7
push ebx
call fcn.0043f20a
add esp, 4
pop ebx
call fcn.0043f20a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x40