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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5679f4
mov eax, dword fs:[0]
push eax
sub esp, 0xb60
mov eax, dword [0x5c0490]
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.00401190
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.00401410
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.00414850
cmp eax, 6
jne 0x4258c5
cmp dword [ebp + 0xc], ebx
jne 0x42590c
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 0x4251a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4258c5
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 0x4261b9
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 0x4258b8
cmp dword [ebp - 0xb14], ebx
je 0x4258b8
mov dword [ebp - 0xaec], ebx
mov eax, dword [ebp - 0xb14]
cmp dword [ebp - 0xaec], eax
jae 0x425894
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 0x4258ac
mov ecx, dword [ebx + 0x48]
push ecx
lea ecx, [ebp - 0xaf4]
call fcn.00404f00
lea esi, [ebp - 0xaf4]
mov byte [ebp - 4], 1
call fcn.00427c20
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.00406370
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 0x4253bb
test edi, edi
jne 0x4252a7
xor eax, eax
jmp 0x4252bf
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4252b0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0xae8]
call fcn.00405470
mov esi, dword [ebp - 0xae8]
push 0x5c
push esi
call fcn.0053dda2
add esp, 8
test eax, eax
jne 0x4252e6
or ecx, 0xffffffff
jmp 0x4252ec
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.004103e0
push eax
lea ecx, [ebp - 0xae8]
mov byte [ebp - 4], 4
call fcn.004063a0
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 0x42533b
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 0x425363
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x890]
call fcn.00403030
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00402d60
mov byte [ebp - 4], 3
cmp dword [ebp - 0x87c], 8
jb 0x4253ab
mov edx, dword [ebp - 0x890]
push edx
call fcn.00448ac2
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
jmp 0x425290
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 0x4253de
xor eax, eax
jmp 0x4253f2
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4253e3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xae8]
call fcn.00405470
mov esi, dword [ebp - 0xae8]
push 0x5c
push esi
call fcn.0053dda2
add esp, 8
test eax, eax
jne 0x425419
or ecx, 0xffffffff
jmp 0x42541f
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.004103e0
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 0x425461
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x858]
call fcn.00403030
mov byte [ebp - 4], bl
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
call fcn.00402d60
cmp dword [ebp - 0x844], 8
jb 0x4254a4
mov edx, dword [ebp - 0x858]
push edx
call fcn.00448ac2
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 0x4254e6
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 0x4254f7
xor eax, eax
jmp 0x42550f
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425500
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xae8]
call fcn.00405470
mov esi, dword [ebp - 0xae8]
push 0x5c
push esi
call fcn.0053dda2
add esp, 8
cmp eax, ebx
jne 0x425536
or ecx, 0xffffffff
jmp 0x42553c
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.004103e0
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 0x425575
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x858]
call fcn.00403030
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00402d60
cmp dword [ebp - 0x844], 8
jb 0x4255b9
mov edx, dword [ebp - 0x858]
push edx
call fcn.00448ac2
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 0x4255fb
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 0x42560c
xor eax, eax
jmp 0x425620
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425611
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xae8]
call fcn.00405470
mov esi, dword [ebp - 0xae8]
push 0x5c
push esi
call fcn.0053dda2
add esp, 8
cmp eax, ebx
jne 0x425647
or ecx, 0xffffffff
jmp 0x42564d
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.004103e0
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 0x425686
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x858]
call fcn.00403030
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00402d60
cmp dword [ebp - 0x844], 8
jb 0x4256ca
mov edx, dword [ebp - 0x858]
push edx
call fcn.00448ac2
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 0x42570b
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 0x42571c
xor eax, eax
jmp 0x425730
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425721
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xae8]
call fcn.00405470
mov edi, dword [ebp - 0xae8]
push 0x5c
push edi
call fcn.0053dda2
add esp, 8
cmp eax, ebx
jne 0x425757
or ecx, 0xffffffff
jmp 0x42575d
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.004103e0
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 ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4257a0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x858]
call fcn.00403030
mov ebx, dword [ebp - 0xaf8]
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00402d60
cmp dword [ebp - 0x844], 8
jb 0x4257e4
mov edx, dword [ebp - 0x858]
push edx
call fcn.00448ac2
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 0x425827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 2
jmp 0x42584e
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 0x42586e
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 0x425894
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 0x4261b9
inc esi
mov dword [ebp - 0xaec], esi
jmp 0x425211
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.00401410
add esp, 0x10
lea ecx, [ebp - 0xb0c]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
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.0053ca73
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x224]
push ebx
push ecx
call fcn.00541d20
add esp, 0xc
push 0x208
lea edx, [ebp - 0x634]
push ebx
push edx
call fcn.00541d20
add esp, 0xc
push 0x250
lea eax, [ebp - 0xae4]
push ebx
push eax
call fcn.00541d20
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x42c]
push ebx
push ecx
call fcn.00541d20
add esp, 0xc
push 0x208
lea edx, [ebp - 0x83c]
push ebx
push edx
call fcn.00541d20
add esp, 0xc
lea esi, [ebp - 0x634]
call fcn.0041c670
mov eax, dword [ebp - 0xae8]
push eax
mov ecx, esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push ecx
lea edx, [ebp - 0x42c]
push str._s_s
push edx
call esi
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x224]
push 0x597190
push ecx
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.00448a88
add esp, 4
cmp eax, ebx
je 0x4261f3
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 edx, dword [ebp - 0xb20]
mov byte [edx + 0x44], 1
mov eax, dword [ebp - 0xb20]
mov byte [eax + 0x45], 1
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xb20]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0xb24]
call fcn.0042c960
mov eax, dword [ebp - 0xb20]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0xb20]
mov dword [eax], eax
mov eax, dword [ebp - 0xb20]
mov dword [eax + 8], eax
lea eax, [ebp - 0xb50]
push eax
lea ecx, [ebp - 0xb24]
mov dword [ebp - 0xb1c], ebx
call fcn.004273d0
mov ecx, dword [ebp - 0xb4c]
mov esi, dword [ebp - 0xb50]
sub ecx, esi
mov edi, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add esp, 4
add ecx, edx
mov dword [ebp - 0xaf0], edi
je 0x425f58
mov eax, esi
mov dword [ebp - 0xaec], eax
cmp eax, dword [ebp - 0xb4c]
je 0x425f2e
push ebx
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], 7
mov dword [ebp - 0x880], ebx
mov word [ebp - 0x890], dx
call fcn.00402e40
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x87c], 8
mov eax, dword [ebp - 0x890]
jae 0x425b01
lea eax, [ebp - 0x890]
push eax
mov eax, dword [ebp - 0xae8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x425efe
mov esi, dword [ebp - 0xae8]
mov dword [ebp - 0x864], eax
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x860], 7
mov word [ebp - 0x874], cx
lea edx, [eax + 2]
jmp 0x425b40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425b40
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x874]
call fcn.00403030
mov edx, esi
push edx
lea eax, [ebp - 0xb58]
push eax
lea ecx, [ebp - 0xb24]
push ecx
mov byte [ebp - 4], 0x13
call fcn.0042c760
mov ebx, dword [ebp - 0xb58]
mov edx, dword [ebp - 0xb54]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x860], 8
mov dword [ebp - 0xb40], ebx
mov dword [ebp - 0xb3c], edx
jb 0x425bb0
mov eax, dword [ebp - 0x874]
push eax
call fcn.00448ac2
add esp, 4
jmp 0x425bb0
cmp ebx, dword [ebp - 0xb3c]
je 0x425d5d
xor ecx, ecx
push ecx
lea edx, [ebx + 0x28]
mov word [ebp - 0x874], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x874]
mov dword [ebp - 0x860], 7
mov dword [ebp - 0x864], 0
call fcn.00402e40
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0xb38]
mov edi, dword [ebp - 0xb34]
cmp esi, edi
je 0x425ca8
xor eax, eax
push eax
mov word [ebp - 0x858], ax
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
call fcn.00402e40
cmp dword [ebp - 0x844], 8
mov ecx, dword [ebp - 0x858]
jae 0x425c46
lea ecx, [ebp - 0x858]
cmp dword [ebp - 0x860], 8
mov eax, dword [ebp - 0x874]
jae 0x425c5b
lea eax, [ebp - 0x874]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x425c8c
cmp dword [ebp - 0x844], 8
jb 0x425c7f
mov ecx, dword [ebp - 0x858]
push ecx
call fcn.00448ac2
add esp, 4
add esi, 0x1c
cmp esi, edi
jne 0x425c04
jmp 0x425ca8
cmp dword [ebp - 0x844], 8
jb 0x425ca4
mov edx, dword [ebp - 0x858]
push edx
call fcn.00448ac2
add esp, 4
cmp esi, edi
jne 0x425ce4
lea ecx, [ebp - 0x874]
lea edi, [ebp - 0xb38]
mov byte [ebp - 4], 0x15
call fcn.0040b6d0
mov dword [ebp - 4], 0x14
jmp 0x425ce4
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x860], 8
jb 0x425d00
mov eax, dword [ebp - 0x874]
push eax
call fcn.00448ac2
add esp, 4
cmp byte [ebx + 0x45], 0
jne 0x425bb0
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x45], 0
jne 0x425d37
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x425d2a
jmp 0x425d20
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x425d20
mov ebx, ecx
mov dword [ebp - 0xb40], ebx
jmp 0x425bb0
mov eax, dword [ebx + 4]
cmp byte [eax + 0x45], 0
jne 0x425d50
cmp ebx, dword [eax + 8]
jne 0x425d50
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x425d40
mov ebx, eax
mov dword [ebp - 0xb40], ebx
jmp 0x425bb0
mov eax, dword [ebp - 0xb38]
mov dword [ebp - 0xaf4], eax
cmp eax, dword [ebp - 0xb34]
je 0x425efe
mov edx, dword [ebp - 0xaf4]
xor ecx, ecx
push ecx
mov word [ebp - 0x874], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x874]
mov dword [ebp - 0x860], 7
mov dword [ebp - 0x864], 0
call fcn.00402e40
mov eax, dword [ebp - 0xaf8]
mov byte [ebp - 4], 0x17
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x425ec7
mov edi, 8
xor ebx, ebx
xor eax, eax
push ebx
mov word [ebp - 0x858], ax
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], ebx
call fcn.00402e40
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x858]
cmp dword [ebp - 0x844], edi
jae 0x425e05
lea ecx, [ebp - 0x858]
mov eax, dword [ebp - 0x874]
cmp dword [ebp - 0x860], edi
jae 0x425e19
lea eax, [ebp - 0x874]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x425e54
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x844], edi
jb 0x425e40
mov ecx, dword [ebp - 0x858]
push ecx
call fcn.00448ac2
add esp, 4
mov edx, dword [ebp - 0xaf8]
add esi, 0x1c
cmp esi, dword [edx + 4]
jne 0x425dc4
jmp 0x425ec7
mov ecx, dword [ebp - 0xb28]
mov ebx, dword [ebp - 0xaf8]
mov eax, dword [ebx + 4]
push ecx
push eax
lea ecx, [esi + 0x1c]
mov eax, esi
call fcn.0040bee0
mov edi, dword [ebx + 4]
lea esi, [edi - 0x1c]
add esp, 8
cmp esi, edi
je 0x425eab
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x425e91
mov eax, dword [esi]
push eax
call fcn.00448ac2
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 0x425e80
add dword [ebx + 4], 0xffffffe4
cmp dword [ebp - 0x844], 8
jb 0x425ec7
mov eax, dword [ebp - 0x858]
push eax
call fcn.00448ac2
add esp, 4
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x860], 8
jb 0x425ee3
mov ecx, dword [ebp - 0x874]
push ecx
call fcn.00448ac2
add esp, 4
mov eax, dword [ebp - 0xaf4]
add eax, 0x1c
mov dword [ebp - 0xaf4], eax
cmp eax, dword [ebp - 0xb34]
jne 0x425d75
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x87c], 8
jb 0x425f1a
mov edx, dword [ebp - 0x890]
push edx
call fcn.00448ac2
add esp, 4
add dword [ebp - 0xaec], 0x1c
mov eax, dword [ebp - 0xaec]
xor ebx, ebx
jmp 0x425ab3
mov ecx, dword [ebp - 0xb34]
sub ecx, dword [ebp - 0xb38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x425f63
cmp dword [ebp - 0xaf0], 1
jmp 0x425f5b
cmp edi, 1
jne 0x425f63
mov dword [ebp - 0xafc], ebx
lea ecx, [ebp - 0xae4]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xaf4], eax
cmp eax, 0xffffffff
je 0x426100
cmp dword [ebp - 0xb00], ebx
je 0x4260f1
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x425fa0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xab8]
push eax
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x224]
push str._s_s
push edx
call esi
add esp, 0x10
cmp dword [ebp - 0xafc], 1
jne 0x4260bc
lea eax, [ebp - 0xab8]
push eax
lea ecx, [ebp - 0x634]
push ecx
lea edx, [ebp - 0x83c]
push str._s3_s
push edx
call esi
add esp, 0x10
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42600e
lea ecx, [ebp - 0x224]
push ecx
jmp 0x4260c3
mov eax, dword [ebp - 0xaf8]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x4260cf
nop
push ebx
xor edx, edx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], 7
mov dword [ebp - 0x880], ebx
mov word [ebp - 0x890], dx
call fcn.00402e40
mov eax, dword [ebp - 0x890]
mov edi, 8
cmp dword [ebp - 0x87c], edi
jae 0x426062
lea eax, [ebp - 0x890]
lea ecx, [ebp - 0xab8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42608b
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x42608b
mov dword [ebp - 0xb04], ebx
cmp dword [ebp - 0x87c], edi
jb 0x4260a2
mov eax, dword [ebp - 0x890]
push eax
call fcn.00448ac2
add esp, 4
mov ecx, dword [ebp - 0xaf8]
add esi, 0x1c
cmp esi, dword [ecx + 4]
jne 0x426020
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4260cf
lea edx, [ebp - 0x224]
push edx
call edi
cmp eax, ebx
jne 0x4260cf
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 0x425fa0
mov edx, dword [ebp - 0xaf4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42610a
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], 0x19
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0xb28]
lea esi, [ebp - 0xb24]
call fcn.0042ca10
mov ecx, dword [ebp - 0xb20]
push ecx
call fcn.00448ac2
mov ebx, dword [ebp - 0xb38]
add esp, 4
test ebx, ebx
je 0x426195
mov edi, dword [ebp - 0xb34]
mov esi, ebx
cmp ebx, edi
je 0x42618c
cmp dword [esi + 0x14], 8
jb 0x426172
mov eax, dword [esi]
push eax
call fcn.00448ac2
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 0x426161
push ebx
call fcn.00448ac2
add esp, 4
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0xb50]
test esi, esi
je 0x4261b9
mov edi, dword [ebp - 0xb4c]
mov eax, esi
call fcn.004034e0
push esi
call fcn.00448ac2
add esp, 4
mov eax, dword [ebp - 0xb00]
push eax
push str.return___08x
lea ecx, [ebp - 0xb0c]
push 2
push ecx
call fcn.00401410
add esp, 0x10
lea ecx, [ebp - 0xb0c]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
mov eax, dword [ebp - 0xb04]
jmp 0x4258f0
lea edx, [ebp - 0xb28]
push edx
lea ecx, [ebp - 0xb6c]
mov dword [ebp - 0xb28], ebx
call fcn.0053cb49
push 0x5b2624
lea eax, [ebp - 0xb6c]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.005406c6
int3