Function at 0x581c19
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1007bafb
push eax
mov dword fs:[0], esp
sub esp, 0x634
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x5820d4
mov eax, dword [ecx]
push edi
call dword [eax + 0x5c]
push 0
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.0059386e
test edi, edi
mov dword [esp + reloc.KERNEL32.dll_DuplicateHandle], 0
je 0x581c56
push edi
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
call fcn.00582ede
lea ecx, [esp + 8]
call fcn.005b8ced
cmp eax, 1
pop edi
je 0x581e76
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov dword [esp + reloc.KERNEL32.dll_DuplicateHandle], 0x19
call fcn.005b6e67
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x18
call fcn.00582dbe
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x17
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x16
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x15
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x14
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x13
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x12
call fcn.005bfd0f
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x11
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x10
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0xf
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0xe
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0xd
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0xc
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0xb
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0xa
call fcn.005bfd0f
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 9
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 8
call fcn.005bfd0f
mov byte [esp + 0x640], 7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 6
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 5
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 4
call fcn.005bfc2e
lea ecx, [esp + 0xd8]
mov byte [esp + 0x640], 3
call fcn.005bfc2e
lea ecx, [esp + 0x9c]
mov byte [esp + 0x640], 2
call fcn.005bfc66
lea ecx, [esp + 0x60]
mov byte [esp + 0x640], 1
call fcn.005bfc66
lea ecx, [esp + 4]
mov dword [esp + reloc.KERNEL32.dll_DuplicateHandle], 0xffffffff
call fcn.005b89cb
jmp 0x5820d4
mov ecx, dword [esi + 0xc]
lea eax, reloc.KERNEL32.dll_DuplicateHandle
push eax
mov edx, dword [ecx]
call dword [edx + 0x60]
cmp eax, 1
jne 0x5820c0
mov edx, dword [esi]
push 0
push 0
push 0xc
push eax
mov ecx, esi
call dword [edx + 4]
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov dword [esp + reloc.KERNEL32.dll_DuplicateHandle], 0x32
call fcn.005b6e67
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x31
call fcn.00582dbe
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x30
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x2f
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x2e
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x2d
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x2c
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x2b
call fcn.005bfd0f
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x2a
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x29
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x28
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x27
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x26
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x25
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x24
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x23
call fcn.005bfd0f
mov byte [esp + 0x640], 0x22
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x21
call fcn.005bfd0f
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x20
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x1f
call fcn.005bfdd7
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x1e
call fcn.005bfc66
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov byte [esp + 0x640], 0x1d
call fcn.005bfc2e
lea ecx, [esp + 0xd8]
mov byte [esp + 0x640], 0x1c
call fcn.005bfc2e
lea ecx, [esp + 0x9c]
mov byte [esp + 0x640], 0x1b
call fcn.005bfc66
lea ecx, [esp + 0x60]
mov byte [esp + 0x640], 0x1a
call fcn.005bfc66
lea ecx, [esp + 4]
mov dword [esp + reloc.KERNEL32.dll_DuplicateHandle], 0xffffffff
call fcn.005b89cb
mov eax, 1
pop esi
mov ecx, dword [esp + reloc.KERNEL32.dll_DuplicateHandle]
mov dword fs:[0], ecx
add esp, 0x640
ret
lea ecx, [esp + 4]
mov dword [esp + reloc.KERNEL32.dll_DuplicateHandle], 0xffffffff
call fcn.005820ee
mov ecx, dword [esp + reloc.KERNEL32.dll_DuplicateHandle]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x640
ret