Function at 0x1b481150
Capabilities:
Get common file path
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1b49a62c
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x1b4bd79c]
xor eax, ebp
mov dword [ebp - 0x6c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3a0], ecx
lea ecx, [ebp - 0x14]
call fcn.1b4649d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x5c], 0x3001001f
mov dword [ebp - 0x58], 0x3d04000b
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 0x3001001f
mov dword [ebp - 0x20], 0xfff0102
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x4b], 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x68], 0
call fcn.1b487f70
test eax, eax
je 0x1b481259
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
shl eax, 1
push eax
call fcn.1b48a1a3
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x1b481246
mov dword [ebp - 0x120], 0xfffffc0d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.1b464ba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1b47a9c0
mov eax, dword [ebp - 0x120]
jmp 0x1b481e73
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x38], eax
jmp 0x1b4812bc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
call fcn.1b48a1a3
add esp, 4
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x1b4812ab
mov dword [ebp - 0x124], 0xfffffc0d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.1b464ba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1b47a9c0
mov eax, dword [ebp - 0x124]
jmp 0x1b481e73
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x38], eax
mov eax, dword [0x1b4beb50]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x34
call fcn.1b4649f0
test eax, eax
je 0x1b4812e2
mov dword [ebp - 0x80], 0
jmp 0x1b4812f3
mov ecx, dword [ebp - 0x144]
add ecx, 0x34
call fcn.1b469d50
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x1b4817a2
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.1b47ade0
test eax, eax
je 0x1b481792
cmp dword [ebp + 0x1c], 0
jne 0x1b481716
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x148], edx
mov ecx, dword [ebp - 0x148]
add ecx, 0x10
call fcn.1b4649f0
test eax, eax
je 0x1b48134d
mov dword [ebp - 0x14c], 0
jmp 0x1b481361
mov ecx, dword [ebp - 0x148]
add ecx, 0x10
call fcn.1b469d50
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x1b481716
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x150], ecx
lea edx, [ebp - 0x3c]
push edx
push Ordinal_1
mov ecx, dword [ebp - 0x150]
call fcn.1b47e040
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b4813ac
mov dword [ebp - 0x110], 0x80040111
jmp 0x1b481e03
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x188]
call fcn.1b480080
mov ecx, dword [ebp - 0x3c]
call fcn.1b4689f0
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x198]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.1b46a9e0
mov edx, dword [ebp - 0x19c]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x19c]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x3a4], ecx
push 1
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x3a4]
push eax
mov ecx, dword [ebp - 0x3a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x1ac], ecx
mov edx, dword [ebp - 0x1ac]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x1ac]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x3a8], ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x3a8]
push edx
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
call edx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b4814c4
jmp 0x1b481e03
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1b8], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xc8
mov ecx, dword [ebp - 0x1b8]
call fcn.1b4cbd2d
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b481509
jmp 0x1b481e03
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov edx, dword [ecx]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x1b48154e
mov ecx, dword [ebp - 0x1c]
call fcn.1b46f030
mov dword [ebp - 0x110], 0
jmp 0x1b481e03
mov dword [ebp - 0x30], 0
jmp 0x1b481560
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x114]
jae 0x1b48170e
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 8]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
je 0x1b48159c
mov dword [ebp - 0x10], 0x4b0
jmp 0x1b4815a3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
xor edx, edx
shl edx, 4
add edx, dword [eax + ecx + 0xc]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x41
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x1f4]
call fcn.1b46e0d0
push eax
call fcn.1b487730
push 0x10
call fcn.1b4896d0
add esp, 4
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x1b481634
mov ecx, dword [ebp - 0x12c]
call fcn.1b4649d0
mov edx, dword [ebp - 0x12c]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x12c]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x3ac], edx
jmp 0x1b48163e
mov dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
jne 0x1b48166e
mov dword [ebp - 0x110], 0x8007000e
jmp 0x1b481e03
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp - 0x11c]
call fcn.1b47b350
mov eax, dword [ebp - 0x30]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, 1
shl ecx, 4
add ecx, dword [edx + eax + 0xc]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
add edx, 8
push edx
mov ecx, dword [ebp - 0x11c]
call fcn.1b47e7d0
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x220]
add ecx, 0x10
call fcn.1b4649e0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x224]
and edx, 0x4000
je 0x1b481709
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
mov dword [edx + 0x18], 1
jmp 0x1b481557
mov ecx, dword [ebp - 0x1c]
call fcn.1b46f030
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x80]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x234]
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
cmp dword [eax], 0
je 0x1b48176e
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 4]
call eax
jmp 0x1b481783
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp - 0x238]
mov dword [eax + 4], edx
mov dword [ebp - 0x110], 0
jmp 0x1b481e03
mov ecx, dword [ebp - 0x80]
call fcn.1b469d50
mov dword [ebp - 0x80], eax
jmp 0x1b4812f3
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
test edx, edx
je 0x1b4817d6
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
or ecx, 2
or ecx, 0x10
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1b47d5a0
mov dword [ebp - 0x110], eax
jmp 0x1b4819bc
lea edx, [ebp - 0x34]
push edx
push 0x20019
push 0
push 0x1b461ca0
push reloc.mswstr10.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1b4817fa
jmp 0x1b481897
mov dword [ebp - 0x44], 0xa
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0x1b461c7c
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1b481897
cmp dword [ebp - 0x44], 0
jbe 0x1b481897
movzx eax, byte [ebp - 0x78]
cmp eax, 0x31
jne 0x1b48188d
mov ecx, dword [ebp + 0x18]
push ecx
push 0x8000002b
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.1b47d5a0
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b48187e
cmp dword [ebp - 0x110], 0x80040113
je 0x1b48186f
mov dword [ebp - 0x110], 0x80040111
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1b481e03
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1b4819f4
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
call section.BASE
lea eax, [ebp - 0x118]
push eax
push 0
call fcn.1b47b440
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b4818c0
jmp 0x1b4819c5
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.1b480260
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x118]
call fcn.1b47a350
cmp dword [ebp - 0x110], 0
jge 0x1b4818f2
jmp 0x1b4819c5
xor eax, eax
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
xor ecx, ecx
shl ecx, 4
add ecx, dword [edx + eax + 0xc]
mov dword [ebp - 0x2d4], ecx
mov ecx, dword [ebp - 0x2d4]
call fcn.1b46b4d0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
add edx, 2
push edx
call fcn.1b48a1a3
add esp, 4
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x1b481940
mov dword [ebp - 0x110], 0x8007000e
jmp 0x1b481e03
xor eax, eax
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
xor ecx, ecx
shl ecx, 4
add ecx, dword [edx + eax + 0xc]
mov dword [ebp - 0x2dc], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x2dc]
call fcn.1b46e0d0
push eax
mov eax, dword [ebp - 0x7c]
push eax
call fcn.1b48a270
add esp, 0xc
mov ecx, dword [ebp - 0x40]
call fcn.1b46f030
mov ecx, dword [ebp - 0x2c]
shr ecx, 1
mov edx, dword [ebp - 0x7c]
mov word [edx + ecx*2], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
or ecx, 2
or ecx, 0x10
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1b47d5a0
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x7c]
push edx
call fcn.1b489915
add esp, 4
cmp dword [ebp - 0x110], 0
jge 0x1b4819f4
mov eax, dword [ebp + 0x18]
push eax
push 0x2b
push 0
push 0
push 0
call fcn.1b47d5a0
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b4819f4
mov dword [ebp - 0x110], 0x80040111
jmp 0x1b481e03
cmp dword [ebp - 0x64], 0
je 0x1b481a01
push 1
call section.BASE
push 0x24
call fcn.1b4896d0
add esp, 4
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x134], 0
je 0x1b481a43
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x134]
call fcn.1b4802d0
mov dword [ebp - 0x3b0], eax
jmp 0x1b481a4d
mov dword [ebp - 0x3b0], 0
mov eax, dword [ebp - 0x3b0]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 0
jne 0x1b481a7b
mov dword [ebp - 0x110], 0x8007000e
jmp 0x1b481e03
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x1c]
add eax, 1
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x1c]
add eax, 1
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x1c], eax
mov edx, dword [0x1b4beb50]
mov dword [ebp - 0x324], edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x324]
add ecx, 0x34
call fcn.1b4649e0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x320], edx
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0x320]
mov dword [eax + 0xc], ecx
cmp dword [ebp + 0x1c], 0
jne 0x1b481df9
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x328], eax
lea ecx, [ebp - 0x3c]
push ecx
push Ordinal_1
mov ecx, dword [ebp - 0x328]
call fcn.1b47e040
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b481b1a
mov dword [ebp - 0x110], 0x80040111
jmp 0x1b481e03
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x360]
call fcn.1b480080
mov ecx, dword [ebp - 0x3c]
call fcn.1b4689f0
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x364]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x368], edx
push 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x368]
call fcn.1b46d7d0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x36c], edx
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x370], ecx
mov edx, dword [ebp - 0x370]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x370]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x374]
mov dword [ebp - 0x3b4], ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x3b4]
push edx
mov eax, dword [ebp - 0x3b4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
call edx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b481bd8
jmp 0x1b481e03
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x378], ecx
mov edx, dword [ebp - 0x378]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x37c], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xc8
mov ecx, dword [ebp - 0x37c]
call fcn.1b46d720
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x1b481c1d
jmp 0x1b481e03
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
mov edx, dword [ecx]
mov dword [ebp - 0x384], edx
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x1b481c62
mov ecx, dword [ebp - 0x1c]
call fcn.1b46f030
mov dword [ebp - 0x110], 0
jmp 0x1b481e03
mov dword [ebp - 0x30], 0
jmp 0x1b481c74
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x114]
jae 0x1b481def
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x388], edx
cmp dword [ebp - 0x388], 0
je 0x1b481ca3
mov dword [ebp - 0x10], 0x4b0
jmp 0x1b481caa
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
xor ecx, ecx
shl ecx, 4
add ecx, dword [edx + eax + 0xc]
mov dword [ebp - 0x38c], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x41
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x38c]
call fcn.1b46e0d0
push eax
call fcn.1b487730
push 0x10
call fcn.1b4896d0
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x13c], 0
je 0x1b481d12
mov ecx, dword [ebp - 0x13c]
call fcn.1b47ada0
mov dword [ebp - 0x3b8], eax
jmp 0x1b481d1c
mov dword [ebp - 0x3b8], 0
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0
jne 0x1b481d50
mov dword [ebp - 0x110], 0x8007000e
jmp 0x1b481e03
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x11c]
call fcn.1b47b350
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x390], edx
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x390]
add ecx, 0x10
call fcn.1b4649e0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x394], edx
mov eax, dword [ebp - 0x394]
and eax, 0x4000
je 0x1b481db8
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x398], edx
mov eax, dword [ebp - 0x398]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov edx, 1
shl edx, 4
add edx, dword [eax + ecx + 0xc]
mov dword [ebp - 0x39c], edx
mov eax, dword [ebp - 0x39c]
add eax, 8
push eax
mov ecx, dword [ebp - 0x11c]
call fcn.1b47e7d0
jmp 0x1b481c6b
mov ecx, dword [ebp - 0x1c]
call fcn.1b46f030
jmp 0x1b481e03
mov dword [ebp - 0x110], 0
mov ecx, dword [ebp - 0x3a0]
mov edx, dword [ebp - 0x80]
mov dword [ecx + 0x10], edx
call fcn.1b487f70
test eax, eax
je 0x1b481e30
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1b489915
add esp, 4
jmp 0x1b481e46
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp - 0x68]
push eax
call fcn.1b489915
add esp, 4
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x140], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.1b464ba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1b47a9c0
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x6c]
xor ecx, ebp
call fcn.1b4898a6
mov esp, ebp
pop ebp
ret 0x18