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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x429ee5
call fcn.0041e7dc
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.0041a37b
mov byte [ebp - 4], 2
cmp byte [ebp - 0xb4], bl
jne 0x414d4a
push 0xfffffffffffffffd
pop esi
jmp 0x415563
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 [0x4fbbe8], al
mov dword [ebp + 0x60], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe4]
mov dword [ebp], eax
test esi, esi
je 0x415090
cmp byte [esi], 0x21
jne 0x415090
movsx eax, byte [esi + 1]
push eax
call fcn.0041e369
pop ecx
cmp eax, 0x78
jne 0x415090
cmp byte [esi + 2], 0x3a
jne 0x415090
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 0x414dcf
cmp bl, 0x20
je 0x414ddc
push ebx
lea ecx, [ebp - 0x54]
call fcn.00410cb1
inc esi
mov bl, byte [esi]
test bl, bl
jne 0x414dc0
jmp 0x414ddc
cmp al, 0x20
jne 0x414de2
inc esi
mov al, byte [esi]
test al, al
jne 0x414dd7
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x414dee
lea eax, [ebp - 0x54]
push eax
call fcn.0041ec93
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 0x415045
xor ecx, ecx
inc ecx
cmp edx, ecx
je 0x414e20
mov eax, dword [eax + 0xc]
inc ecx
test eax, eax
jne 0x414e0f
jmp 0x415045
test dword [eax], 0x800
je 0x415045
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041ad72
mov byte [ebp - 4], 5
cmp dword [ebp - 0x74], 0
je 0x415036
mov eax, dword [0x4fc52c]
test eax, eax
je 0x414e67
push 0x104
lea ecx, [ebp - 0x648]
push ecx
push ebx
call eax
jmp 0x414e94
cmp dword [0x4fbc48], 0
je 0x414e92
push 0x1c
pop eax
call fcn.0041ec00
push esp
push 0x4f6830
call fcn.0040e0df
push eax
call dword [0x4fbc48]
add esp, 0xc
jmp 0x415036
mov eax, ebx
test eax, eax
je 0x415036
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 0x414ebf
mov eax, ebx
jmp 0x414ecc
lea eax, [ebp - 0x648]
push eax
call fcn.0041d95d
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.00410d74
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 4]
call fcn.00415e3f
push 0x22
lea ecx, [ebp + 4]
call fcn.00410d74
push 0x20
lea ecx, [ebp + 4]
call fcn.00410d74
push ebx
mov edx, esi
lea ecx, [ebp - 0x2f4]
call fcn.00411d29
pop ecx
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp + 4]
call fcn.00415e3f
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 [0x4fbbec]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x84]
jae 0x414fc0
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0xa8]
push ecx
push 0x48
push dword [ebp - 0x74]
lea ecx, [ebp - 0x890]
push eax
call fcn.0040e600
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x18], 8
mov edx, dword [ebp + 4]
jae 0x414fe8
lea edx, [ebp + 4]
push ecx
lea ecx, [ebp - 0x890]
call fcn.00410929
pop ecx
mov edi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x890]
call fcn.0040eb39
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 [0x4fc4cc], 0
je 0x41505e
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4fc4cc]
jmp 0x415084
cmp dword [0x4fbc48], 0
je 0x415084
push 0x1c
pop eax
call fcn.0041ec00
push esp
push str.eOchC
call fcn.0040e0df
push eax
call dword [0x4fbc48]
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.0041421b
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00415eb7
mov eax, dword [ebp - 0xd8]
mov dword [ebp + 0x30], ebx
mov eax, dword [eax]
mov dword [ebp + 0x34], ebx
mov dword [0x4fbc30], 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 0x4150f7
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00417c91
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 0x415198
cmp byte [ebp - 0x440], 0
jne 0x41512d
mov eax, ebx
jmp 0x41513a
lea eax, [ebp - 0x440]
push eax
call fcn.0041d820
pop ecx
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp + 0x20]
call fcn.004024bb
jmp 0x415191
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
mov edi, ecx
cmp edx, 0x10
jae 0x41515c
lea edi, [ebp + 0x20]
cmp byte [edi + eax - 1], 0x5c
jne 0x41519e
dec eax
push eax
push ebx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp + 0x20]
call fcn.00410ce2
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp + 0x20]
call fcn.00410bde
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c4]
call fcn.00402161
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x41514c
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
push 0x10
pop edi
cmp edx, edi
jae 0x4151a8
lea ecx, [ebp + 0x20]
mov dl, 1
call fcn.00417631
test al, al
jne 0x4151c5
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp + 0x20]
call fcn.00402639
lea ecx, [ebp - 0xfc]
call fcn.00418275
mov byte [ebp - 4], 0x13
push esi
lea ecx, [ebp - 0x24c]
call fcn.00402134
mov byte [ebp - 4], 0x14
push 0x4f6868
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.00418776
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 0x4f6870
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.00418776
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d4]
call fcn.00402161
push 0x4f6878
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.00418776
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x21c]
call fcn.00402161
push 0x1a
pop edx
lea ecx, [ebp - 0x264]
call fcn.00418125
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], edi
jb 0x4152b4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402134
mov byte [ebp - 4], 0x19
push 0x4f6880
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.00418776
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.00418125
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], edi
jb 0x415334
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x204]
call fcn.00402134
mov byte [ebp - 4], 0x1c
push 0x4f6888
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.00418776
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.00418125
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], edi
jb 0x4153b4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00402134
mov byte [ebp - 4], 0x1f
push 0x4f6898
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.00418776
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 0x41542f
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00402134
mov byte [ebp - 4], 0x21
push 0x4f68a8
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.00418776
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 0x4154cd
mov eax, dword [ecx]
test byte [eax + 8], 4
je 0x4154cd
xor eax, eax
inc eax
jmp 0x4154cf
mov eax, ebx
test al, al
je 0x415590
mov eax, dword [ecx + 4]
jmp 0x4154e5
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4154e9
mov eax, ecx
test eax, eax
jne 0x4154dc
test eax, eax
je 0x415590
test dword [eax], 0x10000
je 0x415590
mov ecx, dword [0x4fc1d8]
test ecx, ecx
je 0x415516
push 4
push 0x4f68b4
push dword [eax + 0x1c]
push ebx
call ecx
jmp 0x415540
cmp dword [0x4fbc48], 0
je 0x41553e
push 0x14
pop eax
call fcn.0041ec00
push esp
push 0x4f68c0
call fcn.0040e0df
push eax
call dword [0x4fbc48]
add esp, 0xc
jmp 0x415545
mov eax, ebx
cmp eax, 6
je 0x415590
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0x44]
call fcn.00415f53
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.004160a5
mov byte [ebp - 4], 2
mov esi, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.0041a659
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 0x415a5d
push 0x437078
push dword [ebp - 4]
push 0x41ebde
push 3
push 0x4fbbf0
call fcn.00428be0
add esp, 0x14
test eax, eax
jne 0x415965
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 0x415704
xor eax, eax
inc eax
mov dword [ebp + 0x54], eax
mov edi, ebx
push eax
lea ecx, [ebp + 0x58]
call fcn.00415f79
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 0x4156fa
mov dword [ebx + edi + 4], edx
mov dword [ebx + edi], esi
test dword [esi], 0x100
je 0x415614
mov dword [ebx + edi + 0x20], 0x4f68d4
jmp 0x4156b0
mov eax, dword [0x4fd398]
test eax, eax
je 0x415621
call eax
jmp 0x415647
cmp dword [0x4fbc48], 0
je 0x415647
push 0x18
pop eax
call fcn.0041ec00
push esp
push 0x4f68d8
call fcn.0040e0df
push eax
call dword [0x4fbc48]
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.0041a8d8
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x24]
call fcn.00410bde
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x33c]
call fcn.00402161
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x415688
lea eax, [ebp - 0x24]
push eax
call fcn.0041ed3c
push eax
mov dword [ebx + edi + 0x20], eax
call fcn.0041d820
pop ecx
pop ecx
test eax, eax
jne 0x4156a8
test byte [esi], 2
je 0x4156b0
call fcn.0041458e
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.00415eb7
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 0x4155d3
jmp 0x415707
push str.invalid_vector_T__subscript
call fcn.0041b2e9
mov ebx, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov esi, ebx
cmp ebx, edi
je 0x415893
mov eax, dword [esi]
test byte [eax], 0x20
je 0x415886
push dword [esi + 0x20]
call fcn.0041d820
pop ecx
test eax, eax
je 0x415883
mov eax, dword [esi]
test dword [eax], 0x80000000
jne 0x415883
push 1
lea ecx, [ebp + 0x38]
push ecx
push dword [eax + 0x1c]
lea eax, [ebp - 0x2dc]
push eax
call fcn.004169f6
add esp, 0x10
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x3c]
call fcn.00410bde
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
call fcn.00402161
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x41577e
lea eax, [ebp - 0x3c]
push eax
call fcn.0041ed3c
mov dword [esi + 0x1c], eax
mov eax, dword [0x4fd398]
pop ecx
test eax, eax
je 0x415795
call eax
jmp 0x4157bb
cmp dword [0x4fbc48], 0
je 0x4157bb
push 0x18
pop eax
call fcn.0041ec00
push esp
push 0x4f68d8
call fcn.0040e0df
push eax
call dword [0x4fbc48]
add esp, 0xc
mov edx, esi
lea ecx, [ebp - 0xe4]
call fcn.00414934
mov eax, dword [0x4fc9f8]
test eax, eax
je 0x4157d8
push dword [esi + 8]
call eax
jmp 0x415800
cmp dword [0x4fbc48], 0
je 0x4157fe
push 0x18
pop eax
call fcn.0041ec00
push esp
push 0x4f68f0
call fcn.0040e0df
push eax
call dword [0x4fbc48]
add esp, 0xc
xor eax, eax
mov edx, eax
lea ecx, [ebp - 0x294]
call fcn.00414137
mov ebx, eax
push 0x28
pop ecx
mov byte [ebp - 4], cl
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x27c]
call fcn.004140e7
mov edi, eax
mov byte [ebp - 4], 0x29
push 0x4f6908
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.00411023
push eax
lea ecx, [ebp + 0x38]
call fcn.00418776
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 0x415714
mov ebx, dword [ebp + 0x58]
cmp dword [ebp + 0x50], 0
je 0x4159d6
cmp ebx, edi
je 0x415934
lea esi, [ebx + 8]
cmp dword [esi], 0
je 0x415927
mov eax, dword [esi - 8]
test byte [eax], 0x80
je 0x415927
mov eax, dword [0x4fcf88]
test eax, eax
je 0x4158c9
push 0x5265c00
push dword [esi]
call eax
jmp 0x4158ef
cmp dword [0x4fbc48], 0
je 0x4158ef
push 0x1c
pop eax
call fcn.0041ec00
push esp
push 0x4f6794
call fcn.0040e0df
push eax
call dword [0x4fbc48]
add esp, 0xc
mov eax, dword [0x4fbef0]
test eax, eax
je 0x4158fe
push dword [esi]
call eax
jmp 0x415924
cmp dword [0x4fbc48], 0
je 0x415924
push 0x14
pop eax
call fcn.0041ec00
push esp
push 0x4f6910
call fcn.0040e0df
push eax
call dword [0x4fbc48]
add esp, 0xc
push 0x28
pop ecx
add esi, ecx
lea eax, [esi - 8]
cmp eax, edi
jne 0x4158a8
mov esi, ebx
cmp ebx, edi
je 0x4159d6
mov eax, dword [esi]
test byte [eax], 1
je 0x41595d
push dword [esi + 0x20]
call fcn.0041d820
pop ecx
test eax, eax
je 0x41595a
mov ecx, dword [esi + 0x20]
call fcn.0041429e
push 0x28
pop ecx
add esi, ecx
cmp esi, edi
jne 0x41593e
jmp 0x4159d6
mov ebx, dword [ebp + 0x58]
mov dword [ebp + 0x1c], 0xff
cmp ebx, dword [ebp + 0x5c]
je 0x4159d6
lea esi, [ebx + 0x20]
cmp dword [esi - 0x18], 0
je 0x4159b5
mov eax, dword [0x4fc4cc]
test eax, eax
je 0x41598f
push 0xffffffffffffffff
push dword [esi - 0x18]
call eax
jmp 0x4159b5
cmp dword [0x4fbc48], 0
je 0x4159b5
push 0x1c
pop eax
call fcn.0041ec00
push esp
push str.eOchC
call fcn.0040e0df
push eax
call dword [0x4fbc48]
add esp, 0xc
push dword [esi]
call fcn.0041d820
pop ecx
test eax, eax
je 0x4159c8
mov ecx, dword [esi]
call fcn.0041429e
add esi, 0x28
lea eax, [esi - 0x20]
cmp eax, dword [ebp + 0x5c]
jne 0x415977
mov ebx, dword [ebp + 0x58]
mov esi, dword [0x4fd9c0]
jmp 0x4159f4
cmp dword [esi + 0x14], 0x10
jb 0x4159e8
mov eax, dword [esi]
jmp 0x4159ea
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esi, 0x18
cmp esi, dword [0x4fd9c4]
jne 0x4159de
call fcn.00417232
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x44]
call fcn.00415f53
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.004160a5
mov byte [ebp - 4], 2
test ebx, ebx
je 0x415a33
push ebx
call fcn.0041db6f
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.0041a659
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