Function at 0x1001da40
Capabilities:
Rebuild import table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x48], ecx
push 0x100a730c
lea ecx, [ebp - 0x84]
call fcn.100018a0
mov dword [ebp - 4], 0
push 0x100a7310
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.100012b0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.100030f0
lea ecx, [ebp - 0x6c]
call fcn.10002660
push eax
call fcn.10001340
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 0x1001dafb
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10001d80
mov eax, dword [ebp - 0x30]
jmp 0x1001dc73
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 0x1001db2b
mov dword [ebp - 0x24], 0xc
jmp 0x1001db32
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 0x1001dc4b
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 0x1001dbbc
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x1001dbc8
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 0x1001dc3d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
and edx, 0x80000000
je 0x1001dc07
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 0x1001dc29
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 0x1001dbc8
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
mov dword [ebp - 0x14], ecx
jmp 0x1001db6f
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10001d80
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4