Function at 0x424056
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 8
call fcn.004acf07
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4bf219
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
call fcn.0042490c
mov eax, 0x4c05e6
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b82
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4240b1
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4240c4
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4240ea
push ebx
call fcn.004acf0d
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4240fe
push ebx
call fcn.004acf0d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x4c05f8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b82
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x424126
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x424139
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42415f
push ebx
call fcn.004acf0d
add esp, 4
push dword [ebp - 4]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x424185
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x424198
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x24c
call fcn.004b0870
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4241be
push ebx
call fcn.004acf0d
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x424378
mov eax, 0x4c0611
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b82
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4241ec
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4241ff
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x424225
push ebx
call fcn.004acf0d
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x424239
push ebx
call fcn.004acf0d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x4c05f8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b82
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x424261
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x424274
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42429a
push ebx
call fcn.004acf0d
add esp, 4
push dword [ebp - 4]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4242c0
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4242d3
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x24c
call fcn.004b0870
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4242f9
push ebx
call fcn.004acf0d
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x424378
mov eax, 0x4c0623
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b82
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x424327
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42433a
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x424360
push ebx
call fcn.004acf0d
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x424374
push ebx
call fcn.004acf0d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x4c0635
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b82
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42439c
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4243af
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4243d5
push ebx
call fcn.004acf0d
add esp, 4
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
call fcn.00425ea9
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x424400
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 8]
call fcn.004043c0
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4245a7
mov ebx, dword [ebp - 8]
call fcn.00402cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x424446
push 0x3f7
push 0x414ead0
push 4
call fcn.004acf13
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x424463
push 0x3f7
push 0x414ead0
push 1
call fcn.004acf13
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0042672b
mov dword [ebp - 0x14], eax
mov eax, 0x4c0648
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00425b82
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42449c
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4244af
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4244d5
push ebx
call fcn.004acf0d
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0040334d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x424502
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x424512
push ebx
call fcn.004acf0d
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x42459f
mov ebx, dword [ebp - 8]
call fcn.00402cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x424543
push 0x475
push 0x414ead0
push 4
call fcn.004acf13
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x424560
push 0x475
push 0x414ead0
push 1
call fcn.004acf13
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov dword [0x522db1], eax
push dword [ebp + 0x20]
push dword [0x522db1]
call fcn.00426c04
push 1
push dword [ebp + 0x14]
push 1
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
push dword [0x522db1]
call fcn.00426c49
pop eax
pop ebx
pop ecx
jmp 0x424411
add esp, 0xc
cmp dword [0x522db1], 0
jg 0x424660
mov eax, 0x4c0662
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b82
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4245db
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4245ee
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x424614
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, 6
call fcn.0040321b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42463d
mov eax, 0x4bf20b
push eax
push 4
mov ebx, 0x300
call fcn.004ae530
add esp, 0x34
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x424660
push ebx
call fcn.004acf0d
add esp, 4
mov dword [ebp - 0x10], esp
push 0xa
push dword [0x522db1]
xor eax, eax
call dword [0x522fe1]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x424694
push 0x649
push 0x414ead0
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x10], esp
push dword [0x522db1]
xor eax, eax
call dword [0x522fe5]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4246c3
push 0x66c
push 0x414ead0
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x10], esp
push 0x900a8
push 0xffffffec
push dword [0x522db1]
xor eax, eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4246fc
push 0x686
push 0x414ead0
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x10], esp
push 0x9c000000
push 0xfffffff0
push dword [0x522db1]
xor eax, eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x424735
push 0x6b2
push 0x414ead0
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x10], esp
push 2
push 0xd2
push 0
push dword [0x522db1]
xor eax, eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x424773
push 0x6de
push 0x414ead0
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x10], esp
mov eax, 0x4c0676
test eax, eax
je 0x424782
add eax, 8
push eax
push dword [0x522db1]
xor eax, eax
call dword [0x522fe9]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4247af
push 0x722
push 0x414ead0
push 6
call fcn.004acf13
add esp, 0xc
mov eax, 0x4c05f8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b82
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4247d3
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4247e6
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42480c
push ebx
call fcn.004acf0d
add esp, 4
push dword [ebp - 4]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x424832
push ebx
call fcn.004acf0d
add esp, 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x1c]
push dword [0x522db1]
call fcn.00426db4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x424854
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_getsockname
push 0
push 0x427112
push 1
mov ebx, 0x9dc
call fcn.004aeba0
add esp, 0x10
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 0x18]
push 1
mov ebx, 0x9dc
call fcn.004aeba0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4248de
push 0x818
push 0x414ead0
push 6
call fcn.004acf13
add esp, 0xc
mov eax, dword [0x522db1]
jmp 0x4248e8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4248f9
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004acf0d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c