Function at 0x100365d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085d4c
mov eax, dword fs:[0]
push eax
mov eax, 0x1060
call fcn.100790e0
mov eax, dword [0x100a5c90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x106c], eax
mov dword [eax], esi
mov edi, 7
xor eax, eax
mov dword [ebp - 0x1038], edi
mov dword [ebp - 0x103c], esi
mov word [ebp - 0x104c], ax
push 0xffe
lea edx, [ebp - 0x1012]
xor ecx, ecx
push esi
mov dword [ebp - 4], esi
push edx
mov word [ebp - 0x1014], cx
call fcn.1006b580
add esp, 0xc
push str.iRadar.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x800
lea ecx, [ebp - 0x1014]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea eax, [ebp - 0x1014]
mov word [ebp - 0x1030], dx
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1020], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10036686
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1014]
lea esi, [ebp - 0x1030]
call fcn.10003a30
lea eax, [ebp - 0x104c]
push eax
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.1001f720
xor ebx, ebx
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x101c], 8
jb 0x100366d9
mov ecx, dword [ebp - 0x1030]
push ecx
call fcn.10066b10
add esp, 4
xor edx, edx
push 0xc
mov eax, str.wow64ext.dll
lea esi, [ebp - 0x1030]
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1020], ebx
mov word [ebp - 0x1030], dx
call fcn.10003a30
lea eax, [ebp - 0x104c]
push eax
mov edx, esi
lea ecx, [ebp - 0x1068]
mov byte [ebp - 4], 2
call fcn.1001fca0
add esp, 4
mov edi, eax
lea esi, [ebp - 0x104c]
mov byte [ebp - 4], 3
call fcn.100037e0
mov esi, 8
cmp dword [ebp - 0x1054], esi
jb 0x10036748
mov ecx, dword [ebp - 0x1068]
push ecx
call fcn.10066b10
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x1054], 7
mov dword [ebp - 0x1058], ebx
mov word [ebp - 0x1068], dx
cmp dword [ebp - 0x101c], esi
jb 0x1003677b
mov eax, dword [ebp - 0x1030]
push eax
call fcn.10066b10
add esp, 4
mov eax, dword [ebp - 0x104c]
cmp dword [ebp - 0x1038], esi
jae 0x1003678f
lea eax, [ebp - 0x104c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [ebp - 0x106c]
mov dword [edi + 4], eax
cmp eax, ebx
je 0x10036852
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.X64Call
push eax
call esi
mov ecx, dword [edi + 4]
push str.WriteProcessMemory64
push ecx
mov dword [edi + 8], eax
call esi
mov edx, dword [edi + 4]
push str.GetProcAddress64
push edx
mov dword [edi + 0xc], eax
call esi
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
push str.GetModuleHandle64
push eax
call esi
mov ecx, dword [edi + 4]
push str.VirtualAllocEx64
push ecx
mov dword [edi + 0x14], eax
call esi
mov edx, dword [edi + 4]
push str.VirtualFreeEx64
push edx
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
cmp dword [edi + 8], ebx
je 0x1003682e
cmp dword [edi + 0xc], ebx
je 0x1003682e
cmp dword [edi + 0x10], ebx
je 0x1003682e
cmp dword [edi + 0x14], ebx
je 0x1003682e
cmp dword [edi + 0x18], ebx
je 0x1003682e
cmp eax, ebx
je 0x1003682e
lea ecx, [ebp - 0x104c]
mov dword [edi], 1
call fcn.10003710
jmp 0x1003687c
push 0x100959dc
mov esi, 0x100aa2d0
call fcn.10005820
add esp, 4
cmp dword [ebp - 0x1038], 8
jb 0x1003687c
mov eax, dword [ebp - 0x104c]
push eax
jmp 0x10036874
push 0x100959dc
mov esi, 0x100aa2d0
call fcn.10005820
add esp, 4
cmp dword [ebp - 0x1038], 8
jb 0x1003687c
mov ecx, dword [ebp - 0x104c]
push ecx
call fcn.10066b10
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10066b1b
mov esp, ebp
pop ebp
ret 4