Function at 0x10018260
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [0x1004a870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.1001afa0
add esp, 0xc
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x1e4], 0x104
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x1b4], 1
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 0
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
push 0x1003f4e0
push 0
call fcn.1001fd47
add esp, 8
lea edx, [ebp - 0x180]
push edx
push 0x2000000
call dword [0x10038148]
push eax
call dword [0x1003801c]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10018378
push 0
push 0
push 0x3e9
call fcn.100012e0
add esp, 0xc
jmp 0x10018d4c
mov eax, 0xc
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x114]
push edx
push 0x1003f4e4
push 0
call dword [0x10038024]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x100183bf
push 0
push 0
push 0x3ea
call fcn.100012e0
add esp, 0xc
jmp 0x10018d4c
mov dword [ebp - 0x118], 1
mov eax, 0xc
imul ecx, eax, 0
mov dword [ebp + ecx - 0x10c], 2
push 0
push 0
push 0
lea edx, [ebp - 0x118]
push edx
push 0
mov eax, dword [ebp - 0x180]
push eax
call dword [0x10038020]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10018422
push 0
push 0
push 0x3eb
call fcn.100012e0
add esp, 0xc
jmp 0x10018d4c
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x124]
push edx
push 1
push 0
push 0
call fcn.10036f72
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10018465
push 0
push 0
push 0x3ec
call fcn.100012e0
add esp, 0xc
jmp 0x10018d4c
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x158]
push eax
push 0x1003f508
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001df93
add esp, 0xc
mov dword [ebp - 0x120], 0
jmp 0x100184bb
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x194]
add eax, 1
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x158]
jae 0x10018d3d
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x16c], pe_nt_image_headers32
push 0x104
push 0
lea edx, [ebp - 0x108]
push edx
call fcn.1001afa0
add esp, 0xc
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x16c]
push ecx
push 0
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x120]
shl ecx, 4
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + ecx + 0xc]
push eax
push 0
call dword [0x10038008]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x140]
mov cl, byte [eax]
mov byte [ebp - 0x12d], cl
add dword [ebp - 0x140], 1
cmp byte [ebp - 0x12d], 0
jne 0x1001858e
mov edx, dword [ebp - 0x140]
sub edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e8], edx
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001e0a5
add esp, 4
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x154]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x13c]
push edx
call fcn.1001afa0
add esp, 0xc
mov eax, dword [ebp - 0x154]
add eax, 1
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x108]
push edx
push 1
push 0
call dword [0x1003808c]
mov eax, dword [ebp - 0x120]
shl eax, 4
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx + eax + 4]
push edx
push 0
push 0x410
call dword [0x10038144]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x10018acf
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1e4], 0x104
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x174], 0x8000
push 4
push 0x1000
push 0x8000
push 0
call dword [0x100380f0]
mov dword [ebp - 0x128], eax
push 0x104
push 0
mov eax, dword [ebp - 0x128]
push eax
call fcn.1001afa0
add esp, 0xc
cmp dword [0x1004c41c], 0x3fa
jb 0x100187b4
push 0x1003f50c
call dword [0x10038180]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jne 0x10018722
push 0
push 0
push 0x7d1
call fcn.100012e0
add esp, 0xc
jmp 0x10018acf
push str.QueryFullProcessImageNameW
mov ecx, dword [ebp - 0x188]
push ecx
call dword [0x1003817c]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0x1001875e
push 0
push 0
push 0x7d2
call fcn.100012e0
add esp, 0xc
jmp 0x10018acf
lea edx, [ebp - 0x174]
push edx
mov eax, dword [ebp - 0x128]
push eax
push 0
mov ecx, dword [ebp - 0x144]
push ecx
call dword [ebp - 0x18c]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0
je 0x100187af
push 0
push 0
push 0x3ef
call fcn.100012e0
add esp, 0xc
jmp 0x10018acf
jmp 0x10018845
lea edx, [ebp - 0x1ac]
push edx
push 4
lea eax, [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.10036f66
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x100187fa
push 0
push 0
push 0x3ef
call fcn.100012e0
add esp, 0xc
jmp 0x10018acf
mov edx, dword [ebp - 0x174]
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x144]
push edx
call fcn.10036f6c
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10018845
push 0
push 0
push 0x7e4
call fcn.100012e0
add esp, 0xc
jmp 0x10018acf
push 0
mov eax, dword [ebp - 0x128]
push eax
call fcn.10036f7e
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x1001886c
jmp 0x10018acf
mov eax, dword [ebp - 0x138]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001e0a5
add esp, 4
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
push 0
mov eax, dword [ebp - 0x128]
push eax
call fcn.10036f84
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x100188e6
push 0
push 0
push 0x3f2
call fcn.100012e0
add esp, 0xc
jmp 0x10018acf
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x198], 0
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp - 0x178]
push edx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x134]
push eax
call fcn.10036f8a
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10018943
push 0
push 0
push 0x3f3
call fcn.100012e0
add esp, 0xc
jmp 0x10018acf
mov eax, dword [ebp - 0x138]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001e0a5
add esp, 4
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x14c], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x178]
movzx ecx, word [eax + edx + 2]
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x178]
movzx edx, word [ecx + eax]
push edx
push str.StringFileInfo_04x_04xFileDescription
push 0x32
mov eax, dword [ebp - 0x14c]
push eax
call fcn.10018160
add esp, 0x14
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x100189de
push 0
push 0
push 0x3f4
call fcn.100012e0
add esp, 0xc
jmp 0x10018acf
lea ecx, [ebp - 0x1bc]
push ecx
lea edx, [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.10036f8a
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10018a18
jmp 0x10018acf
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
add eax, 2
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x148]
mov dx, word [ecx]
mov word [ebp - 0x16e], dx
add dword [ebp - 0x148], 2
cmp word [ebp - 0x16e], 0
jne 0x10018a33
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x1d4]
sar eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x17c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x17c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001e0a5
add esp, 4
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x17c]
push ecx
mov edx, dword [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.1000d3c0
add esp, 0xc
mov dword [ebp - 0x15c], 1
cmp dword [ebp - 0x15c], 0
jne 0x10018ba3
mov ecx, dword [ebp - 0x120]
shl ecx, 4
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
add ecx, 2
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x150]
mov ax, word [edx]
mov word [ebp - 0x166], ax
add dword [ebp - 0x150], 2
cmp word [ebp - 0x166], 0
jne 0x10018b04
mov ecx, dword [ebp - 0x150]
sub ecx, dword [ebp - 0x1a8]
sar ecx, 1
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
add edx, 1
mov dword [ebp - 0x184], edx
xor ecx, ecx
mov eax, dword [ebp - 0x184]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001e0a5
add esp, 4
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x184]
push ecx
mov edx, dword [ebp - 0x120]
shl edx, 4
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
call fcn.1000d3c0
add esp, 0xc
mov eax, dword [ebp - 0x120]
shl eax, 4
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx + eax + 8]
push edx
push 0x1003f56c
mov eax, dword [ebp + 8]
push eax
call fcn.1001d714
add esp, 0xc
mov ecx, dword [ebp - 0x120]
shl ecx, 4
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + ecx + 4]
push eax
push 0x1003f5cc
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001df93
add esp, 0xc
mov edx, dword [ebp - 0x13c]
push edx
push 0x1003f5d0
mov eax, dword [ebp + 8]
push eax
call fcn.1001d714
add esp, 0xc
mov ecx, dword [ebp - 0x120]
shl ecx, 4
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + ecx + 0xc]
push eax
push 0x1003f5dc
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001df93
add esp, 0xc
mov edx, dword [ebp - 0x120]
shl edx, 4
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + edx]
push ecx
push 0x1003f5e0
mov edx, dword [ebp + 8]
push edx
call fcn.1001df93
add esp, 0xc
mov eax, dword [ebp - 0x128]
push eax
push 0x1003f5e4
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001d714
add esp, 0xc
mov edx, dword [ebp - 0x12c]
push edx
push str._ls_n_n
mov eax, dword [ebp + 8]
push eax
call fcn.1001d714
add esp, 0xc
mov ecx, dword [ebp - 0x144]
push ecx
call dword [0x10038078]
cmp dword [ebp - 0x128], 0
je 0x10018ca8
push 0x8000
push 0
mov edx, dword [ebp - 0x128]
push edx
call dword [0x100380f4]
cmp dword [ebp - 0x13c], 0
je 0x10018ccc
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
push ecx
call fcn.1001990a
add esp, 4
cmp dword [ebp - 0x134], 0
je 0x10018cf0
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c8]
push eax
call fcn.1001990a
add esp, 4
cmp dword [ebp - 0x14c], 0
je 0x10018d14
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1d0]
push edx
call fcn.1001990a
add esp, 4
cmp dword [ebp - 0x12c], 0
je 0x10018d38
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
push ecx
call fcn.1001990a
add esp, 4
jmp 0x1001849d
mov edx, dword [ebp - 0x160]
add edx, 1
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x124], 0
je 0x10018d61
mov eax, dword [ebp - 0x124]
push eax
call fcn.10036f78
cmp dword [ebp - 0x118], 0
jne 0x10018d74
lea ecx, [ebp - 0x114]
test ecx, ecx
je 0x10018d8e
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a094
mov esp, ebp
pop ebp
ret