Function at 0x479507
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x479527
call fcn.00424ac3
push htons
push 0
push 0x46af6b
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp - 0xc]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x47958c
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4795b1
push 6
call fcn.0055dd91
add esp, 4
cmp dword [ebp - 4], 0
mov eax, 0
sete al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x4795eb
xor esp, esp
ret
add esp, 8
push 0
mov ebx, 0x210
call fcn.00560430
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0x80000301
push 0
push 7
push 0x80000003
push dword [0x6148a8]
push dword [0x6148a4]
push 0x80000003
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 3
mov ebx, 0x1e0
call fcn.00560570
add esp, 0x28
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 5
mov eax, 0
setg al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x479696
xor esp, esp
ret
add esp, 8
push 0
mov ebx, 0x210
call fcn.00560430
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0x80000301
push 0
push 7
push 0x80000003
push dword [0x614340]
push dword [0x61433c]
push 0x80000003
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 3
mov ebx, 0x1e0
call fcn.00560570
add esp, 0x28
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 5
mov eax, 0
setg al
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x479741
xor esp, esp
ret
add esp, 8
jmp 0x47974d
mov ebx, dword [0x6148dc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 0x6144ac
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 0x614588
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x4797df
mov ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 1
jmp 0x479872
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 0x614584
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x47982b
mov ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 2
jmp 0x479872
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 0x614354
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x479872
mov ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 3
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x61469c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4798b0
push ebx
call fcn.0055dd85
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4798c3
mov eax, 0x59ab40
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4798e9
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [0x6148dc]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 0x614698
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
push eax
push 0x614698
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [0x6148dc]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x614698
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x479971
push ebx
call fcn.0055dd85
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004779f2
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x47998d
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x6146a0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
push eax
push 0x6146a0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x479a3a
mov ebx, dword [0x6148dc]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x614698
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x479a11
push ebx
call fcn.0055dd85
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.00477ad1
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x479a2d
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
jmp 0x479a4e
mov ebx, dword [0x6148dc]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x614698
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x479c60
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 0x10
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x40], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push 1
push 0x40
push 1
mov eax, 0x5fb159
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push 1
push 0
mov eax, 0x5fb162
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push dword [0x614344]
call fcn.004567bc
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x479bd1
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x479be1
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x40]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x479bff
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x479bfb
imul eax, dword [ebx]
jmp 0x479bf0
mov ecx, eax
test ecx, ecx
je 0x479c1e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x479c17
push ebx
push eax
call fcn.0055dd85
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x479c05
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x479c36
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0055dd85
add esp, 4
push 1
push 0
push 0x6144ac
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
jmp 0x479cd0
mov ebx, dword [0x6148dc]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 0x6146a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
push eax
push 0x6146a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [0x6148dc]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x1e
push 0x6148dc
push 6
push 0x6148d8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov esp, ebp
pop ebp
ret