Function at 0x41bdc0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d21f
mov eax, dword fs:[0]
push eax
sub esp, 0xb60
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
mov edi, edx
lea edx, [ebp - 0xb0c]
push str.DeviceIDFolderDeleteCheck
push edx
mov dword [ebp - 0xae8], eax
mov dword [ebp - 0xaf8], ecx
call fcn.0040ac70
add esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
push eax
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0xae8]
push ecx
push edi
push str.lpDriverName___s__lpHardwareIDName___s__flag___d__lpEnv___s
lea edx, [ebp - 0xb0c]
push 1
push edx
call fcn.0040aed0
mov eax, 1
add esp, 0x1c
mov dword [ebp - 0xb10], ebx
mov dword [ebp - 0xb14], ebx
mov dword [ebp - 0xb00], eax
mov dword [ebp - 0xb04], eax
call fcn.0040bea0
cmp eax, 6
jne 0x41c5d9
cmp dword [ebp + 0xc], ebx
jne 0x41c620
lea ecx, [ebp - 0xb14]
push ecx
lea edx, [ebp - 0xb10]
push edx
push ebx
push ebx
push eax
push esi
push ebx
call dword [sym.imp.WINSPOOL.DRV_EnumPrinterDriversW]
mov dword [ebp - 0xb00], eax
cmp eax, ebx
jne 0x41bea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41c5d9
mov ecx, dword [ebp - 0xb10]
add ecx, 0x100
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xafc], eax
cmp eax, ebx
je 0x41cec8
mov ecx, dword [ebp - 0xb10]
lea edx, [ebp - 0xb14]
push edx
mov edx, dword [ebp - 0xafc]
lea eax, [ebp - 0xb10]
push eax
push ecx
push edx
push 6
push esi
push ebx
call dword [sym.imp.WINSPOOL.DRV_EnumPrinterDriversW]
mov dword [ebp - 0xb00], eax
cmp eax, ebx
je 0x41c5cc
cmp dword [ebp - 0xb14], ebx
je 0x41c5cc
mov dword [ebp - 0xaec], ebx
mov eax, dword [ebp - 0xb14]
cmp dword [ebp - 0xaec], eax
jae 0x41c5a8
mov esi, dword [ebp - 0xaec]
lea ebx, [esi + esi*4]
shl ebx, 4
add ebx, dword [ebp - 0xafc]
push edi
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41c5c0
mov ecx, dword [ebx + 0x48]
push ecx
lea ecx, [ebp - 0xaf4]
call fcn.00401210
lea esi, [ebp - 0xaf4]
mov byte [ebp - 4], 1
call fcn.0041ea50
mov edx, dword [ebp - 0xaf4]
mov eax, dword [ebp - 0xae8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0xae8]
call fcn.004011e0
mov byte [ebp - 4], 3
mov edi, dword [ebx + 0x1c]
lea esp, [esp]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41c0bb
test edi, edi
jne 0x41bfa7
xor eax, eax
jmp 0x41bfbf
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41bfb0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0xae8]
call fcn.004016b0
mov esi, dword [ebp - 0xae8]
push 0x5c
push esi
call fcn.00534819
add esp, 8
test eax, eax
jne 0x41bfe6
or ecx, 0xffffffff
jmp 0x41bfec
sub eax, esi
sar eax, 1
mov ecx, eax
mov eax, dword [esi - 0xc]
inc ecx
sub eax, ecx
push eax
lea ecx, [ebp - 0xaf0]
push ecx
lea ecx, [ebp - 0xae8]
call fcn.00413980
push eax
lea ecx, [ebp - 0xae8]
mov byte [ebp - 4], 4
call fcn.00401520
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xaf0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c03b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xae8]
xor ecx, ecx
mov word [ebp - 0x890], cx
mov ecx, eax
mov dword [ebp - 0x87c], 7
mov dword [ebp - 0x880], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41c063
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x890]
call fcn.00405500
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004254f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x87c], 8
jb 0x41c0ab
mov edx, dword [ebp - 0x890]
push edx
call fcn.004401b7
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
jmp 0x41bf90
mov eax, dword [ebp - 0xaec]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [ebp - 0xafc]
mov edx, dword [eax + 0x14]
mov dword [ebp - 0xaec], eax
test edx, edx
jne 0x41c0de
xor eax, eax
jmp 0x41c0f2
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c0e3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xae8]
call fcn.004016b0
mov esi, dword [ebp - 0xae8]
push 0x5c
push esi
call fcn.00534819
add esp, 8
test eax, eax
jne 0x41c119
or ecx, 0xffffffff
jmp 0x41c11f
sub eax, esi
sar eax, 1
mov ecx, eax
mov eax, dword [esi - 0xc]
inc ecx
sub eax, ecx
push eax
lea edx, [ebp - 0xaf0]
push edx
lea ecx, [ebp - 0xae8]
call fcn.00413980
mov byte [ebp - 4], 6
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x858], cx
mov ebx, 7
mov ecx, eax
mov dword [ebp - 0x844], ebx
mov dword [ebp - 0x848], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41c161
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x858]
call fcn.00405500
mov byte [ebp - 4], bl
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
call fcn.004254f0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x844], 8
jb 0x41c1a8
mov edx, dword [ebp - 0x858]
push edx
call fcn.004401b7
add esp, 4
xor eax, eax
mov word [ebp - 0x858], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xaf0]
mov edi, 7
xor ebx, ebx
add eax, 0xfffffff0
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x848], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c1ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xaec]
mov edx, dword [ecx + 0x10]
cmp edx, ebx
jne 0x41c1fb
xor eax, eax
jmp 0x41c20f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c200
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xae8]
call fcn.004016b0
mov esi, dword [ebp - 0xae8]
push 0x5c
push esi
call fcn.00534819
add esp, 8
cmp eax, ebx
jne 0x41c236
or ecx, 0xffffffff
jmp 0x41c23c
sub eax, esi
sar eax, 1
mov ecx, eax
mov eax, dword [esi - 0xc]
inc ecx
sub eax, ecx
push eax
lea edx, [ebp - 0xaf0]
push edx
lea ecx, [ebp - 0xae8]
call fcn.00413980
mov byte [ebp - 4], 8
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x858], cx
mov ecx, eax
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x848], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41c275
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x858]
call fcn.00405500
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.004254f0
mov eax, 8
mov byte [ebp - 4], al
cmp dword [ebp - 0x844], eax
jb 0x41c2c0
mov edx, dword [ebp - 0x858]
push edx
call fcn.004401b7
add esp, 4
xor eax, eax
mov word [ebp - 0x858], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xaf0]
mov edi, 7
xor ebx, ebx
add eax, 0xfffffff0
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x848], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xaec]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x41c313
xor eax, eax
jmp 0x41c32f
mov eax, edx
lea esi, [eax + 2]
jmp 0x41c320
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c320
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xae8]
call fcn.004016b0
mov esi, dword [ebp - 0xae8]
push 0x5c
push esi
call fcn.00534819
add esp, 8
cmp eax, ebx
jne 0x41c356
or ecx, 0xffffffff
jmp 0x41c35c
sub eax, esi
sar eax, 1
mov ecx, eax
mov eax, dword [esi - 0xc]
inc ecx
sub eax, ecx
push eax
lea edx, [ebp - 0xaf0]
push edx
lea ecx, [ebp - 0xae8]
call fcn.00413980
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x858], cx
mov ecx, eax
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x848], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41c395
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x858]
call fcn.00405500
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.004254f0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x844], 8
jb 0x41c3dd
mov edx, dword [ebp - 0x858]
push edx
call fcn.004401b7
add esp, 4
xor eax, eax
mov word [ebp - 0x858], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xaf0]
xor ebx, ebx
add eax, 0xfffffff0
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c41e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xaec]
mov edx, dword [ecx + 0xc]
cmp edx, ebx
jne 0x41c42f
xor eax, eax
jmp 0x41c443
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c434
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xae8]
call fcn.004016b0
mov edi, dword [ebp - 0xae8]
push 0x5c
push edi
call fcn.00534819
add esp, 8
cmp eax, ebx
jne 0x41c46a
or ecx, 0xffffffff
jmp 0x41c470
sub eax, edi
sar eax, 1
mov ecx, eax
mov eax, dword [edi - 0xc]
inc ecx
sub eax, ecx
push eax
lea edx, [ebp - 0xaf0]
push edx
lea ecx, [ebp - 0xae8]
call fcn.00413980
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x858], cx
mov ecx, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], ebx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41c4b0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x858]
call fcn.00405500
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.004254f0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x844], 8
jb 0x41c4f8
mov edx, dword [ebp - 0x858]
push edx
call fcn.004401b7
add esp, 4
xor eax, eax
mov word [ebp - 0x858], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xaf0]
add eax, 0xfffffff0
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c53b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 2
jmp 0x41c562
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c582
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xaf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c5a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xafc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41cec8
inc esi
mov dword [ebp - 0xaec], esi
jmp 0x41bf11
mov edx, dword [ebp - 0xafc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push str.return___08x
lea eax, [ebp - 0xb0c]
push 2
push eax
call fcn.0040aed0
add esp, 0x10
lea ecx, [ebp - 0xb0c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005337cb
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x224]
push ebx
push ecx
call fcn.005373f0
add esp, 0xc
push 0x208
lea edx, [ebp - 0x634]
push ebx
push edx
call fcn.005373f0
add esp, 0xc
push 0x208
lea eax, [ebp - 0x42c]
push ebx
push eax
call fcn.005373f0
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x83c]
push ebx
push ecx
call fcn.005373f0
add esp, 0xc
lea esi, [ebp - 0x634]
call fcn.00413bd0
mov edx, dword [ebp - 0xae8]
push edx
mov eax, esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea ecx, [ebp - 0x42c]
push str._s_s
push ecx
call esi
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x224]
push 0x58c388
push eax
call esi
add esp, 0x1c
mov dword [ebp - 0xafc], 1
mov dword [ebp - 0xb50], ebx
mov dword [ebp - 0xb4c], ebx
mov dword [ebp - 0xb48], ebx
mov dword [ebp - 0xb38], ebx
mov dword [ebp - 0xb34], ebx
mov dword [ebp - 0xb30], ebx
mov byte [ebp - 4], 0x10
push 0x48
mov dword [ebp - 0xb1c], ebx
call fcn.00440188
add esp, 4
cmp eax, ebx
je 0x41cf02
mov dword [ebp - 0xb20], eax
mov dword [eax], eax
mov eax, dword [ebp - 0xb20]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0xb20]
mov dword [eax + 8], eax
mov ecx, dword [ebp - 0xb20]
mov byte [ecx + 0x44], 1
mov edx, dword [ebp - 0xb20]
mov byte [edx + 0x45], 1
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0xb24]
call fcn.00425860
mov eax, dword [ebp - 0xb20]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0xb20]
mov dword [eax], eax
mov eax, dword [ebp - 0xb20]
lea edx, [ebp - 0xb50]
mov dword [eax + 8], eax
push edx
lea ecx, [ebp - 0xb24]
mov dword [ebp - 0xb1c], ebx
call fcn.0041e0b0
mov ecx, dword [ebp - 0xb4c]
mov esi, dword [ebp - 0xb50]
mov edi, eax
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
mov dword [ebp - 0xaf0], edi
je 0x41cc5c
mov eax, esi
mov dword [ebp - 0xaec], eax
cmp eax, dword [ebp - 0xb4c]
je 0x41cc32
xor ecx, ecx
push ebx
mov word [ebp - 0x890], cx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], 7
mov dword [ebp - 0x880], ebx
call fcn.00405240
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x87c], 8
mov eax, dword [ebp - 0x890]
jae 0x41c800
lea eax, [ebp - 0x890]
mov edx, dword [ebp - 0xae8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41cc02
mov esi, dword [ebp - 0xae8]
mov dword [ebp - 0x864], eax
mov word [ebp - 0x874], ax
mov eax, esi
mov dword [ebp - 0x860], 7
lea edx, [eax + 2]
jmp 0x41c840
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c840
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x874]
call fcn.00405500
mov ecx, esi
push ecx
lea edx, [ebp - 0xb58]
push edx
lea eax, [ebp - 0xb24]
push eax
mov byte [ebp - 4], 0x13
call fcn.00425660
mov ebx, dword [ebp - 0xb58]
mov ecx, dword [ebp - 0xb54]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x860], 8
mov dword [ebp - 0xb40], ebx
mov dword [ebp - 0xb3c], ecx
jb 0x41c8b0
mov edx, dword [ebp - 0x874]
push edx
call fcn.004401b7
add esp, 4
jmp 0x41c8b0
cmp ebx, dword [ebp - 0xb3c]
je 0x41ca5d
xor eax, eax
push eax
lea ecx, [ebx + 0x28]
mov word [ebp - 0x874], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x874]
mov dword [ebp - 0x860], 7
mov dword [ebp - 0x864], 0
call fcn.00405240
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0xb38]
mov edi, dword [ebp - 0xb34]
cmp esi, edi
je 0x41c9ac
xor edx, edx
push edx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], dx
call fcn.00405240
cmp dword [ebp - 0x844], 8
mov ecx, dword [ebp - 0x858]
jae 0x41c946
lea ecx, [ebp - 0x858]
cmp dword [ebp - 0x860], 8
mov eax, dword [ebp - 0x874]
jae 0x41c95b
lea eax, [ebp - 0x874]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x41c990
cmp dword [ebp - 0x844], 8
jb 0x41c983
mov eax, dword [ebp - 0x858]
push eax
call fcn.004401b7
add esp, 4
add esi, 0x1c
cmp esi, edi
jne 0x41c904
jmp 0x41c9ac
cmp dword [ebp - 0x844], 8
jb 0x41c9a8
mov ecx, dword [ebp - 0x858]
push ecx
call fcn.004401b7
add esp, 4
cmp esi, edi
jne 0x41c9e8
lea ecx, [ebp - 0x874]
lea edi, [ebp - 0xb38]
mov byte [ebp - 4], 0x16
call fcn.00408280
mov dword [ebp - 4], 0x14
jmp 0x41c9e8
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x860], 8
jb 0x41ca04
mov edx, dword [ebp - 0x874]
push edx
call fcn.004401b7
add esp, 4
cmp byte [ebx + 0x45], 0
jne 0x41c8b0
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x45], 0
jne 0x41ca37
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x41ca2a
nop
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x41ca20
mov ebx, ecx
mov dword [ebp - 0xb40], ebx
jmp 0x41c8b0
mov eax, dword [ebx + 4]
cmp byte [eax + 0x45], 0
jne 0x41ca50
cmp ebx, dword [eax + 8]
jne 0x41ca50
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x41ca40
mov ebx, eax
mov dword [ebp - 0xb40], ebx
jmp 0x41c8b0
mov eax, dword [ebp - 0xb38]
mov dword [ebp - 0xaf4], eax
cmp eax, dword [ebp - 0xb34]
je 0x41cc02
mov ecx, dword [ebp - 0xaf4]
xor eax, eax
push eax
mov word [ebp - 0x874], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x874]
mov dword [ebp - 0x860], 7
mov dword [ebp - 0x864], 0
call fcn.00405240
mov eax, dword [ebp - 0xaf8]
mov byte [ebp - 4], 0x18
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x41cbcb
mov edi, 8
xor ebx, ebx
push ebx
xor edx, edx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], ebx
mov word [ebp - 0x858], dx
call fcn.00405240
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x858]
cmp dword [ebp - 0x844], edi
jae 0x41cb05
lea ecx, [ebp - 0x858]
mov eax, dword [ebp - 0x874]
cmp dword [ebp - 0x860], edi
jae 0x41cb19
lea eax, [ebp - 0x874]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41cb54
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x844], edi
jb 0x41cb40
mov eax, dword [ebp - 0x858]
push eax
call fcn.004401b7
add esp, 4
mov ecx, dword [ebp - 0xaf8]
add esi, 0x1c
cmp esi, dword [ecx + 4]
jne 0x41cac4
jmp 0x41cbcb
mov edx, dword [ebp - 0xb28]
mov ebx, dword [ebp - 0xaf8]
mov eax, dword [ebx + 4]
push edx
push eax
lea ecx, [esi + 0x1c]
mov eax, esi
call fcn.004086e0
mov edi, dword [ebx + 4]
lea esi, [edi - 0x1c]
add esp, 8
cmp esi, edi
je 0x41cbab
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x41cb91
mov eax, dword [esi]
push eax
call fcn.004401b7
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0x41cb80
add dword [ebx + 4], 0xffffffe4
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x844], 8
jb 0x41cbcb
mov ecx, dword [ebp - 0x858]
push ecx
call fcn.004401b7
add esp, 4
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x860], 8
jb 0x41cbe7
mov edx, dword [ebp - 0x874]
push edx
call fcn.004401b7
add esp, 4
mov eax, dword [ebp - 0xaf4]
add eax, 0x1c
mov dword [ebp - 0xaf4], eax
cmp eax, dword [ebp - 0xb34]
jne 0x41ca75
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x87c], 8
jb 0x41cc1e
mov eax, dword [ebp - 0x890]
push eax
call fcn.004401b7
add esp, 4
add dword [ebp - 0xaec], 0x1c
mov eax, dword [ebp - 0xaec]
xor ebx, ebx
jmp 0x41c7b2
mov ecx, dword [ebp - 0xb34]
sub ecx, dword [ebp - 0xb38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x41cc67
cmp dword [ebp - 0xaf0], 1
jmp 0x41cc5f
cmp edi, 1
jne 0x41cc67
mov dword [ebp - 0xafc], ebx
lea edx, [ebp - 0xae4]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xaf4], eax
cmp eax, 0xffffffff
je 0x41ce00
cmp dword [ebp - 0xb00], ebx
je 0x41cdf1
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0xab8]
push ecx
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x224]
push str._s_s
push eax
call esi
add esp, 0x10
cmp dword [ebp - 0xafc], 1
jne 0x41cdbc
lea ecx, [ebp - 0xab8]
push ecx
lea edx, [ebp - 0x634]
push edx
lea eax, [ebp - 0x83c]
push str._s3_s
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x83c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cdbc
mov eax, dword [ebp - 0xaf8]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x41cdcf
jmp 0x41cd20
xor eax, eax
push ebx
mov word [ebp - 0x890], ax
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], 7
mov dword [ebp - 0x880], ebx
call fcn.00405240
mov eax, dword [ebp - 0x890]
mov edi, 8
cmp dword [ebp - 0x87c], edi
jae 0x41cd62
lea eax, [ebp - 0x890]
lea ecx, [ebp - 0xab8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41cd8b
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x41cd8b
mov dword [ebp - 0xb04], ebx
cmp dword [ebp - 0x87c], edi
jb 0x41cda2
mov eax, dword [ebp - 0x890]
push eax
call fcn.004401b7
add esp, 4
mov ecx, dword [ebp - 0xaf8]
add esi, 0x1c
cmp esi, dword [ecx + 4]
jne 0x41cd20
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41cdcf
lea edx, [ebp - 0x224]
push edx
call edi
cmp eax, ebx
jne 0x41cdcf
mov dword [ebp - 0xb04], ebx
mov ecx, dword [ebp - 0xaf4]
lea eax, [ebp - 0xae4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0xb00], eax
cmp eax, ebx
jne 0x41cca0
mov edx, dword [ebp - 0xaf4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41ce0a
mov dword [ebp - 0xb04], 1
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0xb28]
lea esi, [ebp - 0xb24]
call fcn.00425940
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xb20]
push ecx
call fcn.004401b7
mov byte [ebp - 4], 0xf
mov ebx, dword [ebp - 0xb38]
add esp, 4
test ebx, ebx
je 0x41cea4
mov edi, dword [ebp - 0xb34]
mov esi, ebx
cmp ebx, edi
je 0x41ce9b
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x41ce81
mov eax, dword [esi]
push eax
call fcn.004401b7
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x41ce70
push ebx
call fcn.004401b7
add esp, 4
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0xb50]
test esi, esi
je 0x41cec8
mov edi, dword [ebp - 0xb4c]
mov eax, esi
call fcn.00408540
push esi
call fcn.004401b7
add esp, 4
mov eax, dword [ebp - 0xb00]
push eax
push str.return___08x
lea ecx, [ebp - 0xb0c]
push 2
push ecx
call fcn.0040aed0
add esp, 0x10
lea ecx, [ebp - 0xb0c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
mov eax, dword [ebp - 0xb04]
jmp 0x41c604
lea edx, [ebp - 0xb28]
push edx
lea ecx, [ebp - 0xb6c]
mov dword [ebp - 0xb28], ebx
call fcn.00533d5a
push 0x5a7844
lea eax, [ebp - 0xb6c]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.005372e6
int3