Function at 0x4788bd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
jmp 0x4788d6
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 0x47893b
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 0x478960
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 0x47899a
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 0x478a45
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 0x478af0
xor esp, esp
ret
add esp, 8
jmp 0x478afc
mov ebx, dword [0x6148dc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x6144c0
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 0x614590
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x478c10
mov ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x614740
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
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0x32
mov eax, 0
setl al
mov dword [ebp - 0x10], eax
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x10], 0
je 0x478c01
mov eax, 0x32
jmp 0x478c06
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
jmp 0x478f39
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 0x61458c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x478d68
mov ebx, dword [0x6148dc]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 2
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x614740
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
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0x32
mov eax, 0
setl al
mov dword [ebp - 0x10], eax
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x10], 0
je 0x478ccf
mov eax, 0x32
jmp 0x478cd4
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x478cf8
push 6
call fcn.0055dd91
add esp, 4
push eax
push dword [0x6142d8]
call fcn.00408af9
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
je 0x478d63
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0x47
jl 0x478d63
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x46
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
push 1
mov ebx, dword [ebp - 8]
push dword [ebx]
push 0x614740
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
jmp 0x478f39
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x61435c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x100]
test eax, eax
je 0x478f34
mov dword [ebp - 8], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x478db9
push 6
call fcn.0055dd91
add esp, 4
push eax
push dword [0x6142d8]
call fcn.00408af9
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jne 0x478ea0
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
push dword [ebp - 0xc]
push 0x614740
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fdiv qword [0x5b6b80]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x60
call fcn.00561500
add esp, 0x10
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [0x6148dc]
add ebx, 8
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], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x10], 0
je 0x478e91
mov eax, 1
jmp 0x478e96
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
jmp 0x478ea5
jmp 0x478f8a
mov dword [ebp - 8], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x478ec4
push 6
call fcn.0055dd91
add esp, 4
push eax
push dword [0x6142d8]
call fcn.00408af9
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
je 0x478f2f
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0x47
jl 0x478f2f
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x46
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
push 1
mov ebx, dword [ebp - 8]
push dword [ebx]
push 0x614740
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
jmp 0x478f39
jmp 0x478f8a
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [0x6148dc]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [0x6148b4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.00408af9
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
push 0x6148dc
push 0x13
push 0x6148d8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov esp, ebp
pop ebp
ret