Function at 0x416d00
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45eac0
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
push 0
push 0
push 0
push 0
push 0
push str.Detour::CImage::Read
lea ecx, [ebp - 0xac]
call fcn.00407b80
mov dword [ebp - 4], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x416d9c
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x11c]
jmp 0x417b89
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0x3e8], eax
mov edx, dword [ebp - 0x94]
cmp dword [edx + 0x3e8], 0xffffffff
jne 0x416dea
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x140]
jmp 0x417b89
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x94]
cmp dword [edx + 8], 0
jne 0x416e3a
mov dword [ebp - 0x108], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x108]
jmp 0x417b89
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x94]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0xc], 0
jne 0x416e8e
mov dword [ebp - 0x10c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x10c]
jmp 0x417b89
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x416ee0
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x110]
jmp 0x417b89
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3dc], ecx
mov edx, dword [ebp - 0x94]
mov dword [edx + 0x3d0], 0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.0041a6a0
add esp, 4
mov edx, dword [ebp - 0x94]
mov dword [edx + 0x3d4], eax
push 0x40
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x94]
add ecx, dword [edx + 0x3d0]
push ecx
mov eax, dword [ebp - 0x94]
add eax, 0x18
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0xf8
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x94]
add edx, dword [eax + 0x3dc]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0x58
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x94]
cmp dword [edx + 0x58], 0x4550
je 0x416fbb
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x114], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x114]
jmp 0x417b89
mov eax, dword [ebp - 0x94]
movzx ecx, word [eax + 0x6c]
test ecx, ecx
jne 0x416ffb
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x118], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x118]
jmp 0x417b89
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x3dc]
mov ecx, dword [ebp - 0x94]
movzx edx, word [ecx + 0x6c]
lea eax, [eax + edx + 0x18]
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0x3e0], eax
mov edx, dword [ebp - 0x94]
movzx eax, word [edx + 0x5e]
cmp eax, 0x10
jbe 0x417062
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x130], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x130]
jmp 0x417b89
mov ecx, dword [ebp - 0x94]
movzx edx, word [ecx + 0x5e]
imul eax, edx, 0x28
push eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x94]
add edx, dword [eax + 0x3e0]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0x150
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x98], 0
jmp 0x4170d4
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x94]
movzx ecx, word [eax + 0x5e]
cmp dword [ebp - 0x98], ecx
jae 0x4171c0
push 0x465684
imul edx, dword [ebp - 0x98], 0x28
mov eax, dword [ebp - 0x94]
lea ecx, [eax + edx + 0x150]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x4171bb
push 0x40
imul edx, dword [ebp - 0x98], 0x28
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x94]
add ecx, dword [eax + edx + 0x164]
push ecx
lea ecx, [ebp - 0x50]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0x24], 0
je 0x417181
imul eax, dword [ebp - 0x98], 0x28
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + eax + 0x164]
add edx, 0x40
mov eax, dword [ebp - 0x94]
mov dword [eax + 0x3d0], edx
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x3d4], edx
imul eax, dword [ebp - 0x98], 0x28
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + eax + 0x15c]
mov dword [ebp - 0xd4], edx
imul eax, dword [ebp - 0x98], 0x28
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0xd4]
add edx, dword [ecx + eax + 0x160]
mov dword [ebp - 0xe8], edx
jmp 0x4170c5
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + eax + 0xd0]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.0041a0e0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x100]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.0041a0e0
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x417220
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xa4], 0
je 0x417232
cmp dword [ebp - 0xb4], 0
jne 0x417264
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x124], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x124]
jmp 0x417b89
mov dword [ebp - 0xc4], 0
jmp 0x41727f
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xc4], eax
imul ecx, dword [ebp - 0xc4], 0x14
mov edx, dword [ebp - 0xa4]
cmp dword [edx + ecx], 0
je 0x417294
jmp 0x417270
mov eax, dword [ebp - 0x94]
add eax, 0x400
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0x400], 0
mov dword [ebp - 0x98], 0
jmp 0x4172df
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0xa4]
add eax, 0x14
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebp - 0xc4]
jae 0x41786e
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.0041a0e0
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x417331
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x417b67
push 0x24
call fcn.0045be5d
add esp, 4
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x104], 0
je 0x417361
mov ecx, dword [ebp - 0x104]
call fcn.004168d0
mov dword [ebp - 0xe0], eax
jmp 0x41736b
mov dword [ebp - 0xe0], 0
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x41739d
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x417b67
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x9c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0x404]
add edx, 1
mov eax, dword [ebp - 0x94]
mov dword [eax + 0x404], edx
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.0041a6c0
add esp, 4
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x20], 0
jne 0x4173fb
jmp 0x417b67
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 8]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x9c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0xd4]
jb 0x417498
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0xe8]
jae 0x417498
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x9c]
mov dword [eax + 4], 1
jmp 0x4172c1
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.0041a0e0
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x4174d8
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x417b67
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.0041a6c0
add esp, 4
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x1c], 0
jne 0x417501
jmp 0x417b67
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.0041a0e0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.0041a0e0
mov dword [ebp - 0x144], eax
mov dword [ebp - 0xb0], 0
cmp dword [ebp - 0xcc], 0
je 0x417585
jmp 0x417571
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xcc]
cmp dword [eax + edx*4], 0
je 0x417585
jmp 0x417562
cmp dword [ebp - 0xcc], 0
je 0x41785a
cmp dword [ebp - 0xb0], 0
je 0x41785a
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xb0]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xdc], eax
xor ecx, ecx
mov eax, dword [ebp - 0xdc]
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.0045be0d
add esp, 4
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0xc8], 0
je 0x417639
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xdc]
mov dword [ecx], edx
push fcn.00416af0
push 0x416a90
mov eax, dword [ebp - 0xdc]
push eax
push 0x14
mov ecx, dword [ebp - 0xc8]
add ecx, 4
push ecx
call fcn.0045bebe
mov edx, dword [ebp - 0xc8]
add edx, 4
mov dword [ebp - 0xec], edx
jmp 0x417643
mov dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x12c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 8], 0
jne 0x41767b
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x417b67
mov ecx, 0x14
imul edx, ecx, 0
mov eax, dword [ebp - 0x9c]
add edx, dword [eax + 8]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xc0], 0
jmp 0x4176bc
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xa0]
add edx, 0x14
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xb0]
jae 0x41785a
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0xa0]
mov dword [edx + 8], 0
xor eax, eax
mov ecx, dword [ebp - 0xa0]
mov word [ecx], ax
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
and ecx, 0x80000000
je 0x41775c
mov edx, dword [ebp - 0xa8]
and edx, 0xffff
mov eax, dword [ebp - 0xa0]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 4]
mov dword [ecx + 8], eax
jmp 0x417855
mov ecx, dword [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.0041a0e0
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x4177bb
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xb8]
mov cx, word [eax]
mov word [edx], cx
mov edx, dword [ebp - 0xb8]
add edx, 2
push edx
call fcn.0041a6c0
add esp, 4
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0x10], 0
jne 0x4177bb
jmp 0x417b67
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
and eax, 0x80000000
je 0x417808
mov ecx, dword [ebp - 0xa8]
and ecx, 0xffff
mov edx, dword [ebp - 0xa0]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa8]
and eax, 0xffff
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 8], eax
jmp 0x417855
mov edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp - 0x94]
call fcn.0041a0e0
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x417855
mov eax, dword [ebp - 0xb8]
add eax, 2
push eax
call fcn.0041a6c0
add esp, 4
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0xc], 0
jne 0x417855
jmp 0x417b67
jmp 0x41769e
mov eax, dword [ebp - 0xb4]
add eax, 0x14
mov dword [ebp - 0xb4], eax
jmp 0x4172c1
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0x3e4], 0
mov dword [ebp - 0x98], 0
jmp 0x417899
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x94]
movzx ecx, word [eax + 0x5e]
cmp dword [ebp - 0x98], ecx
jae 0x417ac8
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x3e4]
push eax
imul ecx, dword [ebp - 0x98], 0x28
imul edx, dword [ebp - 0x98], 0x28
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + ecx + 0x164]
mov eax, dword [ebp - 0x94]
add ecx, dword [eax + edx + 0x160]
push ecx
call fcn.0041a620
add esp, 8
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0x3e4], eax
push 0x46568c
imul edx, dword [ebp - 0x98], 0x28
mov eax, dword [ebp - 0x94]
lea ecx, [eax + edx + 0x150]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x417ac3
push 0x40
imul edx, dword [ebp - 0x98], 0x28
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x94]
add ecx, dword [eax + edx + 0x164]
push ecx
lea ecx, [ebp - 0x90]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x88], 0
jne 0x417967
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0xf0], eax
imul ecx, dword [ebp - 0x98], 0x28
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x94]
add eax, dword [edx + ecx + 0x164]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x3e4]
push ecx
imul edx, dword [ebp - 0x98], 0x28
imul eax, dword [ebp - 0x98], 0x28
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + edx + 0x164]
mov ecx, dword [ebp - 0x94]
add edx, dword [ecx + eax + 0x160]
push edx
call fcn.0041a620
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [edx + 0x3e4], eax
mov eax, dword [ebp - 0x94]
mov cx, word [eax + 0x5e]
sub cx, 1
mov edx, dword [ebp - 0x94]
mov word [edx + 0x5e], cx
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x80]
mov dword [ecx + eax + 0xd0], edx
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x7c]
mov dword [ecx + eax + 0xd4], edx
mov eax, 8
imul ecx, eax, 0xb
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x78]
mov dword [edx + ecx + 0xd0], eax
mov ecx, 8
imul edx, ecx, 0xb
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x74]
mov dword [eax + edx + 0xd4], ecx
mov edx, 8
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x70]
mov dword [ecx + eax + 0xd0], edx
mov eax, 8
imul ecx, eax, 0xc
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x6c]
mov dword [edx + ecx + 0xd4], eax
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0xb0], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x68]
mov dword [edx + 0xa8], eax
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0x408], 1
jmp 0x41788a
push 0xc
call fcn.0045be5d
add esp, 4
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0xf8], 0
je 0x417b06
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf8]
call fcn.00415ee0
mov dword [ebp - 0xfc], eax
jmp 0x417b10
mov dword [ebp - 0xfc], 0
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x134]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x94]
cmp dword [ecx + 4], 0
jne 0x417b43
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x138], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x138]
jmp 0x417b89
mov dword [ebp - 0x13c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00407aa0
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
ret 4