Function at 0x421130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x30
call fcn.00438c81
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 ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x30
mov ebx, dword [ebp - 4]
add ebx, 0x28
mov dword [ebp - 8], ebx
mov eax, str.XmmDrv
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x421186
push ebx
call fcn.00438c87
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x421ba9
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x50be70]
nop
nop
cmp dword [ebp - 8], esp
je 0x4211ca
push 0x83
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 8
push 4
mov ebx, 0xc8
call fcn.004398c0
add esp, 0x34
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
add ebx, 0x28
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push closesocket
push 0x80000301
push 0
push 0x2000000
push 0x80000301
push 0
push 0x20000
push 0x80000301
push 0
push 0x10000
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push 0
push 6
mov ebx, 0xc8
call fcn.004398c0
add esp, 0x4c
mov dword [ebp - 0x10], eax
push 0
mov ebx, 0x2d4
call fcn.0043d270
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x2d8
call fcn.0043d280
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 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0
push 0
push dword [ebp - 0x10]
push 0x4622fb
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push dword [ebp - 8]
xor eax, eax
call dword [0x50be74]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x421305
push 0x183
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push 0xa
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [0x50be78]
nop
nop
cmp dword [ebp - 8], esp
je 0x42133d
push 0x1c3
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [0x50be7c]
nop
nop
cmp dword [ebp - 8], esp
je 0x42136b
push 0x1e6
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
mov dword [ebp - 8], esp
push 0x900a8
push 0xffffffec
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [0x50be80]
nop
nop
cmp dword [ebp - 8], esp
je 0x4213a3
push 0x200
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
mov dword [ebp - 8], esp
push 0x9c000000
push 0xfffffff0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [0x50be80]
nop
nop
cmp dword [ebp - 8], esp
je 0x4213db
push 0x22c
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
mov dword [ebp - 8], esp
push 2
push 0xd2
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
nop
nop
cmp dword [ebp - 8], esp
je 0x421418
push 0x258
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
mov dword [ebp - 8], esp
mov ebx, 0x463a4d
call fcn.00401b97
push ebx
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [0x50be84]
nop
nop
cmp dword [ebp - 8], esp
je 0x421451
push 0x28d
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
push 0
mov ebx, 0x2d4
call fcn.0043d270
add esp, 4
mov dword [ebp - 8], eax
push 0
mov ebx, 0x2d8
call fcn.0043d280
add esp, 4
push eax
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00421580
mov dword [0x50bd50], eax
call fcn.0042168e
push dword [0x50bd50]
call fcn.00421891
push dword [0x50bd50]
call fcn.004218d1
push reloc.WS2_32.dll_getsockname
push 0
push 0x421e3a
push 1
mov ebx, 0x9dc
call fcn.0043a4c0
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.0043a4c0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x421530
push 0x3aa
push 0x401a461
push 6
call fcn.00438c75
add esp, 0xc
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00421968
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
jmp 0x421544
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42155c
push ebx
call fcn.00438c87
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x421570
push ebx
call fcn.00438c87
add esp, 4
pop ebx
call fcn.00438c87
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8