Function at 0x478fea
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
jmp 0x479003
call fcn.00424ac3
push htons
push 0
push 0x46af6b
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp - 8]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x479068
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x47908d
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 0x4790c7
xor esp, esp
ret
add esp, 8
push 0
mov ebx, 0x210
call fcn.00560430
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0x80000301
push 0
push 7
push 0x80000003
push dword [0x6148a8]
push dword [0x6148a4]
push 0x80000003
push dword [ebp - 8]
push dword [ebp - 0xc]
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 - 0x1c], eax
cmp dword [ebp - 0x1c], 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 0x479172
xor esp, esp
ret
add esp, 8
push 0
mov ebx, 0x210
call fcn.00560430
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0x80000301
push 0
push 7
push 0x80000003
push dword [0x614340]
push dword [0x61433c]
push 0x80000003
push dword [ebp - 8]
push dword [ebp - 0xc]
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 - 0x1c], eax
cmp dword [ebp - 0x1c], 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 0x47921d
xor esp, esp
ret
add esp, 8
jmp 0x479229
mov ebx, dword [0x6148dc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x6144a8
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 - 8]
mov dword [ebx], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x614588
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x4792bb
mov ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
jmp 0x47934e
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 0x614584
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x479307
mov ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 2
jmp 0x47934e
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 0x614354
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x47934e
mov ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 3
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0x61468c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x47938c
push ebx
call fcn.0055dd85
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x47939f
mov eax, 0x59ab40
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4793c5
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [0x6148dc]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x614694
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
push eax
push 0x614694
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [0x6148dc]
add ebx, 0x10
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0x614690
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x47944d
push ebx
call fcn.0055dd85
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x479460
mov eax, 0x59ab40
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x479486
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
push 0x6148dc
push 5
push 0x6148d8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov esp, ebp
pop ebp
ret