Function at 0x100059a0
Capabilities:
Rebuild import table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x48], ecx
push 0x100e2284
lea ecx, [ebp - 0x84]
call fcn.10001660
mov dword [ebp - 4], 0
push 0x100e2288
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.100011c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.100024f0
lea ecx, [ebp - 0x6c]
call fcn.100024d0
push eax
call fcn.100013b0
add esp, 4
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1c], ecx
mov edx, 8
shl edx, 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + edx + 0x78], 0
jne 0x10005a5b
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.10001b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10001b10
mov eax, dword [ebp - 0x30]
jmp 0x10005bd3
mov ecx, 8
shl ecx, 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx + 0x78]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, 8
imul edx, ecx, 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [eax + edx + 0x78], 0
je 0x10005a8b
mov dword [ebp - 0x24], 0xc
jmp 0x10005a92
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*8 + 0x78]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*8 + 0x7c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x4c]
push eax
push 4
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
je 0x10005bab
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
je 0x10005b1c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x10005b28
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x10005b9d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
and edx, 0x80000000
je 0x10005b67
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
and ecx, 0xffff
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
jmp 0x10005b89
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
lea eax, [ecx + edx + 2]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x10005b28
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
mov dword [ebp - 0x14], ecx
jmp 0x10005acf
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.10001b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10001b10
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4