Function at 0x1006e16e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x21
push 0
push 0
dec ecx
jne 0x1006e177
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x1006e191
add esp, 0xfffffff0
call fcn.1005d956
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0xbc]
mov edx, dword [0x1006314e]
call fcn.1005ee9e
xor eax, eax
push ebp
push 0x1006f1b6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
cmp dword [ebp + 8], 2
jae 0x1006e1e1
mov dword [ebp + 8], 2
call fcn.1006db9a
xor ecx, ecx
push ebp
push 0x1006f163
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [esi], ebx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x30], edx
test byte [ebp + 0xd], 4
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x34], al
test byte [ebp + 0xc], 0x20
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x35], al
test byte [ebp + 0xd], 1
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x36], al
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
xor edx, edx
mov eax, 0x5000
call fcn.1006d726
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0x3000
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov byte [eax], 0xff
mov byte [eax + 1], 0x25
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov dword [eax + 2], edx
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 8], eax
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], esi
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [0x10098d70]
call fcn.1006d3d6
lea edx, [ebp - 0xc4]
mov eax, dword [0x10098d54]
call fcn.10061b16
push dword [ebp - 0xc4]
push 0x1006f1ea
push dword [ebp - 0x20]
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.1005e74a
mov eax, dword [ebp - 0xc0]
call fcn.1005e88a
push eax
call fcn.1006c9ee
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x1006f140
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x14], 0
je 0x1006e308
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor ecx, ecx
push ebp
push 0x1006f0bb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xcc]
mov eax, dword [0x10098d68]
call fcn.10061b16
push dword [ebp - 0xcc]
push 0x1006f1ea
push dword [ebp - 0x20]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.1005e74a
mov eax, dword [ebp - 0xc8]
call fcn.1005e88a
push eax
call fcn.1006d106
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
call fcn.1006e11e
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x1006f097
push dword fs:[ecx]
mov dword fs:[ecx], esp
test byte [ebp + 0xd], 8
je 0x1006e38a
mov dword [ebp - 0x50], 6
jmp 0x1006e391
mov dword [ebp - 0x50], 5
test bl, bl
je 0x1006e7b6
test byte [ebp + 0xc], 2
jne 0x1006e518
test byte [ebp + 0xf], 0x80
jne 0x1006e518
cmp byte [0x10098c24], 0
je 0x1006e3c9
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.1006593e
jmp 0x1006e41e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.1006466a
mov esi, dword [ebp - 0x5c]
cmp byte [ebp - 0x7c], 0
je 0x1006e409
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0x50]
jae 0x1006e409
mov ax, word [ebp - 0x7a]
add eax, 0xffffff3e
sub ax, 2
jb 0x1006e409
add eax, 0xfffffffa
sub ax, 2
jb 0x1006e409
sub ax, 3
jne 0x1006e3cf
sub esi, edi
cmp esi, dword [ebp - 0x50]
jb 0x1006e41e
mov byte [ebp - 0xbc], 1
mov byte [ebp - 0x94], 1
cmp byte [ebp - 0xbc], 0
je 0x1006e456
cmp byte [ebp - 0x94], 0
je 0x1006e456
cmp byte [0x10098c00], 0
jne 0x1006e518
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.1006df9a
test al, al
je 0x1006e518
or dword [ebp + 0xc], 2
cmp byte [ebp - 0xbc], 0
je 0x1006e473
cmp byte [ebp - 0x94], 0
je 0x1006e473
mov dword [ebp - 0x30], 0x770004
test byte [ebp + 0xd], 2
je 0x1006e518
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.1006466a
cmp byte [ebp - 0x76], 0
je 0x1006e518
cmp dword [ebp - 0x74], 0
je 0x1006e518
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.1006593e
mov esi, 0xa
cmp byte [ebp - 0xbc], 0
je 0x1006e4ff
cmp byte [ebp - 0x94], 0
jne 0x1006e4ff
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0x74]
call fcn.1006466a
push esi
push edi
lea esi, [ebp - 0xf0]
lea edi, [ebp - 0x7c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebp - 0x76], 0
je 0x1006e4ff
cmp dword [ebp - 0x74], 0
je 0x1006e4ff
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.1006593e
dec esi
jne 0x1006e4ae
cmp byte [ebp - 0xbc], 0
je 0x1006e518
cmp byte [ebp - 0x94], 0
je 0x1006e518
mov edi, dword [ebp - 0x74]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x1006e7b6
test byte [ebp + 0xc], 0x10
jne 0x1006e796
cmp dword [ebp - 0xc], 0
je 0x1006e796
lea edx, [ebp - 0xf8]
mov eax, dword [0x10098d38]
call fcn.10061b16
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov dl, 1
call fcn.10061b4a
mov eax, dword [ebp - 0xf4]
push eax
call sub.KERNEL32.dll_GetModuleHandleW
cmp eax, dword [ebp - 0xc]
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x37], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x1006e58c
test byte [ebp + 0xc], 0x80
je 0x1006e58c
mov eax, dword [ebp - 0xc]
call fcn.1006d732
mov ebx, eax
jmp 0x1006e58e
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x1006e59f
test ebx, ebx
je 0x1006e776
xor edx, edx
mov eax, 0x1000
call fcn.1006d726
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0xff
mov eax, dword [ebp - 0x2c]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 0x2c]
add eax, 6
mov edx, dword [ebp - 0x2c]
mov dword [edx + 2], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 6], eax
lea eax, [ebp - 0x44]
push eax
push 0x20
push 0x1000
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [0x10099dbc]
mov dword [eax], fcn.1006d4ce
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x10098d6c]
call fcn.1006d3d6
push 4
lea edx, [ebp - 0x100]
mov eax, dword [0x10098d68]
call fcn.10061b16
push dword [ebp - 0x100]
push 0x1006f1ea
push dword [ebp - 0x24]
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.1005e74a
mov eax, dword [ebp - 0xfc]
call fcn.1005e88a
push eax
call fcn.1006cd72
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1006e68d
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1006e67f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
jmp 0x1006e68d
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1006e731
push ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.1006d89e
test al, al
je 0x1006e731
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x1006e6f0
lea edx, [ebp - 0x108]
mov eax, dword [0x10098d38]
call fcn.10061b16
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dl, 1
call fcn.10061b4a
mov eax, dword [ebp - 0x104]
push eax
call sub.KERNEL32.dll_LoadLibraryW
xor eax, eax
push ebp
push 0x1006e716
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
call fcn.1006da76
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1006e720
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 0x31], 1
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x1006e7b6
cmp dword [ebp - 0x18], 0
je 0x1006e740
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_CloseHandle
push 0x8000
push 0
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.dll_VirtualFree
cmp dword [ebp - 0x30], 0
jne 0x1006e75d
mov dword [ebp - 0x30], 0x770002
call fcn.1005df06
call fcn.1005df06
call fcn.1005df06
call fcn.1005df06
jmp 0x1006f16a
mov dword [ebp - 0x30], 0x770002
call fcn.1005df06
call fcn.1005df06
call fcn.1005df06
call fcn.1005df06
jmp 0x1006f16a
mov dword [ebp - 0x30], 0x770002
call fcn.1005df06
call fcn.1005df06
call fcn.1005df06
call fcn.1005df06
jmp 0x1006f16a
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x1006f06a
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x1006ea9c
mov edx, edi
mov eax, 0x2000
call fcn.1006d726
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov esi, edi
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.1006466a
cmp byte [ebp - 0x75], 0
je 0x1006e877
cmp dword [ebp - 0x68], 1
jne 0x1006e828
cmp word [ebp - 0x7a], 0xeb
je 0x1006e820
mov byte [ebx], 0xf
mov al, byte [ebp - 0x7a]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x1006e869
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x1006e869
cmp dword [ebp - 0x68], 2
jne 0x1006e850
mov eax, dword [ebp - 0x5c]
sub eax, esi
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 3
mov edx, ebx
mov eax, esi
inc eax
call fcn.1005d5f6
mov eax, ebx
add eax, dword [ebp - 0x10]
inc eax
mov ebx, eax
jmp 0x1006e869
mov eax, dword [ebp - 0x5c]
sub eax, esi
mov dword [ebp - 0x10], eax
mov edx, ebx
mov eax, esi
mov ecx, dword [ebp - 0x10]
call fcn.1005d5f6
mov eax, dword [ebp - 0x10]
add ebx, eax
mov edx, dword [ebp - 0x74]
mov eax, ebx
sub edx, eax
sub eax, 4
mov dword [eax], edx
jmp 0x1006e890
mov eax, dword [ebp - 0x5c]
sub eax, esi
mov dword [ebp - 0x10], eax
mov edx, ebx
mov eax, esi
mov ecx, dword [ebp - 0x10]
call fcn.1005d5f6
mov eax, dword [ebp - 0x10]
add ebx, eax
mov esi, dword [ebp - 0x5c]
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0x50]
jb 0x1006e7f0
mov byte [ebx], 0xe9
add ebx, 5
sub esi, ebx
sub ebx, 4
mov dword [ebx], esi
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
add ebx, 0x1000
sub ebx, 6
mov byte [ebx], 0xff
inc ebx
mov byte [ebx], 0x25
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
mov dword [ebx], eax
lea eax, [ebp - 0x44]
push eax
push 0x20
push 0x1000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.KERNEL32.dll_VirtualProtect
lea eax, [ebp - 0x44]
push eax
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
push eax
call sub.KERNEL32.dll_VirtualProtect
push 4
lea edx, [ebp - 0x110]
mov eax, dword [0x10098d68]
call fcn.10061b16
push dword [ebp - 0x110]
push 0x1006f1ea
push dword [ebp - 0x20]
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.1005e74a
mov eax, dword [ebp - 0x10c]
call fcn.1005e88a
push eax
call fcn.1006cd72
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1006eb3a
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1006eb3a
xor edx, edx
mov eax, 0x5c
call fcn.1006d726
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0x5c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [eax], 2
mov eax, dword [ebp - 0x58]
mov dword [eax + 4], 8
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov edx, dword [edx + 0xc]
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
mov cx, word [edx + 4]
mov word [eax + 0x14], cx
test byte [ebp + 0xd], 8
je 0x1006e9f5
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x16], 0xff
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x17], 0x25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x18], eax
jmp 0x1006ea34
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x16], ecx
mov cx, word [edx + 0x14]
mov word [eax + 0x1a], cx
mov eax, dword [ebp - 0x58]
add eax, 0x16
mov byte [eax], 0xe9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
sub eax, 6
mov edx, dword [ebp - 0x58]
mov edx, dword [edx + 0xc]
add edx, 5
sub eax, edx
mov edx, dword [ebp - 0x58]
add edx, 0x16
inc edx
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
add edx, 0x1000
mov dword [edx], eax
cmp byte [ebp - 0x31], 0
jne 0x1006ea59
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
jmp 0x1006ea61
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [eax + 0x28], edx
jmp 0x1006eb3a
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
mov eax, dword [esi]
mov eax, dword [esi + eax*8 + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [esi + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi]
jne 0x1006eb3a
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
xor edx, edx
call fcn.1006d726
mov ebx, eax
lea eax, [ebp - 0x44]
push eax
push 4
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
push eax
push ebx
call sub.KERNEL32.dll_VirtualProtect
mov ecx, dword [esi + 4]
shl ecx, 3
add ecx, 0x1c
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.1005d5f6
mov eax, dword [esi + 4]
add eax, eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], ebx
push 0x8000
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_VirtualFree
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0x3000
add eax, 4
mov edx, dword [ebp + 0x14]
mov dword [eax], edx
test byte [ebp + 0xc], 1
jne 0x1006ee1a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0x1000
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0x3000
add eax, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
add eax, 0x888
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x18]
add ebx, 0xa
test byte [ebp + 0xd], 4
jne 0x1006ec85
mov edx, ebx
mov eax, 0x10098ee8
mov ecx, 0x59
call fcn.1005d5f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, ebx
add edx, 7
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, ebx
add edx, 0xc
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
add edx, 0x11
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
sub eax, ebx
sub eax, 0x59
mov edx, ebx
add edx, 0x55
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
add ebx, 0x59
mov edx, ebx
mov eax, 0x10098f44
mov ecx, 0x2d
call fcn.1005d5f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, ebx
add edx, 8
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
add ebx, 0x1b
mov dword [ebx], eax
mov dword [ebp - 0x10], 0x63
xor esi, esi
mov edx, esi
shl edx, 3
sub edx, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
lea eax, [eax + edx*2]
mov word [eax + 3], 0x15ff
mov byte [eax + 9], 0xe8
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x20]
lea edx, [ecx + edx*2 + 9]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x18]
add ecx, dword [ebp - 0x10]
sub ecx, edx
sub ecx, 5
mov dword [eax + 0xa], ecx
mov byte [eax], 0x83
mov byte [eax + 1], 0xc4
mov byte [eax + 2], 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
add edx, 0x3000
add edx, 4
mov dword [eax + 5], edx
inc esi
cmp esi, 0x222
jne 0x1006ec25
jmp 0x1006edf5
mov edx, ebx
mov eax, 0x10098f74
mov ecx, 0x37c
call fcn.1005d5f6
mov eax, dword [ebp + 8]
add eax, 0xf
shl eax, 2
add eax, 0x10
mov edx, ebx
add edx, 0x14
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, ebx
add edx, 0x19
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, ebx
add edx, 0x26
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
add edx, 0x2b
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 3
shl eax, 2
mov edx, ebx
add edx, 0x59
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xe
shl eax, 2
mov edx, ebx
add edx, 0x60
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xd
shl eax, 2
mov edx, ebx
add edx, 0x67
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xc
shl eax, 2
mov edx, ebx
add edx, 0x6e
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xb
shl eax, 2
mov edx, ebx
add edx, 0x75
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 8
shl eax, 2
mov edx, ebx
add edx, 0x7c
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
shl eax, 2
mov edx, ebx
add edx, 0x83
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xa
shl eax, 2
mov edx, ebx
add edx, 0x8a
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
sub eax, ebx
sub eax, 0x94
mov edx, ebx
add edx, 0x90
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
shl eax, 2
mov edx, ebx
add edx, 0x99
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
shl eax, 2
mov edx, ebx
add edx, 0xc4
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 5
shl eax, 2
mov edx, ebx
add edx, 0xcd
mov dword [edx], eax
mov eax, dword [ebp + 8]
test eax, eax
jl 0x1006edef
inc eax
xor esi, esi
mov ecx, ebx
add ecx, 0xf5
mov edx, esi
mov edi, edx
add edi, edi
lea edi, [edi + edi*4]
add ecx, edi
mov edi, dword [ebp + 8]
add edi, 0xf
sub edi, edx
mov edx, edi
shl edx, 2
add edx, 0x10
mov dword [ecx], edx
mov edx, ebx
add edx, 0xfa
mov ecx, esi
add ecx, ecx
lea ecx, [ecx + ecx*4]
add edx, ecx
mov ecx, esi
shl ecx, 2
mov word [edx], cx
inc esi
dec eax
jne 0x1006edad
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 0x888
call fcn.1005feb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x888
call fcn.1005feb6
jmp 0x1006ef21
test byte [ebp + 0xd], 4
je 0x1006ef21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0xa
mov ebx, eax
mov edx, ebx
mov eax, 0x100992f0
mov ecx, 0x31f
call fcn.1005d5f6
mov eax, dword [ebp + 8]
add eax, 0xf
shl eax, 2
add eax, 0x10
mov edx, ebx
add edx, 0x14
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, ebx
add edx, 0x19
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xe
shl eax, 2
mov edx, ebx
add edx, 0x28
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xd
shl eax, 2
mov edx, ebx
add edx, 0x2f
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 8
shl eax, 2
mov edx, ebx
add edx, 0x36
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xa
shl eax, 2
mov edx, ebx
add edx, 0x3d
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
sub eax, ebx
sub eax, 0x47
mov edx, ebx
add edx, 0x43
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
shl eax, 2
mov edx, ebx
add edx, 0x4c
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
shl eax, 2
mov edx, ebx
add edx, 0x77
mov dword [edx], eax
mov eax, dword [ebp + 8]
test eax, eax
jl 0x1006ef1b
inc eax
xor esi, esi
mov ecx, ebx
add ecx, 0x98
mov edx, esi
mov edi, edx
add edi, edi
lea edi, [edi + edi*4]
add ecx, edi
mov edi, dword [ebp + 8]
add edi, 0xf
sub edi, edx
mov edx, edi
shl edx, 2
add edx, 0x10
mov dword [ecx], edx
mov edx, ebx
add edx, 0x9d
mov ecx, esi
add ecx, ecx
lea ecx, [ecx + ecx*4]
add edx, ecx
mov ecx, esi
shl ecx, 2
mov word [edx], cx
inc esi
dec eax
jne 0x1006eed9
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], edx
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x16]
mov dword [edx + 0x44], ecx
mov cx, word [eax + 0x1a]
mov word [edx + 0x48], cx
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x4a], ecx
mov cx, word [eax + 0x14]
mov word [edx + 0x4e], cx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov dword [eax + edx*8 + 0x1c], ecx
mov ecx, dword [eax + edx*8 + 0x18]
mov dword [eax + edx*8 + 0x20], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [eax + edx*8 + 0x14], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + edx*8 + 0x18], ecx
mov edx, dword [eax]
mov edx, dword [eax + edx*8 + 0x1c]
mov ecx, dword [eax]
mov ecx, dword [eax + ecx*8 + 0x18]
mov dword [ecx], edx
mov edx, dword [eax]
mov edx, dword [eax + edx*8 + 0x14]
mov ecx, dword [eax]
mov ecx, dword [eax + ecx*8 + 0x10]
mov dword [ecx], edx
inc dword [eax]
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
add eax, 0x44
cmp byte [eax], 0xe9
jne 0x1006efc2
mov dword [ebp - 0x50], 5
jmp 0x1006efc9
mov dword [ebp - 0x50], 6
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x1006f03f
cmp byte [0x10098c10], 0
jne 0x1006f03f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, dword [ebp - 0x50]
call fcn.10065ee2
test al, al
jne 0x1006f04d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add edx, 0x4a
cmp eax, dword [edx]
jne 0x1006f04d
cmp dword [ebp - 0x50], 5
jne 0x1006f01f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
add eax, 4
mov al, byte [eax]
mov edx, dword [ebp - 4]
add edx, 0x4a
add edx, 4
cmp al, byte [edx]
je 0x1006f03f
cmp dword [ebp - 0x50], 6
jne 0x1006f04d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
add eax, 4
mov ax, word [eax]
mov edx, dword [ebp - 4]
add edx, 0x4a
add edx, 4
cmp ax, word [edx]
jne 0x1006f04d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.1006f9e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1006f071
cmp dword [ebp - 0x1c], 0
je 0x1006f069
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1006f1bd
lea eax, [ebp - 0x110]
mov edx, 8
call fcn.1005e45a
lea eax, [ebp - 0xcc]
mov edx, 4
call fcn.1005e45a
lea eax, [ebp - 0xbc]
mov edx, dword [0x1006314e]
call fcn.1005ef62
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.1005e45a
ret