Function at 0x10013068
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x21
push 0
push 0
dec ecx
jne 0x10013071
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x1001308b
add esp, 0xfffffff0
call fcn.10002934
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 [0x100080fc]
call fcn.10003e7c
xor eax, eax
push ebp
push 0x100140b0
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 0x100130db
mov dword [ebp + 8], 2
call fcn.10012a94
xor ecx, ecx
push ebp
push 0x1001405d
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.10012620
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 [0x100b5d70]
call fcn.100122d0
lea edx, [ebp - 0xc4]
mov eax, dword [0x100b5d54]
call fcn.10006ac4
push dword [ebp - 0xc4]
push 0x100140e4
push dword [ebp - 0x20]
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.10003728
mov eax, dword [ebp - 0xc0]
call fcn.10003868
push eax
call fcn.100118e8
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x1001403a
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x14], 0
je 0x10013202
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor ecx, ecx
push ebp
push 0x10013fb5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xcc]
mov eax, dword [0x100b5d68]
call fcn.10006ac4
push dword [ebp - 0xcc]
push 0x100140e4
push dword [ebp - 0x20]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.10003728
mov eax, dword [ebp - 0xc8]
call fcn.10003868
push eax
call fcn.10012000
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
call fcn.10013018
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x10013f91
push dword fs:[ecx]
mov dword fs:[ecx], esp
test byte [ebp + 0xd], 8
je 0x10013284
mov dword [ebp - 0x50], 6
jmp 0x1001328b
mov dword [ebp - 0x50], 5
test bl, bl
je 0x100136b0
test byte [ebp + 0xc], 2
jne 0x10013412
test byte [ebp + 0xf], 0x80
jne 0x10013412
cmp byte [0x100b5c24], 0
je 0x100132c3
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.1000a8e4
jmp 0x10013318
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.10009618
mov esi, dword [ebp - 0x5c]
cmp byte [ebp - 0x7c], 0
je 0x10013303
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0x50]
jae 0x10013303
mov ax, word [ebp - 0x7a]
add eax, 0xffffff3e
sub ax, 2
jb 0x10013303
add eax, 0xfffffffa
sub ax, 2
jb 0x10013303
sub ax, 3
jne 0x100132c9
sub esi, edi
cmp esi, dword [ebp - 0x50]
jb 0x10013318
mov byte [ebp - 0xbc], 1
mov byte [ebp - 0x94], 1
cmp byte [ebp - 0xbc], 0
je 0x10013350
cmp byte [ebp - 0x94], 0
je 0x10013350
cmp byte [0x100b5c00], 0
jne 0x10013412
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.10012e94
test al, al
je 0x10013412
or dword [ebp + 0xc], 2
cmp byte [ebp - 0xbc], 0
je 0x1001336d
cmp byte [ebp - 0x94], 0
je 0x1001336d
mov dword [ebp - 0x30], 0x770004
test byte [ebp + 0xd], 2
je 0x10013412
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.10009618
cmp byte [ebp - 0x76], 0
je 0x10013412
cmp dword [ebp - 0x74], 0
je 0x10013412
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.1000a8e4
mov esi, 0xa
cmp byte [ebp - 0xbc], 0
je 0x100133f9
cmp byte [ebp - 0x94], 0
jne 0x100133f9
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0x74]
call fcn.10009618
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 0x100133f9
cmp dword [ebp - 0x74], 0
je 0x100133f9
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x74]
call fcn.1000a8e4
dec esi
jne 0x100133a8
cmp byte [ebp - 0xbc], 0
je 0x10013412
cmp byte [ebp - 0x94], 0
je 0x10013412
mov edi, dword [ebp - 0x74]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x100136b0
test byte [ebp + 0xc], 0x10
jne 0x10013690
cmp dword [ebp - 0xc], 0
je 0x10013690
lea edx, [ebp - 0xf8]
mov eax, dword [0x100b5d38]
call fcn.10006ac4
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov dl, 1
call fcn.10006af8
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 0x10013486
test byte [ebp + 0xc], 0x80
je 0x10013486
mov eax, dword [ebp - 0xc]
call fcn.1001262c
mov ebx, eax
jmp 0x10013488
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x10013499
test ebx, ebx
je 0x10013670
xor edx, edx
mov eax, 0x1000
call fcn.10012620
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 [0x100b6d9c]
mov dword [eax], fcn.100123c8
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x100b5d6c]
call fcn.100122d0
push 4
lea edx, [ebp - 0x100]
mov eax, dword [0x100b5d68]
call fcn.10006ac4
push dword [ebp - 0x100]
push 0x100140e4
push dword [ebp - 0x24]
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.10003728
mov eax, dword [ebp - 0xfc]
call fcn.10003868
push eax
call fcn.10011c6c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10013587
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 0x10013579
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 0x10013587
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 0x1001362b
push ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.10012798
test al, al
je 0x1001362b
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x100135ea
lea edx, [ebp - 0x108]
mov eax, dword [0x100b5d38]
call fcn.10006ac4
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dl, 1
call fcn.10006af8
mov eax, dword [ebp - 0x104]
push eax
call sub.KERNEL32.dll_LoadLibraryW
xor eax, eax
push ebp
push 0x10013610
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.10012970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1001361a
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 0x31], 1
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x100136b0
cmp dword [ebp - 0x18], 0
je 0x1001363a
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 0x10013657
mov dword [ebp - 0x30], 0x770002
call fcn.10002ee4
call fcn.10002ee4
call fcn.10002ee4
call fcn.10002ee4
jmp 0x10014064
mov dword [ebp - 0x30], 0x770002
call fcn.10002ee4
call fcn.10002ee4
call fcn.10002ee4
call fcn.10002ee4
jmp 0x10014064
mov dword [ebp - 0x30], 0x770002
call fcn.10002ee4
call fcn.10002ee4
call fcn.10002ee4
call fcn.10002ee4
jmp 0x10014064
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x10013f64
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x10013996
mov edx, edi
mov eax, 0x2000
call fcn.10012620
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.10009618
cmp byte [ebp - 0x75], 0
je 0x10013771
cmp dword [ebp - 0x68], 1
jne 0x10013722
cmp word [ebp - 0x7a], 0xeb
je 0x1001371a
mov byte [ebx], 0xf
mov al, byte [ebp - 0x7a]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x10013763
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x10013763
cmp dword [ebp - 0x68], 2
jne 0x1001374a
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.100025d4
mov eax, ebx
add eax, dword [ebp - 0x10]
inc eax
mov ebx, eax
jmp 0x10013763
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.100025d4
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 0x1001378a
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.100025d4
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 0x100136ea
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 [0x100b5d68]
call fcn.10006ac4
push dword [ebp - 0x110]
push 0x100140e4
push dword [ebp - 0x20]
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.10003728
mov eax, dword [ebp - 0x10c]
call fcn.10003868
push eax
call fcn.10011c6c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10013a34
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 0x10013a34
xor edx, edx
mov eax, 0x5c
call fcn.10012620
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 0x100138ef
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 0x1001392e
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 0x10013953
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
jmp 0x1001395b
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 0x10013a34
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 0x10013a34
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
xor edx, edx
call fcn.10012620
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.100025d4
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 0x10013d14
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 0x10013b7f
mov edx, ebx
mov eax, 0x100b5ed0
mov ecx, 0x59
call fcn.100025d4
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, 0x100b5f2c
mov ecx, 0x2d
call fcn.100025d4
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 0x10013b1f
jmp 0x10013cef
mov edx, ebx
mov eax, 0x100b5f5c
mov ecx, 0x37c
call fcn.100025d4
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 0x10013ce9
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 0x10013ca7
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.10004e64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x888
call fcn.10004e64
jmp 0x10013e1b
test byte [ebp + 0xd], 4
je 0x10013e1b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0xa
mov ebx, eax
mov edx, ebx
mov eax, 0x100b62d8
mov ecx, 0x31f
call fcn.100025d4
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 0x10013e15
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 0x10013dd3
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 0x10013ebc
mov dword [ebp - 0x50], 5
jmp 0x10013ec3
mov dword [ebp - 0x50], 6
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x10013f39
cmp byte [0x100b5c10], 0
jne 0x10013f39
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, dword [ebp - 0x50]
call fcn.1000ae88
test al, al
jne 0x10013f47
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 0x10013f47
cmp dword [ebp - 0x50], 5
jne 0x10013f19
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 0x10013f39
cmp dword [ebp - 0x50], 6
jne 0x10013f47
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 0x10013f47
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.100148e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10013f6b
cmp dword [ebp - 0x1c], 0
je 0x10013f63
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 0x100140b7
lea eax, [ebp - 0x110]
mov edx, 8
call fcn.10003438
lea eax, [ebp - 0xcc]
mov edx, 4
call fcn.10003438
lea eax, [ebp - 0xbc]
mov edx, dword [0x100080fc]
call fcn.10003f40
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.10003438
ret