Function at 0x1007716e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x21
push 0
push 0
dec ecx
jne 0x10077177
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x10077191
add esp, 0xfffffff0
call fcn.10066956
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 [0x1006c14e]
call fcn.10067e9e
xor eax, eax
push ebp
push 0x100781b6
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 0x100771e1
mov dword [ebp + 8], 2
call fcn.10076b9a
xor ecx, ecx
push ebp
push 0x10078163
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.10076726
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 [0x100a3d70]
call fcn.100763d6
lea edx, [ebp - 0xc4]
mov eax, dword [0x100a3d54]
call fcn.1006ab16
push dword [ebp - 0xc4]
push 0x100781ea
push dword [ebp - 0x20]
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.1006774a
mov eax, dword [ebp - 0xc0]
call fcn.1006788a
push eax
call fcn.100759ee
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x10078140
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x14], 0
je 0x10077308
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor ecx, ecx
push ebp
push 0x100780bb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xcc]
mov eax, dword [0x100a3d68]
call fcn.1006ab16
push dword [ebp - 0xcc]
push 0x100781ea
push dword [ebp - 0x20]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.1006774a
mov eax, dword [ebp - 0xc8]
call fcn.1006788a
push eax
call fcn.10076106
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
call fcn.1007711e
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x10078097
push dword fs:[ecx]
mov dword fs:[ecx], esp
test byte [ebp + 0xd], 8
je 0x1007738a
mov dword [ebp - 0x50], 6
jmp 0x10077391
mov dword [ebp - 0x50], 5
test bl, bl
je 0x100777b6
test byte [ebp + 0xc], 2
jne 0x10077518
test byte [ebp + 0xf], 0x80
jne 0x10077518
cmp byte [0x100a3c24], 0
je 0x100773c9
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.1006e93e
jmp 0x1007741e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.1006d66a
mov esi, dword [ebp - 0x5c]
cmp byte [ebp - 0x7c], 0
je 0x10077409
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0x50]
jae 0x10077409
mov ax, word [ebp - 0x7a]
add eax, 0xffffff3e
sub ax, 2
jb 0x10077409
add eax, 0xfffffffa
sub ax, 2
jb 0x10077409
sub ax, 3
jne 0x100773cf
sub esi, edi
cmp esi, dword [ebp - 0x50]
jb 0x1007741e
mov byte [ebp - 0xbc], 1
mov byte [ebp - 0x94], 1
cmp byte [ebp - 0xbc], 0
je 0x10077456
cmp byte [ebp - 0x94], 0
je 0x10077456
cmp byte [0x100a3c00], 0
jne 0x10077518
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.10076f9a
test al, al
je 0x10077518
or dword [ebp + 0xc], 2
cmp byte [ebp - 0xbc], 0
je 0x10077473
cmp byte [ebp - 0x94], 0
je 0x10077473
mov dword [ebp - 0x30], 0x770004
test byte [ebp + 0xd], 2
je 0x10077518
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.1006d66a
cmp byte [ebp - 0x76], 0
je 0x10077518
cmp dword [ebp - 0x74], 0
je 0x10077518
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.1006e93e
mov esi, 0xa
cmp byte [ebp - 0xbc], 0
je 0x100774ff
cmp byte [ebp - 0x94], 0
jne 0x100774ff
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0x74]
call fcn.1006d66a
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 0x100774ff
cmp dword [ebp - 0x74], 0
je 0x100774ff
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.1006e93e
dec esi
jne 0x100774ae
cmp byte [ebp - 0xbc], 0
je 0x10077518
cmp byte [ebp - 0x94], 0
je 0x10077518
mov edi, dword [ebp - 0x74]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x100777b6
test byte [ebp + 0xc], 0x10
jne 0x10077796
cmp dword [ebp - 0xc], 0
je 0x10077796
lea edx, [ebp - 0xf8]
mov eax, dword [0x100a3d38]
call fcn.1006ab16
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov dl, 1
call fcn.1006ab4a
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 0x1007758c
test byte [ebp + 0xc], 0x80
je 0x1007758c
mov eax, dword [ebp - 0xc]
call fcn.10076732
mov ebx, eax
jmp 0x1007758e
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x1007759f
test ebx, ebx
je 0x10077776
xor edx, edx
mov eax, 0x1000
call fcn.10076726
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 [0x100a4dbc]
mov dword [eax], fcn.100764ce
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x100a3d6c]
call fcn.100763d6
push 4
lea edx, [ebp - 0x100]
mov eax, dword [0x100a3d68]
call fcn.1006ab16
push dword [ebp - 0x100]
push 0x100781ea
push dword [ebp - 0x24]
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.1006774a
mov eax, dword [ebp - 0xfc]
call fcn.1006788a
push eax
call fcn.10075d72
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1007768d
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 0x1007767f
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 0x1007768d
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 0x10077731
push ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.1007689e
test al, al
je 0x10077731
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x100776f0
lea edx, [ebp - 0x108]
mov eax, dword [0x100a3d38]
call fcn.1006ab16
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dl, 1
call fcn.1006ab4a
mov eax, dword [ebp - 0x104]
push eax
call sub.KERNEL32.dll_LoadLibraryW
xor eax, eax
push ebp
push 0x10077716
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.10076a76
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x10077720
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 0x31], 1
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x100777b6
cmp dword [ebp - 0x18], 0
je 0x10077740
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 0x1007775d
mov dword [ebp - 0x30], 0x770002
call fcn.10066f06
call fcn.10066f06
call fcn.10066f06
call fcn.10066f06
jmp 0x1007816a
mov dword [ebp - 0x30], 0x770002
call fcn.10066f06
call fcn.10066f06
call fcn.10066f06
call fcn.10066f06
jmp 0x1007816a
mov dword [ebp - 0x30], 0x770002
call fcn.10066f06
call fcn.10066f06
call fcn.10066f06
call fcn.10066f06
jmp 0x1007816a
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x1007806a
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x10077a9c
mov edx, edi
mov eax, 0x2000
call fcn.10076726
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.1006d66a
cmp byte [ebp - 0x75], 0
je 0x10077877
cmp dword [ebp - 0x68], 1
jne 0x10077828
cmp word [ebp - 0x7a], 0xeb
je 0x10077820
mov byte [ebx], 0xf
mov al, byte [ebp - 0x7a]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x10077869
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x10077869
cmp dword [ebp - 0x68], 2
jne 0x10077850
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.100665f6
mov eax, ebx
add eax, dword [ebp - 0x10]
inc eax
mov ebx, eax
jmp 0x10077869
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.100665f6
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 0x10077890
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.100665f6
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 0x100777f0
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 [0x100a3d68]
call fcn.1006ab16
push dword [ebp - 0x110]
push 0x100781ea
push dword [ebp - 0x20]
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.1006774a
mov eax, dword [ebp - 0x10c]
call fcn.1006788a
push eax
call fcn.10075d72
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10077b3a
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 0x10077b3a
xor edx, edx
mov eax, 0x5c
call fcn.10076726
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 0x100779f5
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 0x10077a34
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 0x10077a59
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
jmp 0x10077a61
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 0x10077b3a
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 0x10077b3a
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
xor edx, edx
call fcn.10076726
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.100665f6
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 0x10077e1a
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 0x10077c85
mov edx, ebx
mov eax, 0x100a3ee8
mov ecx, 0x59
call fcn.100665f6
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, 0x100a3f44
mov ecx, 0x2d
call fcn.100665f6
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 0x10077c25
jmp 0x10077df5
mov edx, ebx
mov eax, 0x100a3f74
mov ecx, 0x37c
call fcn.100665f6
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 0x10077def
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 0x10077dad
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.10068eb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x888
call fcn.10068eb6
jmp 0x10077f21
test byte [ebp + 0xd], 4
je 0x10077f21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0xa
mov ebx, eax
mov edx, ebx
mov eax, 0x100a42f0
mov ecx, 0x31f
call fcn.100665f6
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 0x10077f1b
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 0x10077ed9
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 0x10077fc2
mov dword [ebp - 0x50], 5
jmp 0x10077fc9
mov dword [ebp - 0x50], 6
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x1007803f
cmp byte [0x100a3c10], 0
jne 0x1007803f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, dword [ebp - 0x50]
call fcn.1006eee2
test al, al
jne 0x1007804d
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 0x1007804d
cmp dword [ebp - 0x50], 5
jne 0x1007801f
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 0x1007803f
cmp dword [ebp - 0x50], 6
jne 0x1007804d
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 0x1007804d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.100789e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10078071
cmp dword [ebp - 0x1c], 0
je 0x10078069
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 0x100781bd
lea eax, [ebp - 0x110]
mov edx, 8
call fcn.1006745a
lea eax, [ebp - 0xcc]
mov edx, 4
call fcn.1006745a
lea eax, [ebp - 0xbc]
mov edx, dword [0x1006c14e]
call fcn.10067f62
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.1006745a
ret