Function at 0x4151c1
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x42a38d
call fcn.0041ecbc
sub esp, 0x884
push ebx
push esi
push edi
xor ebx, ebx
push 0xf
pop eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov dword [ebp + 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
mov byte [ebp - 4], 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xe4]
call fcn.0041a85a
mov byte [ebp - 4], 2
cmp byte [ebp - 0xb4], bl
jne 0x415229
push 0xfffffffffffffffd
pop esi
jmp 0x415a42
mov eax, dword [ebp - 0xd8]
mov dword [ebp + 0x58], ebx
mov eax, dword [eax]
mov dword [ebp + 0x5c], ebx
mov al, byte [eax + 8]
shr al, 3
and al, 1
mov byte [0x505be8], al
mov dword [ebp + 0x60], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe4]
mov dword [ebp], eax
test esi, esi
je 0x41556f
cmp byte [esi], 0x21
jne 0x41556f
movsx eax, byte [esi + 1]
push eax
call fcn.0041e849
pop ecx
cmp eax, 0x78
jne 0x41556f
cmp byte [esi + 2], 0x3a
jne 0x41556f
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
mov byte [ebp - 4], 4
add esi, 3
jmp 0x4152ae
cmp bl, 0x20
je 0x4152bb
push ebx
lea ecx, [ebp - 0x54]
call fcn.00411190
inc esi
mov bl, byte [esi]
test bl, bl
jne 0x41529f
jmp 0x4152bb
cmp al, 0x20
jne 0x4152c1
inc esi
mov al, byte [esi]
test al, al
jne 0x4152b6
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x4152cd
lea eax, [ebp - 0x54]
push eax
call fcn.0041f173
mov edx, eax
mov eax, dword [ebp - 0xd8]
xor ebx, ebx
mov eax, dword [eax + 4]
pop ecx
mov edi, ebx
test eax, eax
je 0x415524
xor ecx, ecx
inc ecx
cmp edx, ecx
je 0x4152ff
mov eax, dword [eax + 0xc]
inc ecx
test eax, eax
jne 0x4152ee
jmp 0x415524
test dword [eax], 0x800
je 0x415524
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041b251
mov byte [ebp - 4], 5
cmp dword [ebp - 0x74], 0
je 0x415515
mov eax, dword [0x5068b4]
test eax, eax
je 0x415346
push 0x104
lea ecx, [ebp - 0x648]
push ecx
push ebx
call eax
jmp 0x415373
cmp dword [0x505c48], 0
je 0x415371
push 0x1c
pop eax
call fcn.0041f0e0
push esp
push 0x500830
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
jmp 0x415515
mov eax, ebx
test eax, eax
je 0x415515
xor eax, eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x6c], ax
cmp word [ebp - 0x648], ax
jne 0x41539e
mov eax, ebx
jmp 0x4153ab
lea eax, [ebp - 0x648]
push eax
call fcn.0041de3d
pop ecx
push eax
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004025b7
mov byte [ebp - 4], 6
xor eax, eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
mov byte [ebp - 4], 7
push 0x22
lea ecx, [ebp + 4]
call fcn.00411253
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 4]
call fcn.0041631e
push 0x22
lea ecx, [ebp + 4]
call fcn.00411253
push 0x20
lea ecx, [ebp + 4]
call fcn.00411253
push ebx
mov edx, esi
lea ecx, [ebp - 0x2f4]
call fcn.00412208
pop ecx
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp + 4]
call fcn.0041631e
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0x2f4]
call fcn.00402477
xor eax, eax
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], ebx
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 9
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402533
cmp dword [ebp - 0x70], 0x10
mov eax, dword [0x505bec]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x84]
jae 0x41549f
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0xa8]
push ecx
push 0x48
push dword [ebp - 0x74]
lea ecx, [ebp - 0x890]
push eax
call fcn.0040eadf
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x18], 8
mov edx, dword [ebp + 4]
jae 0x4154c7
lea edx, [ebp + 4]
push ecx
lea ecx, [ebp - 0x890]
call fcn.00410e08
pop ecx
mov edi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x890]
call fcn.0040f018
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.00402477
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp + 4]
call fcn.00402477
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.00402477
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00402161
cmp dword [0x505e74], 0
je 0x41553d
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x505e74]
jmp 0x415563
cmp dword [0x505c48], 0
je 0x415563
push 0x1c
pop eax
call fcn.0041f0e0
push esp
push str.a62
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00402161
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov byte [ebp - 4], 0xd
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov byte [ebp - 4], 0xf
call fcn.004146fa
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00416396
mov eax, dword [ebp - 0xd8]
mov dword [ebp + 0x30], ebx
mov eax, dword [eax]
mov dword [ebp + 0x34], ebx
mov dword [0x505c30], eax
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], ebx
mov byte [ebp + 0x20], bl
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xc0], 0x10
mov eax, dword [ebp - 0xd4]
jae 0x4155d6
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00418170
pop ecx
pop ecx
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x440]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x415677
cmp byte [ebp - 0x440], 0
jne 0x41560c
mov eax, ebx
jmp 0x415619
lea eax, [ebp - 0x440]
push eax
call fcn.0041dd00
pop ecx
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp + 0x20]
call fcn.004024bb
jmp 0x415670
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
mov edi, ecx
cmp edx, 0x10
jae 0x41563b
lea edi, [ebp + 0x20]
cmp byte [edi + eax - 1], 0x5c
jne 0x41567d
dec eax
push eax
push ebx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp + 0x20]
call fcn.004111c1
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp + 0x20]
call fcn.004110bd
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c4]
call fcn.00402161
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x41562b
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
push 0x10
pop edi
cmp edx, edi
jae 0x415687
lea ecx, [ebp + 0x20]
mov dl, 1
call fcn.00417b10
test al, al
jne 0x4156a4
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp + 0x20]
call fcn.00402639
lea ecx, [ebp - 0xfc]
call fcn.00418754
mov byte [ebp - 4], 0x13
push esi
lea ecx, [ebp - 0x24c]
call fcn.00402134
mov byte [ebp - 4], 0x14
push 0x500868
lea ecx, [ebp - 0x1a4]
call fcn.00402134
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418c55
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1a4]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x24c]
call fcn.00402161
push 0x500870
lea ecx, [ebp - 0x1d4]
call fcn.00402134
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418c55
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d4]
call fcn.00402161
push 0x500878
lea ecx, [ebp - 0x21c]
call fcn.00402134
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418c55
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x21c]
call fcn.00402161
push 0x1a
pop edx
lea ecx, [ebp - 0x264]
call fcn.00418604
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], edi
jb 0x415793
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402134
mov byte [ebp - 4], 0x19
push 0x500880
lea ecx, [ebp - 0x174]
call fcn.00402134
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418c55
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x174]
call fcn.00402161
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x234]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x264]
call fcn.00402161
push 0x1c
pop edx
lea ecx, [ebp - 0x30c]
call fcn.00418604
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], edi
jb 0x415813
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x204]
call fcn.00402134
mov byte [ebp - 4], 0x1c
push 0x500888
lea ecx, [ebp - 0x12c]
call fcn.00402134
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418c55
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x12c]
call fcn.00402161
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x204]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x30c]
call fcn.00402161
push 0x26
pop edx
lea ecx, [ebp - 0x2ac]
call fcn.00418604
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], edi
jb 0x415893
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00402134
mov byte [ebp - 4], 0x1f
push 0x500898
lea ecx, [ebp - 0x144]
call fcn.00402134
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418c55
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x144]
call fcn.00402161
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x15c]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2ac]
call fcn.00402161
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0xe8], edi
jae 0x41590e
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00402134
mov byte [ebp - 4], 0x21
push 0x5008a8
lea ecx, [ebp - 0x18c]
call fcn.00402134
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418c55
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x18c]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1bc]
call fcn.00402161
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xfc]
call fcn.00402161
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x114]
call fcn.00402161
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0x20]
call fcn.00402161
cmp byte [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xd8]
je 0x4159ac
mov eax, dword [ecx]
test byte [eax + 8], 4
je 0x4159ac
xor eax, eax
inc eax
jmp 0x4159ae
mov eax, ebx
test al, al
je 0x415a6f
mov eax, dword [ecx + 4]
jmp 0x4159c4
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4159c8
mov eax, ecx
test eax, eax
jne 0x4159bb
test eax, eax
je 0x415a6f
test dword [eax], 0x10000
je 0x415a6f
mov ecx, dword [0x507028]
test ecx, ecx
je 0x4159f5
push 4
push 0x5008b4
push dword [eax + 0x1c]
push ebx
call ecx
jmp 0x415a1f
cmp dword [0x505c48], 0
je 0x415a1d
push 0x14
pop eax
call fcn.0041f0e0
push esp
push 0x5008c0
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
jmp 0x415a24
mov eax, ebx
cmp eax, 6
je 0x415a6f
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0x44]
call fcn.00416432
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.00416584
mov byte [ebp - 4], 2
mov esi, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.0041ab38
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call fcn.00402161
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402161
mov eax, esi
jmp 0x415f3c
push 0x437098
push dword [ebp - 4]
push 0x41f0be
push 3
push 0x505bf0
call fcn.004290c0
add esp, 0x14
test eax, eax
jne 0x415e44
mov eax, dword [ebp]
push 0x28
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x50], ebx
mov esi, dword [eax + 4]
pop ecx
test esi, esi
je 0x415be3
xor eax, eax
inc eax
mov dword [ebp + 0x54], eax
mov edi, ebx
push eax
lea ecx, [ebp + 0x58]
call fcn.00416458
mov eax, dword [ebp + 0x5c]
mov ebx, dword [ebp + 0x58]
sub eax, ebx
push 0x28
cdq
pop ecx
idiv ecx
mov edx, dword [ebp + 0x54]
lea ecx, [edx - 1]
cmp eax, ecx
jbe 0x415bd9
mov dword [ebx + edi + 4], edx
mov dword [ebx + edi], esi
test dword [esi], 0x100
je 0x415af3
mov dword [ebx + edi + 0x20], 0x5008d4
jmp 0x415b8f
mov eax, dword [0x506c24]
test eax, eax
je 0x415b00
call eax
jmp 0x415b26
cmp dword [0x505c48], 0
je 0x415b26
push 0x18
pop eax
call fcn.0041f0e0
push esp
push 0x5008d8
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
push 0
lea eax, [ebp + 0x38]
push eax
push esi
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041adb7
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x24]
call fcn.004110bd
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x33c]
call fcn.00402161
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x415b67
lea eax, [ebp - 0x24]
push eax
call fcn.0041f21c
push eax
mov dword [ebx + edi + 0x20], eax
call fcn.0041dd00
pop ecx
pop ecx
test eax, eax
jne 0x415b87
test byte [esi], 2
je 0x415b8f
call fcn.00414a6d
mov eax, dword [esi]
and eax, 1
or dword [ebp + 0x50], eax
push dword [ebx + edi + 0x20]
lea ecx, [ebp - 0x1ec]
call fcn.00402134
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp + 0x38]
call fcn.00416396
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ec]
call fcn.00402161
mov eax, dword [ebp + 0x54]
mov esi, dword [esi + 0xc]
push 0x28
pop ecx
add edi, ecx
inc eax
mov dword [ebp + 0x54], eax
test esi, esi
jne 0x415ab2
jmp 0x415be6
push str.invalid_vector_T__subscript
call fcn.0041b7c9
mov ebx, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov esi, ebx
cmp ebx, edi
je 0x415d72
mov eax, dword [esi]
test byte [eax], 0x20
je 0x415d65
push dword [esi + 0x20]
call fcn.0041dd00
pop ecx
test eax, eax
je 0x415d62
mov eax, dword [esi]
test dword [eax], 0x80000000
jne 0x415d62
push 1
lea ecx, [ebp + 0x38]
push ecx
push dword [eax + 0x1c]
lea eax, [ebp - 0x2dc]
push eax
call fcn.00416ed5
add esp, 0x10
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x3c]
call fcn.004110bd
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
call fcn.00402161
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x415c5d
lea eax, [ebp - 0x3c]
push eax
call fcn.0041f21c
mov dword [esi + 0x1c], eax
mov eax, dword [0x506c24]
pop ecx
test eax, eax
je 0x415c74
call eax
jmp 0x415c9a
cmp dword [0x505c48], 0
je 0x415c9a
push 0x18
pop eax
call fcn.0041f0e0
push esp
push 0x5008d8
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
mov edx, esi
lea ecx, [ebp - 0xe4]
call fcn.00414e13
mov eax, dword [0x506a9c]
test eax, eax
je 0x415cb7
push dword [esi + 8]
call eax
jmp 0x415cdf
cmp dword [0x505c48], 0
je 0x415cdd
push 0x18
pop eax
call fcn.0041f0e0
push esp
push 0x5008f0
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
xor eax, eax
mov edx, eax
lea ecx, [ebp - 0x294]
call fcn.00414616
mov ebx, eax
push 0x28
pop ecx
mov byte [ebp - 4], cl
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x27c]
call fcn.004145c6
mov edi, eax
mov byte [ebp - 4], 0x29
push 0x500908
lea ecx, [ebp - 0x324]
call fcn.00402134
mov byte [ebp - 4], 0x2a
push ebx
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00411502
push eax
lea ecx, [ebp + 0x38]
call fcn.00418c55
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x324]
call fcn.00402161
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x27c]
call fcn.00402161
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x294]
call fcn.00402161
mov edi, dword [ebp + 0x5c]
push 0x28
pop ecx
add esi, ecx
cmp esi, edi
jne 0x415bf3
mov ebx, dword [ebp + 0x58]
cmp dword [ebp + 0x50], 0
je 0x415eb5
cmp ebx, edi
je 0x415e13
lea esi, [ebx + 8]
cmp dword [esi], 0
je 0x415e06
mov eax, dword [esi - 8]
test byte [eax], 0x80
je 0x415e06
mov eax, dword [0x5067ec]
test eax, eax
je 0x415da8
push 0x5265c00
push dword [esi]
call eax
jmp 0x415dce
cmp dword [0x505c48], 0
je 0x415dce
push 0x1c
pop eax
call fcn.0041f0e0
push esp
push 0x500794
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
mov eax, dword [0x5073cc]
test eax, eax
je 0x415ddd
push dword [esi]
call eax
jmp 0x415e03
cmp dword [0x505c48], 0
je 0x415e03
push 0x14
pop eax
call fcn.0041f0e0
push esp
push 0x500910
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
push 0x28
pop ecx
add esi, ecx
lea eax, [esi - 8]
cmp eax, edi
jne 0x415d87
mov esi, ebx
cmp ebx, edi
je 0x415eb5
mov eax, dword [esi]
test byte [eax], 1
je 0x415e3c
push dword [esi + 0x20]
call fcn.0041dd00
pop ecx
test eax, eax
je 0x415e39
mov ecx, dword [esi + 0x20]
call fcn.0041477d
push 0x28
pop ecx
add esi, ecx
cmp esi, edi
jne 0x415e1d
jmp 0x415eb5
mov ebx, dword [ebp + 0x58]
mov dword [ebp + 0x1c], 0xff
cmp ebx, dword [ebp + 0x5c]
je 0x415eb5
lea esi, [ebx + 0x20]
cmp dword [esi - 0x18], 0
je 0x415e94
mov eax, dword [0x505e74]
test eax, eax
je 0x415e6e
push 0xffffffffffffffff
push dword [esi - 0x18]
call eax
jmp 0x415e94
cmp dword [0x505c48], 0
je 0x415e94
push 0x1c
pop eax
call fcn.0041f0e0
push esp
push str.a62
call fcn.0040e5be
push eax
call dword [0x505c48]
add esp, 0xc
push dword [esi]
call fcn.0041dd00
pop ecx
test eax, eax
je 0x415ea7
mov ecx, dword [esi]
call fcn.0041477d
add esi, 0x28
lea eax, [esi - 0x20]
cmp eax, dword [ebp + 0x5c]
jne 0x415e56
mov ebx, dword [ebp + 0x58]
mov esi, dword [0x507a94]
jmp 0x415ed3
cmp dword [esi + 0x14], 0x10
jb 0x415ec7
mov eax, dword [esi]
jmp 0x415ec9
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esi, 0x18
cmp esi, dword [0x507a98]
jne 0x415ebd
call fcn.00417711
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x44]
call fcn.00416432
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.00416584
mov byte [ebp - 4], 2
test ebx, ebx
je 0x415f12
push ebx
call fcn.0041e04f
xor eax, eax
pop ecx
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.0041ab38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402161
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402161
mov eax, dword [ebp + 0x1c]
lea esp, [ebp - 0x89c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret