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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x429ac8
call fcn.0041e3ec
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.00419f86
mov byte [ebp - 4], 2
cmp byte [ebp - 0xb4], bl
jne 0x414955
push 0xfffffffffffffffd
pop esi
jmp 0x41516e
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 [0x500be8], al
mov dword [ebp + 0x60], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe4]
mov dword [ebp], eax
test esi, esi
je 0x414c9b
cmp byte [esi], 0x21
jne 0x414c9b
movsx eax, byte [esi + 1]
push eax
call fcn.0041df79
pop ecx
cmp eax, 0x78
jne 0x414c9b
cmp byte [esi + 2], 0x3a
jne 0x414c9b
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 0x4149da
cmp bl, 0x20
je 0x4149e7
push ebx
lea ecx, [ebp - 0x54]
call fcn.004108bc
inc esi
mov bl, byte [esi]
test bl, bl
jne 0x4149cb
jmp 0x4149e7
cmp al, 0x20
jne 0x4149ed
inc esi
mov al, byte [esi]
test al, al
jne 0x4149e2
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x4149f9
lea eax, [ebp - 0x54]
push eax
call fcn.0041e8a3
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 0x414c50
xor ecx, ecx
inc ecx
cmp edx, ecx
je 0x414a2b
mov eax, dword [eax + 0xc]
inc ecx
test eax, eax
jne 0x414a1a
jmp 0x414c50
test dword [eax], 0x800
je 0x414c50
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041a97d
mov byte [ebp - 4], 5
cmp dword [ebp - 0x74], 0
je 0x414c41
mov eax, dword [0x500fc0]
test eax, eax
je 0x414a72
push 0x104
lea ecx, [ebp - 0x648]
push ecx
push ebx
call eax
jmp 0x414a9f
cmp dword [0x500c48], 0
je 0x414a9d
push 0x1c
pop eax
call fcn.0041e810
push esp
push 0x4fb830
call fcn.0040dce9
push eax
call dword [0x500c48]
add esp, 0xc
jmp 0x414c41
mov eax, ebx
test eax, eax
je 0x414c41
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 0x414aca
mov eax, ebx
jmp 0x414ad7
lea eax, [ebp - 0x648]
push eax
call fcn.0041d56d
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.0041097f
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 4]
call fcn.00415a4a
push 0x22
lea ecx, [ebp + 4]
call fcn.0041097f
push 0x20
lea ecx, [ebp + 4]
call fcn.0041097f
push ebx
mov edx, esi
lea ecx, [ebp - 0x2f4]
call fcn.00411934
pop ecx
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp + 4]
call fcn.00415a4a
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 [0x500bec]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x84]
jae 0x414bcb
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0xa8]
push ecx
push 0x48
push dword [ebp - 0x74]
lea ecx, [ebp - 0x890]
push eax
call fcn.0040e20a
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x18], 8
mov edx, dword [ebp + 4]
jae 0x414bf3
lea edx, [ebp + 4]
push ecx
lea ecx, [ebp - 0x890]
call fcn.00410534
pop ecx
mov edi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x890]
call fcn.0040e743
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 [0x501698], 0
je 0x414c69
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x501698]
jmp 0x414c8f
cmp dword [0x500c48], 0
je 0x414c8f
push 0x1c
pop eax
call fcn.0041e810
push esp
push 0x4fb84c
call fcn.0040dce9
push eax
call dword [0x500c48]
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.00413e26
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00415ac2
mov eax, dword [ebp - 0xd8]
mov dword [ebp + 0x30], ebx
mov eax, dword [eax]
mov dword [ebp + 0x34], ebx
mov dword [0x500c30], 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 0x414d02
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0041789c
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 0x414da3
cmp byte [ebp - 0x440], 0
jne 0x414d38
mov eax, ebx
jmp 0x414d45
lea eax, [ebp - 0x440]
push eax
call fcn.0041d430
pop ecx
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp + 0x20]
call fcn.004024bb
jmp 0x414d9c
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
mov edi, ecx
cmp edx, 0x10
jae 0x414d67
lea edi, [ebp + 0x20]
cmp byte [edi + eax - 1], 0x5c
jne 0x414da9
dec eax
push eax
push ebx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp + 0x20]
call fcn.004108ed
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp + 0x20]
call fcn.004107e9
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c4]
call fcn.00402161
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x414d57
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
push 0x10
pop edi
cmp edx, edi
jae 0x414db3
lea ecx, [ebp + 0x20]
mov dl, 1
call fcn.0041723c
test al, al
jne 0x414dd0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp + 0x20]
call fcn.00402639
lea ecx, [ebp - 0xfc]
call fcn.00417e80
mov byte [ebp - 4], 0x13
push esi
lea ecx, [ebp - 0x24c]
call fcn.00402134
mov byte [ebp - 4], 0x14
push 0x4fb868
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.00418381
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 0x4fb870
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.00418381
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d4]
call fcn.00402161
push 0x4fb878
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.00418381
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x21c]
call fcn.00402161
push 0x1a
pop edx
lea ecx, [ebp - 0x264]
call fcn.00417d30
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], edi
jb 0x414ebf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402134
mov byte [ebp - 4], 0x19
push 0x4fb880
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.00418381
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.00417d30
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], edi
jb 0x414f3f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x204]
call fcn.00402134
mov byte [ebp - 4], 0x1c
push 0x4fb888
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.00418381
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.00417d30
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], edi
jb 0x414fbf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00402134
mov byte [ebp - 4], 0x1f
push 0x4fb898
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.00418381
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 0x41503a
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00402134
mov byte [ebp - 4], 0x21
push 0x4fb8a8
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.00418381
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 0x4150d8
mov eax, dword [ecx]
test byte [eax + 8], 4
je 0x4150d8
xor eax, eax
inc eax
jmp 0x4150da
mov eax, ebx
test al, al
je 0x41519b
mov eax, dword [ecx + 4]
jmp 0x4150f0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4150f4
mov eax, ecx
test eax, eax
jne 0x4150e7
test eax, eax
je 0x41519b
test dword [eax], 0x10000
je 0x41519b
mov ecx, dword [0x501fa4]
test ecx, ecx
je 0x415121
push 4
push 0x4fb8b4
push dword [eax + 0x1c]
push ebx
call ecx
jmp 0x41514b
cmp dword [0x500c48], 0
je 0x415149
push 0x14
pop eax
call fcn.0041e810
push esp
push 0x4fb8c0
call fcn.0040dce9
push eax
call dword [0x500c48]
add esp, 0xc
jmp 0x415150
mov eax, ebx
cmp eax, 6
je 0x41519b
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0x44]
call fcn.00415b5e
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.00415cb0
mov byte [ebp - 4], 2
mov esi, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.0041a264
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 0x415668
push 0x437028
push dword [ebp - 4]
push 0x41e7ee
push 3
push 0x500bf0
call fcn.004287f0
add esp, 0x14
test eax, eax
jne 0x415570
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 0x41530f
xor eax, eax
inc eax
mov dword [ebp + 0x54], eax
mov edi, ebx
push eax
lea ecx, [ebp + 0x58]
call fcn.00415b84
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 0x415305
mov dword [ebx + edi + 4], edx
mov dword [ebx + edi], esi
test dword [esi], 0x100
je 0x41521f
mov dword [ebx + edi + 0x20], str.0_B
jmp 0x4152bb
mov eax, dword [0x501808]
test eax, eax
je 0x41522c
call eax
jmp 0x415252
cmp dword [0x500c48], 0
je 0x415252
push 0x18
pop eax
call fcn.0041e810
push esp
push 0x4fb8d8
call fcn.0040dce9
push eax
call dword [0x500c48]
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.0041a4e3
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x24]
call fcn.004107e9
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x33c]
call fcn.00402161
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x415293
lea eax, [ebp - 0x24]
push eax
call fcn.0041e94c
push eax
mov dword [ebx + edi + 0x20], eax
call fcn.0041d430
pop ecx
pop ecx
test eax, eax
jne 0x4152b3
test byte [esi], 2
je 0x4152bb
call fcn.00414199
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.00415ac2
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 0x4151de
jmp 0x415312
push str.invalid_vector_T__subscript
call fcn.0041aef9
mov ebx, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov esi, ebx
cmp ebx, edi
je 0x41549e
mov eax, dword [esi]
test byte [eax], 0x20
je 0x415491
push dword [esi + 0x20]
call fcn.0041d430
pop ecx
test eax, eax
je 0x41548e
mov eax, dword [esi]
test dword [eax], 0x80000000
jne 0x41548e
push 1
lea ecx, [ebp + 0x38]
push ecx
push dword [eax + 0x1c]
lea eax, [ebp - 0x2dc]
push eax
call fcn.00416601
add esp, 0x10
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x3c]
call fcn.004107e9
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
call fcn.00402161
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x415389
lea eax, [ebp - 0x3c]
push eax
call fcn.0041e94c
mov dword [esi + 0x1c], eax
mov eax, dword [0x501808]
pop ecx
test eax, eax
je 0x4153a0
call eax
jmp 0x4153c6
cmp dword [0x500c48], 0
je 0x4153c6
push 0x18
pop eax
call fcn.0041e810
push esp
push 0x4fb8d8
call fcn.0040dce9
push eax
call dword [0x500c48]
add esp, 0xc
mov edx, esi
lea ecx, [ebp - 0xe4]
call fcn.0041453f
mov eax, dword [0x5025d8]
test eax, eax
je 0x4153e3
push dword [esi + 8]
call eax
jmp 0x41540b
cmp dword [0x500c48], 0
je 0x415409
push 0x18
pop eax
call fcn.0041e810
push esp
push 0x4fb8f0
call fcn.0040dce9
push eax
call dword [0x500c48]
add esp, 0xc
xor eax, eax
mov edx, eax
lea ecx, [ebp - 0x294]
call fcn.00413d42
mov ebx, eax
push 0x28
pop ecx
mov byte [ebp - 4], cl
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x27c]
call fcn.00413cf2
mov edi, eax
mov byte [ebp - 4], 0x29
push 0x4fb908
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.00410c2e
push eax
lea ecx, [ebp + 0x38]
call fcn.00418381
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 0x41531f
mov ebx, dword [ebp + 0x58]
cmp dword [ebp + 0x50], 0
je 0x4155e1
cmp ebx, edi
je 0x41553f
lea esi, [ebx + 8]
cmp dword [esi], 0
je 0x415532
mov eax, dword [esi - 8]
test byte [eax], 0x80
je 0x415532
mov eax, dword [0x500f4c]
test eax, eax
je 0x4154d4
push 0x5265c00
push dword [esi]
call eax
jmp 0x4154fa
cmp dword [0x500c48], 0
je 0x4154fa
push 0x1c
pop eax
call fcn.0041e810
push esp
push 0x4fb794
call fcn.0040dce9
push eax
call dword [0x500c48]
add esp, 0xc
mov eax, dword [0x501ac0]
test eax, eax
je 0x415509
push dword [esi]
call eax
jmp 0x41552f
cmp dword [0x500c48], 0
je 0x41552f
push 0x14
pop eax
call fcn.0041e810
push esp
push 0x4fb910
call fcn.0040dce9
push eax
call dword [0x500c48]
add esp, 0xc
push 0x28
pop ecx
add esi, ecx
lea eax, [esi - 8]
cmp eax, edi
jne 0x4154b3
mov esi, ebx
cmp ebx, edi
je 0x4155e1
mov eax, dword [esi]
test byte [eax], 1
je 0x415568
push dword [esi + 0x20]
call fcn.0041d430
pop ecx
test eax, eax
je 0x415565
mov ecx, dword [esi + 0x20]
call fcn.00413ea9
push 0x28
pop ecx
add esi, ecx
cmp esi, edi
jne 0x415549
jmp 0x4155e1
mov ebx, dword [ebp + 0x58]
mov dword [ebp + 0x1c], 0xff
cmp ebx, dword [ebp + 0x5c]
je 0x4155e1
lea esi, [ebx + 0x20]
cmp dword [esi - 0x18], 0
je 0x4155c0
mov eax, dword [0x501698]
test eax, eax
je 0x41559a
push 0xffffffffffffffff
push dword [esi - 0x18]
call eax
jmp 0x4155c0
cmp dword [0x500c48], 0
je 0x4155c0
push 0x1c
pop eax
call fcn.0041e810
push esp
push 0x4fb84c
call fcn.0040dce9
push eax
call dword [0x500c48]
add esp, 0xc
push dword [esi]
call fcn.0041d430
pop ecx
test eax, eax
je 0x4155d3
mov ecx, dword [esi]
call fcn.00413ea9
add esi, 0x28
lea eax, [esi - 0x20]
cmp eax, dword [ebp + 0x5c]
jne 0x415582
mov ebx, dword [ebp + 0x58]
mov esi, dword [0x502918]
jmp 0x4155ff
cmp dword [esi + 0x14], 0x10
jb 0x4155f3
mov eax, dword [esi]
jmp 0x4155f5
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esi, 0x18
cmp esi, dword [0x50291c]
jne 0x4155e9
call fcn.00416e3d
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x44]
call fcn.00415b5e
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.00415cb0
mov byte [ebp - 4], 2
test ebx, ebx
je 0x41563e
push ebx
call fcn.0041d77f
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.0041a264
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