Function at 0x348ab4e6
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x348b98bd
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x348926a8]
xor eax, ebp
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x384], ecx
mov dword [ebp - 0x14], 0
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
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 dword [sym.imp.msvcr80.dll_malloc]
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x348ab5e4
mov dword [ebp - 0x118], 0xfffffc0d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.348963d9
mov dword [ebp - 4], 0xffffffff
cmp dword [0x348dcb84], 0
je 0x348ab5d9
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x348dcb84]
mov eax, dword [edx]
mov ecx, dword [0x348dcb84]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x118]
jmp 0x348ac240
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x38], eax
mov edx, dword [0x348dcb88]
xor eax, eax
cmp dword [edx + 0x34], 0
sete al
test eax, eax
je 0x348ab611
mov dword [ebp - 0x7c], 0
jmp 0x348ab629
mov ecx, dword [0x348dcb88]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x348abb04
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 - 0x7c]
call fcn.348963d9
test eax, eax
je 0x348abaf7
cmp dword [ebp + 0x1c], 0
jne 0x348aba7d
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
xor ecx, ecx
cmp dword [eax + 0x10], 0
sete cl
test ecx, ecx
je 0x348ab684
mov dword [ebp - 0x144], 0
jmp 0x348ab69f
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
cmp dword [ebp - 0x144], 0
jne 0x348aba7d
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x3c]
push ecx
push SysReAllocStringLen
mov ecx, dword [ebp - 0x148]
call fcn.348963d9
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348ab6ea
mov dword [ebp - 0x108], 0x80040111
jmp 0x348ac1d8
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x180]
call fcn.348963d9
mov ecx, dword [ebp - 0x3c]
call fcn.348963d9
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x198]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.348963d9
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x388], eax
push 1
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x388]
push edx
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a0]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x38c], eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x38c]
push ecx
mov edx, dword [ebp - 0x38c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x28]
call ecx
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348ab802
jmp 0x348ac1d8
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x1b0], edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xc8
mov ecx, dword [ebp - 0x1b0]
call fcn.348963d9
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348ab847
jmp 0x348ac1d8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
jne 0x348ab88c
mov ecx, dword [ebp - 0x1c]
call fcn.348963d9
mov dword [ebp - 0x108], 0
jmp 0x348ac1d8
mov dword [ebp - 0x30], 0
jmp 0x348ab89e
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x10c]
jae 0x348aba75
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1e8], edx
cmp dword [ebp - 0x1e8], 0
je 0x348ab8da
mov dword [ebp - 0x10], 0x4b0
jmp 0x348ab8e1
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 - 0x1ec], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x41
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x1ec]
call fcn.348963d9
push eax
call fcn.348963d9
push 0x10
call fcn.348b7bce
add esp, 4
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x348ab973
mov ecx, dword [ebp - 0x120]
mov dword [ecx], 0
mov edx, dword [ebp - 0x120]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x120]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x390], edx
jmp 0x348ab97d
mov dword [ebp - 0x390], 0
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x114], ecx
cmp dword [ebp - 0x114], 0
jne 0x348ab9ad
mov dword [ebp - 0x108], 0x8007000e
jmp 0x348ac1d8
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.348963d9
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 - 0x204], ecx
mov edx, dword [ebp - 0x204]
add edx, 8
push edx
mov ecx, dword [ebp - 0x114]
call fcn.348963d9
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x210]
add edx, 0x10
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x214]
mov dword [edx], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x114]
mov dword [ecx], edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x21c]
and edx, 0x4000
je 0x348ab895
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x220]
mov dword [edx + 0x18], 1
jmp 0x348ab895
mov ecx, dword [ebp - 0x1c]
call fcn.348963d9
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x22c]
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
cmp dword [eax], 0
je 0x348abad3
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 4]
call eax
jmp 0x348abae8
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp - 0x230]
mov dword [eax + 4], edx
mov dword [ebp - 0x108], 0
jmp 0x348ac1d8
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov dword [ebp - 0x7c], edx
jmp 0x348ab629
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x348abb38
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
or eax, 2
or eax, 0x10
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.348963d9
mov dword [ebp - 0x108], eax
jmp 0x348abd3b
lea ecx, [ebp - 0x34]
push ecx
push 0x20019
push 0
push 0x34891a64
push SysReAllocStringLen
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x348abb5c
jmp 0x348abc14
mov dword [ebp - 0x44], 0xa
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x74]
push eax
push 1
push 0
push 0x34891a50
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.348b7c02
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x348abc14
cmp dword [ebp - 0x44], 0
jbe 0x348abc14
movzx edx, byte [ebp - 0x74]
cmp edx, 0x31
jne 0x348abc0a
mov eax, dword [ebp + 0x18]
push eax
xor ecx, ecx
cmp dword [ebp + 0x20], 0
setne cl
or ecx, 0x80000000
or ecx, 0x20
or ecx, 8
or ecx, 2
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.348963d9
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348abbfb
cmp dword [ebp - 0x108], 0x80040113
je 0x348abbec
mov dword [ebp - 0x108], 0x80040111
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x348ac1d8
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x348abd84
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
push 1
call fcn.348c5928
lea eax, [ebp - 0x110]
push eax
push 0
call fcn.348963d9
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348abc3d
jmp 0x348abd44
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x110]
call fcn.348963d9
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x110]
call fcn.348963d9
cmp dword [ebp - 0x108], 0
jge 0x348abc6f
jmp 0x348abd44
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 - 0x2cc], ecx
mov ecx, dword [ebp - 0x2cc]
call fcn.348963d9
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
add edx, 2
push edx
call dword [sym.imp.msvcr80.dll_malloc]
add esp, 4
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x348abcbe
mov dword [ebp - 0x108], 0x8007000e
jmp 0x348ac1d8
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 - 0x2d8], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x2d8]
call fcn.348963d9
push eax
mov eax, dword [ebp - 0x78]
push eax
call sub.msvcr80.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x40]
call fcn.348963d9
mov ecx, dword [ebp - 0x2c]
shr ecx, 1
mov edx, dword [ebp - 0x78]
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 - 0x78]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.348963d9
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.msvcr80.dll_free]
add esp, 4
cmp dword [ebp - 0x108], 0
jge 0x348abd84
mov eax, dword [ebp + 0x18]
push eax
xor ecx, ecx
cmp dword [ebp + 0x20], 0
setne cl
or ecx, 0x20
or ecx, 8
or ecx, 2
push ecx
push 0
push 0
push 0
call fcn.348963d9
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348abd84
mov dword [ebp - 0x108], 0x80040111
jmp 0x348ac1d8
cmp dword [ebp - 0x64], 0
je 0x348abd91
push 1
call fcn.348c5928
push 0x24
call fcn.348b7bce
add esp, 4
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x128], 0
je 0x348abdd3
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
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 - 0x128]
call fcn.348963d9
mov dword [ebp - 0x394], eax
jmp 0x348abddd
mov dword [ebp - 0x394], 0
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0
jne 0x348abe0b
mov dword [ebp - 0x108], 0x8007000e
jmp 0x348ac1d8
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x1c], ecx
mov eax, dword [0x348dcb88]
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x328]
add ecx, 0x34
mov dword [ebp - 0x320], ecx
mov edx, dword [ebp - 0x320]
mov eax, dword [edx]
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x31c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x320]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x328]
mov edx, dword [ebp - 0x324]
mov dword [ecx + 0xc], edx
cmp dword [ebp + 0x1c], 0
jne 0x348ac1ce
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x32c], ecx
lea edx, [ebp - 0x3c]
push edx
push SysReAllocStringLen
mov ecx, dword [ebp - 0x32c]
call fcn.348963d9
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348abeca
mov dword [ebp - 0x108], 0x80040111
jmp 0x348ac1d8
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x330], ecx
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x330]
call fcn.348963d9
mov ecx, dword [ebp - 0x3c]
call fcn.348963d9
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x340], ecx
mov edx, dword [ebp - 0x340]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x344], eax
push 1
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x344]
call fcn.348963d9
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x34c], edx
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x350], ecx
mov edx, dword [ebp - 0x350]
mov dword [ebp - 0x398], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x398]
push eax
mov ecx, dword [ebp - 0x398]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348abf88
jmp 0x348ac1d8
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x354], edx
mov eax, dword [ebp - 0x354]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x358], ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0xc8
mov ecx, dword [ebp - 0x358]
call fcn.348963d9
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x348abfcd
jmp 0x348ac1d8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x35c], ecx
mov edx, dword [ebp - 0x35c]
mov eax, dword [edx]
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0
jne 0x348ac012
mov ecx, dword [ebp - 0x1c]
call fcn.348963d9
mov dword [ebp - 0x108], 0
jmp 0x348ac1d8
mov dword [ebp - 0x30], 0
jmp 0x348ac024
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10c]
jae 0x348ac1c4
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
je 0x348ac053
mov dword [ebp - 0x10], 0x4b0
jmp 0x348ac05a
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 - 0x368], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x41
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x368]
call fcn.348963d9
push eax
call fcn.348963d9
push 0x10
call fcn.348b7bce
add esp, 4
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x130], 0
je 0x348ac0c2
mov ecx, dword [ebp - 0x130]
call fcn.348963d9
mov dword [ebp - 0x39c], eax
jmp 0x348ac0cc
mov dword [ebp - 0x39c], 0
mov edx, dword [ebp - 0x39c]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x348ac100
mov dword [ebp - 0x108], 0x8007000e
jmp 0x348ac1d8
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.348963d9
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x36c]
add ecx, 0x10
mov dword [ebp - 0x374], ecx
mov edx, dword [ebp - 0x374]
mov eax, dword [edx]
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x370]
mov dword [ecx], edx
mov eax, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x114]
mov dword [eax], ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
and ecx, 0x4000
je 0x348ac18d
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
mov dword [ecx + 0x18], 1
mov edx, dword [ebp - 0x30]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, 1
shl eax, 4
add eax, dword [ecx + edx + 0xc]
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
add ecx, 8
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.348963d9
jmp 0x348ac01b
mov ecx, dword [ebp - 0x1c]
call fcn.348963d9
jmp 0x348ac1d8
mov dword [ebp - 0x108], 0
mov edx, dword [ebp - 0x384]
mov eax, dword [ebp - 0x7c]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.msvcr80.dll_free]
add esp, 4
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.348963d9
mov dword [ebp - 4], 0xffffffff
cmp dword [0x348dcb84], 0
je 0x348ac23a
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x348dcb84]
mov eax, dword [edx]
mov ecx, dword [0x348dcb84]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x68]
xor ecx, ebp
call fcn.348b858b
mov esp, ebp
pop ebp
ret 0x1c