Function at 0x47598d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
jmp 0x4759a6
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
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
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 0x475a0e
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 0x475a33
push 6
call fcn.0055dd91
add esp, 4
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 0x475adb
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 0x475b86
xor esp, esp
ret
add esp, 8
jmp 0x475b92
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 0x614610
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x475bc4
push ebx
call fcn.0055dd85
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x475bd7
mov eax, 0x59ab40
push eax
push 1
mov ebx, 0x170
call fcn.00560e20
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x475bfd
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x475c11
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x6148dc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x614418
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 ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x614620
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
push eax
push 0x614620
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, 8
mov dword [ebp - 8], ebx
push 0x80000301
push 0
push 1
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x475cc8
mov eax, 0x59ab40
push eax
push 2
mov ebx, 0x138
call fcn.0055eef0
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 0x5fb0a5
push dword [ebp - 0xc]
call fcn.004019d9
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x475d0c
push ebx
call fcn.0055dd85
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [0x6148dc]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 1
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.00467f0f
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x5b6cc2]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00401145
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x475d97
mov eax, 0x59ab40
push eax
push 2
mov ebx, 0x134
call fcn.00560490
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x10], 0
je 0x475dd8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x475dd3
push eax
mov ebx, eax
call fcn.00401a76
inc eax
push eax
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x475df4
mov eax, dword [ebp - 4]
test eax, eax
je 0x475df4
push eax
mov ebx, eax
call fcn.00401a76
inc eax
push eax
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x475e07
push ebx
call fcn.0055dd85
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x475e1a
mov eax, 0x59ab40
push eax
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x475e40
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x30]
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
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x6145b4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe4]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x475e92
push ebx
call fcn.0055dd85
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x475ea5
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 0x475ecb
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
push 0x6148dc
push 0x18
push 0x6148d8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x475efc
push ebx
call fcn.0055dd85
add esp, 4
mov esp, ebp
pop ebp
ret