Function at 0x100d116e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x21
push 0
push 0
dec ecx
jne 0x100d1177
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x100d1191
add esp, 0xfffffff0
call fcn.100c0956
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 [0x100c614e]
call fcn.100c1e9e
xor eax, eax
push ebp
push 0x100d21b6
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 0x100d11e1
mov dword [ebp + 8], 2
call fcn.100d0b9a
xor ecx, ecx
push ebp
push 0x100d2163
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.100d0726
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 [0x100fed70]
call fcn.100d03d6
lea edx, [ebp - 0xc4]
mov eax, dword [0x100fed54]
call fcn.100c4b16
push dword [ebp - 0xc4]
push 0x100d21ea
push dword [ebp - 0x20]
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.100c174a
mov eax, dword [ebp - 0xc0]
call fcn.100c188a
push eax
call fcn.100cf9ee
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x100d2140
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x14], 0
je 0x100d1308
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor ecx, ecx
push ebp
push 0x100d20bb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xcc]
mov eax, dword [0x100fed68]
call fcn.100c4b16
push dword [ebp - 0xcc]
push 0x100d21ea
push dword [ebp - 0x20]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.100c174a
mov eax, dword [ebp - 0xc8]
call fcn.100c188a
push eax
call fcn.100d0106
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
call fcn.100d111e
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x100d2097
push dword fs:[ecx]
mov dword fs:[ecx], esp
test byte [ebp + 0xd], 8
je 0x100d138a
mov dword [ebp - 0x50], 6
jmp 0x100d1391
mov dword [ebp - 0x50], 5
test bl, bl
je 0x100d17b6
test byte [ebp + 0xc], 2
jne 0x100d1518
test byte [ebp + 0xf], 0x80
jne 0x100d1518
cmp byte [0x100fec24], 0
je 0x100d13c9
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.100c893e
jmp 0x100d141e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.100c766a
mov esi, dword [ebp - 0x5c]
cmp byte [ebp - 0x7c], 0
je 0x100d1409
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0x50]
jae 0x100d1409
mov ax, word [ebp - 0x7a]
add eax, 0xffffff3e
sub ax, 2
jb 0x100d1409
add eax, 0xfffffffa
sub ax, 2
jb 0x100d1409
sub ax, 3
jne 0x100d13cf
sub esi, edi
cmp esi, dword [ebp - 0x50]
jb 0x100d141e
mov byte [ebp - 0xbc], 1
mov byte [ebp - 0x94], 1
cmp byte [ebp - 0xbc], 0
je 0x100d1456
cmp byte [ebp - 0x94], 0
je 0x100d1456
cmp byte [0x100fec00], 0
jne 0x100d1518
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.100d0f9a
test al, al
je 0x100d1518
or dword [ebp + 0xc], 2
cmp byte [ebp - 0xbc], 0
je 0x100d1473
cmp byte [ebp - 0x94], 0
je 0x100d1473
mov dword [ebp - 0x30], 0x770004
test byte [ebp + 0xd], 2
je 0x100d1518
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.100c766a
cmp byte [ebp - 0x76], 0
je 0x100d1518
cmp dword [ebp - 0x74], 0
je 0x100d1518
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.100c893e
mov esi, 0xa
cmp byte [ebp - 0xbc], 0
je 0x100d14ff
cmp byte [ebp - 0x94], 0
jne 0x100d14ff
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0x74]
call fcn.100c766a
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 0x100d14ff
cmp dword [ebp - 0x74], 0
je 0x100d14ff
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.100c893e
dec esi
jne 0x100d14ae
cmp byte [ebp - 0xbc], 0
je 0x100d1518
cmp byte [ebp - 0x94], 0
je 0x100d1518
mov edi, dword [ebp - 0x74]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x100d17b6
test byte [ebp + 0xc], 0x10
jne 0x100d1796
cmp dword [ebp - 0xc], 0
je 0x100d1796
lea edx, [ebp - 0xf8]
mov eax, dword [0x100fed38]
call fcn.100c4b16
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov dl, 1
call fcn.100c4b4a
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 0x100d158c
test byte [ebp + 0xc], 0x80
je 0x100d158c
mov eax, dword [ebp - 0xc]
call fcn.100d0732
mov ebx, eax
jmp 0x100d158e
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x100d159f
test ebx, ebx
je 0x100d1776
xor edx, edx
mov eax, 0x1000
call fcn.100d0726
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 [0x100ffdbc]
mov dword [eax], fcn.100d04ce
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x100fed6c]
call fcn.100d03d6
push 4
lea edx, [ebp - 0x100]
mov eax, dword [0x100fed68]
call fcn.100c4b16
push dword [ebp - 0x100]
push 0x100d21ea
push dword [ebp - 0x24]
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.100c174a
mov eax, dword [ebp - 0xfc]
call fcn.100c188a
push eax
call fcn.100cfd72
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100d168d
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 0x100d167f
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 0x100d168d
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 0x100d1731
push ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.100d089e
test al, al
je 0x100d1731
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x100d16f0
lea edx, [ebp - 0x108]
mov eax, dword [0x100fed38]
call fcn.100c4b16
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dl, 1
call fcn.100c4b4a
mov eax, dword [ebp - 0x104]
push eax
call sub.KERNEL32.dll_LoadLibraryW
xor eax, eax
push ebp
push 0x100d1716
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.100d0a76
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x100d1720
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 0x31], 1
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x100d17b6
cmp dword [ebp - 0x18], 0
je 0x100d1740
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 0x100d175d
mov dword [ebp - 0x30], 0x770002
call fcn.100c0f06
call fcn.100c0f06
call fcn.100c0f06
call fcn.100c0f06
jmp 0x100d216a
mov dword [ebp - 0x30], 0x770002
call fcn.100c0f06
call fcn.100c0f06
call fcn.100c0f06
call fcn.100c0f06
jmp 0x100d216a
mov dword [ebp - 0x30], 0x770002
call fcn.100c0f06
call fcn.100c0f06
call fcn.100c0f06
call fcn.100c0f06
jmp 0x100d216a
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x100d206a
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x100d1a9c
mov edx, edi
mov eax, 0x2000
call fcn.100d0726
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.100c766a
cmp byte [ebp - 0x75], 0
je 0x100d1877
cmp dword [ebp - 0x68], 1
jne 0x100d1828
cmp word [ebp - 0x7a], 0xeb
je 0x100d1820
mov byte [ebx], 0xf
mov al, byte [ebp - 0x7a]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x100d1869
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x100d1869
cmp dword [ebp - 0x68], 2
jne 0x100d1850
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.100c05f6
mov eax, ebx
add eax, dword [ebp - 0x10]
inc eax
mov ebx, eax
jmp 0x100d1869
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.100c05f6
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 0x100d1890
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.100c05f6
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 0x100d17f0
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 [0x100fed68]
call fcn.100c4b16
push dword [ebp - 0x110]
push 0x100d21ea
push dword [ebp - 0x20]
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.100c174a
mov eax, dword [ebp - 0x10c]
call fcn.100c188a
push eax
call fcn.100cfd72
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100d1b3a
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 0x100d1b3a
xor edx, edx
mov eax, 0x5c
call fcn.100d0726
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 0x100d19f5
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 0x100d1a34
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 0x100d1a59
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
jmp 0x100d1a61
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 0x100d1b3a
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 0x100d1b3a
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
xor edx, edx
call fcn.100d0726
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.100c05f6
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 0x100d1e1a
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 0x100d1c85
mov edx, ebx
mov eax, 0x100feee8
mov ecx, 0x59
call fcn.100c05f6
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, 0x100fef44
mov ecx, 0x2d
call fcn.100c05f6
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 0x100d1c25
jmp 0x100d1df5
mov edx, ebx
mov eax, 0x100fef74
mov ecx, 0x37c
call fcn.100c05f6
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 0x100d1def
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 0x100d1dad
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.100c2eb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x888
call fcn.100c2eb6
jmp 0x100d1f21
test byte [ebp + 0xd], 4
je 0x100d1f21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0xa
mov ebx, eax
mov edx, ebx
mov eax, 0x100ff2f0
mov ecx, 0x31f
call fcn.100c05f6
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 0x100d1f1b
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 0x100d1ed9
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 0x100d1fc2
mov dword [ebp - 0x50], 5
jmp 0x100d1fc9
mov dword [ebp - 0x50], 6
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x100d203f
cmp byte [0x100fec10], 0
jne 0x100d203f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, dword [ebp - 0x50]
call fcn.100c8ee2
test al, al
jne 0x100d204d
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 0x100d204d
cmp dword [ebp - 0x50], 5
jne 0x100d201f
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 0x100d203f
cmp dword [ebp - 0x50], 6
jne 0x100d204d
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 0x100d204d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.100d29e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100d2071
cmp dword [ebp - 0x1c], 0
je 0x100d2069
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 0x100d21bd
lea eax, [ebp - 0x110]
mov edx, 8
call fcn.100c145a
lea eax, [ebp - 0xcc]
mov edx, 4
call fcn.100c145a
lea eax, [ebp - 0xbc]
mov edx, dword [0x100c614e]
call fcn.100c1f62
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.100c145a
ret