Function at 0x1006016e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x21
push 0
push 0
dec ecx
jne 0x10060177
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x10060191
add esp, 0xfffffff0
call fcn.1004f956
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 [0x1005514e]
call fcn.10050e9e
xor eax, eax
push ebp
push 0x100611b6
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 0x100601e1
mov dword [ebp + 8], 2
call fcn.1005fb9a
xor ecx, ecx
push ebp
push 0x10061163
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.1005f726
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 [0x10083d70]
call fcn.1005f3d6
lea edx, [ebp - 0xc4]
mov eax, dword [0x10083d54]
call fcn.10053b16
push dword [ebp - 0xc4]
push 0x100611ea
push dword [ebp - 0x20]
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.1005074a
mov eax, dword [ebp - 0xc0]
call fcn.1005088a
push eax
call fcn.1005e9ee
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x10061140
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x14], 0
je 0x10060308
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor ecx, ecx
push ebp
push 0x100610bb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xcc]
mov eax, dword [0x10083d68]
call fcn.10053b16
push dword [ebp - 0xcc]
push 0x100611ea
push dword [ebp - 0x20]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.1005074a
mov eax, dword [ebp - 0xc8]
call fcn.1005088a
push eax
call fcn.1005f106
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
call fcn.1006011e
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x10061097
push dword fs:[ecx]
mov dword fs:[ecx], esp
test byte [ebp + 0xd], 8
je 0x1006038a
mov dword [ebp - 0x50], 6
jmp 0x10060391
mov dword [ebp - 0x50], 5
test bl, bl
je 0x100607b6
test byte [ebp + 0xc], 2
jne 0x10060518
test byte [ebp + 0xf], 0x80
jne 0x10060518
cmp byte [0x10083c24], 0
je 0x100603c9
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.1005793e
jmp 0x1006041e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.1005666a
mov esi, dword [ebp - 0x5c]
cmp byte [ebp - 0x7c], 0
je 0x10060409
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0x50]
jae 0x10060409
mov ax, word [ebp - 0x7a]
add eax, 0xffffff3e
sub ax, 2
jb 0x10060409
add eax, 0xfffffffa
sub ax, 2
jb 0x10060409
sub ax, 3
jne 0x100603cf
sub esi, edi
cmp esi, dword [ebp - 0x50]
jb 0x1006041e
mov byte [ebp - 0xbc], 1
mov byte [ebp - 0x94], 1
cmp byte [ebp - 0xbc], 0
je 0x10060456
cmp byte [ebp - 0x94], 0
je 0x10060456
cmp byte [0x10083c00], 0
jne 0x10060518
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.1005ff9a
test al, al
je 0x10060518
or dword [ebp + 0xc], 2
cmp byte [ebp - 0xbc], 0
je 0x10060473
cmp byte [ebp - 0x94], 0
je 0x10060473
mov dword [ebp - 0x30], 0x770004
test byte [ebp + 0xd], 2
je 0x10060518
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.1005666a
cmp byte [ebp - 0x76], 0
je 0x10060518
cmp dword [ebp - 0x74], 0
je 0x10060518
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.1005793e
mov esi, 0xa
cmp byte [ebp - 0xbc], 0
je 0x100604ff
cmp byte [ebp - 0x94], 0
jne 0x100604ff
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0x74]
call fcn.1005666a
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 0x100604ff
cmp dword [ebp - 0x74], 0
je 0x100604ff
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.1005793e
dec esi
jne 0x100604ae
cmp byte [ebp - 0xbc], 0
je 0x10060518
cmp byte [ebp - 0x94], 0
je 0x10060518
mov edi, dword [ebp - 0x74]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x100607b6
test byte [ebp + 0xc], 0x10
jne 0x10060796
cmp dword [ebp - 0xc], 0
je 0x10060796
lea edx, [ebp - 0xf8]
mov eax, dword [0x10083d38]
call fcn.10053b16
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov dl, 1
call fcn.10053b4a
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 0x1006058c
test byte [ebp + 0xc], 0x80
je 0x1006058c
mov eax, dword [ebp - 0xc]
call fcn.1005f732
mov ebx, eax
jmp 0x1006058e
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x1006059f
test ebx, ebx
je 0x10060776
xor edx, edx
mov eax, 0x1000
call fcn.1005f726
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 [0x10084dbc]
mov dword [eax], fcn.1005f4ce
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x10083d6c]
call fcn.1005f3d6
push 4
lea edx, [ebp - 0x100]
mov eax, dword [0x10083d68]
call fcn.10053b16
push dword [ebp - 0x100]
push 0x100611ea
push dword [ebp - 0x24]
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.1005074a
mov eax, dword [ebp - 0xfc]
call fcn.1005088a
push eax
call fcn.1005ed72
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1006068d
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 0x1006067f
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 0x1006068d
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 0x10060731
push ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.1005f89e
test al, al
je 0x10060731
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x100606f0
lea edx, [ebp - 0x108]
mov eax, dword [0x10083d38]
call fcn.10053b16
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dl, 1
call fcn.10053b4a
mov eax, dword [ebp - 0x104]
push eax
call sub.KERNEL32.dll_LoadLibraryW
xor eax, eax
push ebp
push 0x10060716
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.1005fa76
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x10060720
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 0x31], 1
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x100607b6
cmp dword [ebp - 0x18], 0
je 0x10060740
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 0x1006075d
mov dword [ebp - 0x30], 0x770002
call fcn.1004ff06
call fcn.1004ff06
call fcn.1004ff06
call fcn.1004ff06
jmp 0x1006116a
mov dword [ebp - 0x30], 0x770002
call fcn.1004ff06
call fcn.1004ff06
call fcn.1004ff06
call fcn.1004ff06
jmp 0x1006116a
mov dword [ebp - 0x30], 0x770002
call fcn.1004ff06
call fcn.1004ff06
call fcn.1004ff06
call fcn.1004ff06
jmp 0x1006116a
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x1006106a
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x10060a9c
mov edx, edi
mov eax, 0x2000
call fcn.1005f726
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.1005666a
cmp byte [ebp - 0x75], 0
je 0x10060877
cmp dword [ebp - 0x68], 1
jne 0x10060828
cmp word [ebp - 0x7a], 0xeb
je 0x10060820
mov byte [ebx], 0xf
mov al, byte [ebp - 0x7a]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x10060869
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x10060869
cmp dword [ebp - 0x68], 2
jne 0x10060850
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.1004f5f6
mov eax, ebx
add eax, dword [ebp - 0x10]
inc eax
mov ebx, eax
jmp 0x10060869
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.1004f5f6
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 0x10060890
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.1004f5f6
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 0x100607f0
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 [0x10083d68]
call fcn.10053b16
push dword [ebp - 0x110]
push 0x100611ea
push dword [ebp - 0x20]
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.1005074a
mov eax, dword [ebp - 0x10c]
call fcn.1005088a
push eax
call fcn.1005ed72
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10060b3a
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 0x10060b3a
xor edx, edx
mov eax, 0x5c
call fcn.1005f726
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 0x100609f5
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 0x10060a34
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 0x10060a59
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
jmp 0x10060a61
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 0x10060b3a
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 0x10060b3a
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
xor edx, edx
call fcn.1005f726
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.1004f5f6
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 0x10060e1a
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 0x10060c85
mov edx, ebx
mov eax, 0x10083ee8
mov ecx, 0x59
call fcn.1004f5f6
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, 0x10083f44
mov ecx, 0x2d
call fcn.1004f5f6
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 0x10060c25
jmp 0x10060df5
mov edx, ebx
mov eax, 0x10083f74
mov ecx, 0x37c
call fcn.1004f5f6
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 0x10060def
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 0x10060dad
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.10051eb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x888
call fcn.10051eb6
jmp 0x10060f21
test byte [ebp + 0xd], 4
je 0x10060f21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0xa
mov ebx, eax
mov edx, ebx
mov eax, 0x100842f0
mov ecx, 0x31f
call fcn.1004f5f6
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 0x10060f1b
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 0x10060ed9
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 0x10060fc2
mov dword [ebp - 0x50], 5
jmp 0x10060fc9
mov dword [ebp - 0x50], 6
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x1006103f
cmp byte [0x10083c10], 0
jne 0x1006103f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, dword [ebp - 0x50]
call fcn.10057ee2
test al, al
jne 0x1006104d
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 0x1006104d
cmp dword [ebp - 0x50], 5
jne 0x1006101f
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 0x1006103f
cmp dword [ebp - 0x50], 6
jne 0x1006104d
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 0x1006104d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.100619e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10061071
cmp dword [ebp - 0x1c], 0
je 0x10061069
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 0x100611bd
lea eax, [ebp - 0x110]
mov edx, 8
call fcn.1005045a
lea eax, [ebp - 0xcc]
mov edx, 4
call fcn.1005045a
lea eax, [ebp - 0xbc]
mov edx, dword [0x1005514e]
call fcn.10050f62
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.1005045a
ret