Function at 0x100286d0
Capabilities:
Get file size
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004258c
mov eax, dword fs:[0]
push eax
sub esp, 0x380
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x20c]
mov ecx, 0x80
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x1004e038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x100583b9
call fcn.10016c3f
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x1002874b
mov esi, esp
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
xor eax, eax
jmp 0x100293c9
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.100168f2
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x3e8], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3e8], 0xffffffff
jne 0x1002877c
xor eax, eax
jmp 0x100293c9
mov esi, esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp esi, esp
call fcn.100168f2
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 8], 0
jne 0x100287af
xor eax, eax
jmp 0x100293c9
mov esi, esp
push 0
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
cmp esi, esp
call fcn.100168f2
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
jne 0x100287e5
xor eax, eax
jmp 0x100293c9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x10028817
mov esi, esp
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
xor eax, eax
jmp 0x100293c9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x3dc], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3d0], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.10028670
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x3d4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x3dc]
cmp edx, dword [ecx + 0x3e8]
ja 0x10028879
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3dc]
add ecx, 0xf8
mov edx, dword [ebp - 0x18]
cmp ecx, dword [edx + 0x3e8]
jbe 0x10028894
mov esi, esp
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
xor eax, eax
jmp 0x100293c9
push 0x40
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + 0x3d0]
push ecx
mov eax, dword [ebp - 0x18]
add eax, 0x18
push eax
call fcn.10016b81
add esp, 0xc
push 0xf8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + 0x3dc]
push ecx
mov eax, dword [ebp - 0x18]
add eax, 0x58
push eax
call fcn.10016b81
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x58], 0x4550
je 0x10028900
mov esi, esp
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
xor eax, eax
jmp 0x100293c9
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x6c]
test ecx, ecx
jne 0x10028926
mov esi, esp
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
xor eax, eax
jmp 0x100293c9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3dc]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x6c]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x3e0], ecx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x5e]
cmp ecx, 0x10
jbe 0x1002896a
mov esi, esp
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
xor eax, eax
jmp 0x100293c9
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x5e]
imul edx, ecx, 0x28
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + 0x3e0]
push ecx
mov eax, dword [ebp - 0x18]
add eax, 0x150
push eax
call fcn.10016b81
add esp, 0xc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x24], 0
jmp 0x100289bd
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x5e]
cmp dword [ebp - 0x24], ecx
jae 0x10028a7c
push str..detour
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x150]
push edx
call fcn.100160aa
add esp, 8
test eax, eax
jne 0x10028a77
push 0x40
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x18]
add edx, dword [ecx + eax + 0x164]
push edx
lea edx, [ebp - 0xb4]
push edx
call fcn.10016b81
add esp, 0xc
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x88], 0
je 0x10028a52
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax + 0x164]
add edx, 0x40
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3d0], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x3d4], ecx
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax + 0x15c]
mov dword [ebp - 0x60], edx
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x60]
add edx, dword [ecx + eax + 0x160]
mov dword [ebp - 0x6c], edx
jmp 0x100289b4
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax + 0xd0]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10016005
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10016005
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x10028ad0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xcc], 0
je 0x10028ae2
cmp dword [ebp - 0xd8], 0
jne 0x10028afd
mov esi, esp
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
xor eax, eax
jmp 0x100293c9
mov dword [ebp - 0xe4], 0
jmp 0x10028b18
mov eax, dword [ebp - 0xe4]
add eax, 1
mov dword [ebp - 0xe4], eax
imul eax, dword [ebp - 0xe4], 0x14
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx + eax], 0
jne 0x10028b3f
imul eax, dword [ebp - 0xe4], 0x14
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx + eax + 0x10], 0
je 0x10028b41
jmp 0x10028b09
mov eax, dword [ebp - 0x18]
add eax, 0x400
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x400], 0
mov dword [ebp - 0x24], 0
jmp 0x10028b7d
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x14
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xe4]
jae 0x10029148
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10016005
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x10028bd2
mov esi, esp
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
jmp 0x100293c7
push 0x24
call fcn.10016366
add esp, 4
mov dword [ebp - 0x348], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x348], 0
je 0x10028c05
mov ecx, dword [ebp - 0x348]
call fcn.10016ab9
mov dword [ebp - 0x38c], eax
jmp 0x10028c0f
mov dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x33c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x114], ecx
cmp dword [ebp - 0x114], 0
jne 0x10028c4d
mov esi, esp
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
jmp 0x100293c7
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x114]
mov dword [eax], ecx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x404]
add ecx, 1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x404], ecx
mov eax, dword [ebp - 0x108]
push eax
call fcn.10027590
add esp, 4
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0x20], 0
jne 0x10028ca5
jmp 0x100293c7
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x114]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x114]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x114]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0x60]
jb 0x10028d3c
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0x6c]
jae 0x10028d3c
mov eax, dword [ebp - 0x114]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x114]
mov dword [eax + 4], 1
jmp 0x10028b65
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10016005
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x10028d82
mov esi, esp
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
jmp 0x100293c7
mov eax, dword [ebp - 0x108]
push eax
call fcn.10027590
add esp, 4
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0x1c], 0
jne 0x10028dab
jmp 0x100293c7
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0
jne 0x10028dd1
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10016005
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0
jne 0x10028e0c
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10016005
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], 0
cmp dword [ebp - 0x12c], 0
je 0x10028e59
jmp 0x10028e45
mov eax, dword [ebp - 0x144]
add eax, 1
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx + eax*4], 0
je 0x10028e59
jmp 0x10028e36
cmp dword [ebp - 0x12c], 0
je 0x10029134
cmp dword [ebp - 0x144], 0
je 0x10029134
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x144]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x354], eax
xor ecx, ecx
mov eax, dword [ebp - 0x354]
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.10016519
add esp, 4
mov dword [ebp - 0x36c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x36c], 0
je 0x10028f10
mov ecx, dword [ebp - 0x36c]
mov edx, dword [ebp - 0x354]
mov dword [ecx], edx
push fcn.10016e42
push 0x10016bae
mov eax, dword [ebp - 0x354]
push eax
push 0x14
mov ecx, dword [ebp - 0x36c]
add ecx, 4
push ecx
call fcn.100164dd
mov edx, dword [ebp - 0x36c]
add edx, 4
mov dword [ebp - 0x38c], edx
jmp 0x10028f1a
mov dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x360], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x360]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x114]
cmp dword [eax + 8], 0
jne 0x10028f5e
mov esi, esp
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
jmp 0x100293c7
mov eax, 0x14
imul ecx, eax, 0
mov edx, dword [ebp - 0x114]
add ecx, dword [edx + 8]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x15c], 0
jmp 0x10028f9f
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x150]
add ecx, 0x14
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x144]
jae 0x10029134
mov eax, dword [ebp - 0x150]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x150]
mov dword [eax + 8], 0
xor eax, eax
mov ecx, dword [ebp - 0x150]
mov word [ecx], ax
mov eax, dword [ebp - 0x150]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x150]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
and eax, 0x80000000
je 0x1002903d
mov eax, dword [ebp - 0xfc]
and eax, 0xffff
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
jmp 0x1002912f
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10016005
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x10029099
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x168]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x168]
add eax, 2
push eax
call fcn.10027590
add esp, 4
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x10], 0
jne 0x10029099
jmp 0x100293c7
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
and eax, 0x80000000
je 0x100290e5
mov eax, dword [ebp - 0xfc]
and eax, 0xffff
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xfc]
and eax, 0xffff
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 8], eax
jmp 0x1002912f
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10016005
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x1002912f
mov eax, dword [ebp - 0x168]
add eax, 2
push eax
call fcn.10027590
add esp, 4
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0xc], 0
jne 0x1002912f
jmp 0x100293c7
jmp 0x10028f81
mov eax, dword [ebp - 0xd8]
add eax, 0x14
mov dword [ebp - 0xd8], eax
jmp 0x10028b65
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3e4], 0
mov dword [ebp - 0x24], 0
jmp 0x10029167
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x5e]
cmp dword [ebp - 0x24], ecx
jae 0x10029342
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3e4]
push ecx
imul edx, dword [ebp - 0x24], 0x28
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + edx + 0x164]
mov ecx, dword [ebp - 0x18]
add edx, dword [ecx + eax + 0x160]
push edx
call fcn.10028380
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x3e4], eax
push str..detour
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x150]
push edx
call fcn.100160aa
add esp, 8
test eax, eax
jne 0x1002933d
push 0x40
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x18]
add edx, dword [ecx + eax + 0x164]
push edx
lea edx, [ebp - 0x1b0]
push edx
call fcn.10016b81
add esp, 0xc
cmp dword [ebp - 0x1a8], 0
jne 0x1002920e
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a4]
sub eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x3c], eax
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x18]
add edx, dword [ecx + eax + 0x164]
add edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3e4]
push ecx
imul edx, dword [ebp - 0x24], 0x28
imul eax, dword [ebp - 0x24], 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + edx + 0x164]
mov ecx, dword [ebp - 0x18]
add edx, dword [ecx + eax + 0x160]
push edx
call fcn.10028380
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x3e4], eax
mov eax, dword [ebp - 0x18]
mov cx, word [eax + 0x5e]
sub cx, 1
mov edx, dword [ebp - 0x18]
mov word [edx + 0x5e], cx
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1a0]
mov dword [ecx + eax + 0xd0], edx
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x19c]
mov dword [ecx + eax + 0xd4], edx
mov eax, 8
imul ecx, eax, 0xb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x198]
mov dword [edx + ecx + 0xd0], eax
mov eax, 8
imul ecx, eax, 0xb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x194]
mov dword [edx + ecx + 0xd4], eax
mov eax, 8
imul ecx, eax, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x190]
mov dword [edx + ecx + 0xd0], eax
mov eax, 8
imul ecx, eax, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18c]
mov dword [edx + ecx + 0xd4], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xb0], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x188]
mov dword [eax + 0xa8], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x408], 1
jmp 0x1002915e
push 0xc
call fcn.10016366
add esp, 4
mov dword [ebp - 0x384], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x384], 0
je 0x1002937d
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x384]
call fcn.100165b9
mov dword [ebp - 0x38c], eax
jmp 0x10029387
mov dword [ebp - 0x38c], 0
mov edx, dword [ebp - 0x38c]
mov dword [ebp - 0x378], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x378]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
jne 0x100293c0
mov esi, esp
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.100168f2
mov eax, 1
jmp 0x100293c9
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10029408]
call fcn.1001677b
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001651e
add esp, 0x38c
cmp ebp, esp
call fcn.100168f2
mov esp, ebp
pop ebp
ret 4