Function at 0x405240
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408f4e
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x40d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0xfc], al
lea eax, [ebp - 0x124]
push eax
call fcn.00404d70
mov edx, dword [ebp - 0x124]
add esp, 4
mov ecx, dword [ebp - 0x120]
cmp edx, 0xd5fa0dff
jne 0x4052ad
cmp ecx, 0x7ffffffe
je 0x4052da
cmp ecx, 0x7ffffffe
jg 0x4052c3
jl 0x4052bf
cmp edx, 0xd5fa0dff
jae 0x4052c3
or al, 0xff
jmp 0x4052c5
mov al, 1
test al, al
jns 0x4052da
add edx, 0x2a05f200
adc ecx, 1
mov dword [ebp - 0x94], ecx
jmp 0x4052e7
or edx, 0xffffffff
mov dword [ebp - 0x94], 0x7fffffff
mov dword [ebp - 0xa8], edx
nop dword [eax]
call sub.MSVCP140.dll__Query_perf_frequency
mov edi, eax
mov esi, edx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0x9c], esi
call sub.MSVCP140.dll__Query_perf_counter
mov dword [ebp - 0xac], eax
mov ecx, edx
mov dword [ebp - 0xa4], ecx
cmp edi, 0x989680
jne 0x405335
test esi, esi
jne 0x405335
push esi
push 0x64
push ecx
push eax
call fcn.00407ae0
mov ecx, eax
jmp 0x40540b
cmp edi, 0x16e3600
jne 0x4053b2
test esi, esi
jne 0x4053b2
push esi
push edi
push ecx
push eax
call fcn.00407950
push 0
push 0x3b9aca00
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.00407ae0
push 0
push 0x16e3600
push esi
push edi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x9c], edx
call fcn.00407ae0
mov ecx, dword [ebp - 0xac]
sub ecx, eax
mov eax, dword [ebp - 0xa4]
push 0
push 0x3b9aca00
sbb eax, edx
push eax
push ecx
call fcn.00407ae0
push 0
push 0x16e3600
push edx
push eax
call fcn.00407950
mov ecx, eax
add ecx, dword [ebp - 0xb4]
adc edx, dword [ebp - 0x9c]
jmp 0x40540b
push ebx
push esi
push edi
push ecx
push eax
call fcn.00407a00
mov edi, ebx
pop ebx
nop
push 0
push 0x3b9aca00
push edx
push eax
mov esi, ecx
call fcn.00407ae0
push 0
push 0x3b9aca00
push edi
push esi
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], edx
call fcn.00407ae0
push dword [ebp - 0x9c]
push dword [ebp - 0xb4]
push edx
push eax
call fcn.00407950
mov ecx, eax
add ecx, dword [ebp - 0xac]
adc edx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x94]
cmp edi, ecx
jne 0x405423
cmp esi, edx
je 0x4054f4
cmp esi, edx
jg 0x405431
jl 0x40542d
cmp edi, ecx
jae 0x405431
or al, 0xff
jmp 0x405433
mov al, 1
test al, al
jle 0x4054f4
sub edi, ecx
sbb esi, edx
cmp edi, 0x914f0000
jne 0x405453
cmp esi, 0x4e94
je 0x4054e5
cmp esi, 0x4e94
jg 0x4054e5
jl 0x405469
cmp edi, 0x914f0000
jae 0x4054e5
push 0
push 0xf4240
push esi
push edi
call fcn.00407950
push 0
mov ecx, edx
mov dword [ebp - 0xa4], eax
push 0xf4240
push ecx
push eax
mov dword [ebp - 0xac], ecx
call fcn.00407ae0
cmp eax, edi
jne 0x40549b
cmp edx, esi
je 0x4054c8
cmp edx, esi
jg 0x4054c8
jl 0x4054a5
cmp eax, edi
jae 0x4054c8
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
add eax, 1
push eax
adc ecx, 0
mov dword [ebp - 0x9c], ecx
call sub.KERNEL32.dll_Sleep
jmp 0x4052f0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
push eax
mov dword [ebp - 0x9c], ecx
call sub.KERNEL32.dll_Sleep
jmp 0x4052f0
push 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x4052f0
push dword [ebp - 0xfc]
lea eax, [ebp - 0x28]
push 1
push 0x4093d8
push eax
call fcn.004012d0
mov edi, dword [ebp - 0x98]
or edi, 0x800
mov dword [ebp - 4], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00401860
add esp, 0x1c
test eax, eax
jne 0x405f2f
lea ecx, [ebp - 0x28]
call fcn.004040a0
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x405568
lock inc dword [esi + 4]
mov ecx, dword [ebp - 0xd8]
mov edx, esi
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], edx
test esi, esi
je 0x40558a
lock inc dword [esi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
test esi, esi
je 0x4055d4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4055d4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4055ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x40579c
mov byte [ebp - 0x100], 0
nop word [eax + eax]
push dword [ebp - 0x100]
lea eax, [ebp - 0x28]
push 4
push 0x4094c0
push eax
call fcn.004012d0
or edi, 0x100
add esp, 0x10
mov dword [ebp - 0x98], edi
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 6
cmp dword [eax + 0x34], 7
lea ecx, [eax + 0x20]
jbe 0x40562b
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x30]
lea esi, [ecx + eax*2]
push esi
push ecx
call fcn.00403560
add esp, 8
mov edi, eax
push 0x3a
push esi
push edi
call fcn.00406e10
cmp edi, eax
je 0x40567d
lea ecx, [eax - 2]
cmp edi, ecx
je 0x40567d
cmp word [ecx], 0x2e
lea edx, [ecx - 2]
jne 0x405666
cmp edi, edx
jne 0x40567f
cmp word [edx], 0x2e
jne 0x40567f
jmp 0x40567d
mov ecx, edx
cmp edi, ecx
je 0x40567d
nop dword [eax]
cmp word [ecx], 0x2e
je 0x40567f
sub ecx, 2
cmp edi, ecx
jne 0x405670
mov ecx, eax
sub eax, ecx
mov dword [ebp - 0xa0], ecx
sar eax, 1
xorps xmm0, xmm0
push eax
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00401230
mov edi, dword [ebp - 0x98]
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
or edi, 0xe0
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
push eax
call fcn.004046f0
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004040a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.004040a0
test esi, esi
jne 0x40576b
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x34], 7
lea ecx, [eax + 0x20]
jbe 0x4056fb
mov ecx, dword [eax + 0x20]
lea edx, [ebp - 0xc5]
push edx
push dword [eax + 0x30]
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.004013e0
or edi, 0x600
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [0x40d478]
cmova eax, dword [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.004049a0
mov ecx, dword [ebp - 0x14]
add esp, 0x18
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x40576b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405761
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ee7
push ecx
push edx
call fcn.00407922
add esp, 8
lea eax, [ebp - 0xe0]
push eax
call fcn.00403390
add esp, 4
test eax, eax
jne 0x405eed
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x94], eax
test eax, eax
jne 0x4055f0
mov esi, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4057cb
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4057cb
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0xdc]
or eax, 0xffffffff
lock xadd dword [edx + 8], eax
jne 0x4057cb
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
test esi, esi
je 0x4057f0
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4057f0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4057f0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
xor esi, esi
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xbc], eax
push esi
push esi
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x405990
push eax
call fcn.00407930
add esp, 4
mov dword [ebp - 0x98], eax
push eax
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
mov eax, dword [ebp - 0x98]
je 0x405987
cmp byte [eax], 0
mov edx, eax
mov dword [ebp - 0xac], eax
je 0x405987
nop word [eax + eax]
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x9c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405890
sub ecx, dword [ebp - 0x9c]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004011a0
mov byte [ebp - 4], 9
cmp esi, dword [ebp - 0xa8]
je 0x4058ec
xorps xmm0, xmm0
mov ecx, 0xf
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x40], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0xc0], esi
jmp 0x405911
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0xc4]
call fcn.00401660
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0xc0]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 8
cmp ecx, 0xf
jbe 0x405946
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40593c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ee7
push ecx
push edx
call fcn.00407922
add esp, 8
mov edx, dword [ebp - 0xac]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x9c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405957
sub ecx, dword [ebp - 0x9c]
inc edx
add edx, ecx
mov dword [ebp - 0xac], edx
cmp byte [edx], al
jne 0x405870
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x98]
push eax
call fcn.00407939
add esp, 4
mov al, byte [0x4094cc]
xorps xmm0, xmm0
mov edx, dword [str.c.exe]
mov ecx, 0xf
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x58], edx
mov byte [ebp - 0x54], al
mov byte [ebp - 0x53], 0
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x98], eax
cmp eax, esi
je 0x405b1b
mov byte [ebp - 0x104], 0
mov byte [ebp - 0x108], 0
mov byte [ebp - 0x10c], 0
nop dword [eax + eax]
push dword [ebp - 0x104]
cmp ecx, 0xf
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmova eax, edx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004012d0
add esp, 0x10
or edi, 4
mov eax, dword [ebp - 0x98]
mov ecx, eax
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0xf
jbe 0x405a26
mov ecx, dword [eax]
push dword [ebp - 0x108]
push dword [eax + 0x10]
lea eax, [ebp - 0x90]
push ecx
push eax
call fcn.004012d0
or edi, 8
add esp, 0x10
mov dword [ebp - 0x94], edi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x28]
call fcn.004020b0
lea eax, [ebp - 0x70]
or edi, 2
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x94], edi
call fcn.00402d90
mov ecx, 0x40d480
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405a78
push dword [ebp - 0x10c]
sub ecx, edx
lea eax, [ebp - 0x40]
push ecx
push 0x40d480
push eax
call fcn.004012d0
or edi, 0x10
add esp, 0x10
mov dword [ebp - 0x94], edi
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
push 2
cmova ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push ecx
cmova eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xe
call fcn.00407296
mov dword [ebp - 0xa0], eax
test edx, edx
jne 0x405ef8
lea ecx, [ebp - 0x40]
call fcn.004040a0
lea ecx, [ebp - 0x28]
and edi, 0xfffffffd
call fcn.004040a0
lea ecx, [ebp - 0x90]
call fcn.004040a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.004040a0
mov eax, dword [ebp - 0x98]
add eax, 0x18
mov dword [ebp - 0x98], eax
cmp eax, esi
je 0x405b1b
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x58]
jmp 0x4059f0
mov byte [ebp - 0x110], 0
lea eax, [ebp - 0x28]
push dword [ebp - 0x110]
push 1
push 0x4093d8
push eax
call fcn.004012d0
or edi, 1
mov dword [ebp - 0x98], edi
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00401860
add esp, 0x1c
test eax, eax
jne 0x405f2f
lea ecx, [ebp - 0x28]
call fcn.004040a0
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x405b8c
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], ecx
test ecx, ecx
je 0x405ba6
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
test ecx, ecx
je 0x405bec
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x405bec
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xcc]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x405bec
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
test edi, edi
je 0x405dbb
cmp dword [edi + 0x34], 7
lea esi, [edi + 0x20]
mov dword [ebp - 0x11c], 0
mov eax, esi
jbe 0x405c0f
mov eax, dword [esi]
push 0xffffffffffffffff
push 3
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.004074ac
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x114], eax
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403d60
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x11c]
test ecx, ecx
je 0x405c51
cmp eax, 1
je 0x405c51
cmp eax, 9
jne 0x405f0b
cmp eax, 3
jne 0x405d90
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
push 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
push esi
push eax
call fcn.00401860
add esp, 0xc
test eax, eax
jne 0x405f23
mov esi, dword [ebp - 0xe4]
test esi, esi
je 0x405c9a
lock inc dword [esi + 4]
mov edi, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xec], esi
test esi, esi
je 0x405cb4
lock inc dword [esi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
test esi, esi
je 0x405cf8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x405cf8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x405cf8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x18
test edi, edi
je 0x405d3c
add edi, 0x20
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x405d0d
mov eax, dword [edi]
push eax
call fcn.0040774c
test edx, edx
jne 0x405f17
lea eax, [ebp - 0xf0]
push eax
call fcn.00403390
add esp, 4
test eax, eax
jne 0x405eed
mov edi, dword [ebp - 0xf0]
test edi, edi
jne 0x405d00
mov edi, dword [ebp - 0xec]
test edi, edi
je 0x405d67
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x405d67
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x405d67
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x405d90
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x405d90
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x405d90
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0xf8]
push eax
call fcn.00403390
add esp, 4
test eax, eax
jne 0x405eed
mov edi, dword [ebp - 0xf8]
test edi, edi
jne 0x405bf8
mov esi, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xf4]
test edi, edi
je 0x405de6
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x405de6
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x405de6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0xcc]
test edi, edi
je 0x405e11
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x405e11
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x405e11
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 8
cmp ecx, 0xf
jbe 0x405e49
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405e3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ee7
push ecx
push edx
call fcn.00407922
add esp, 8
mov edi, dword [ebp - 0xa4]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x405282
lea eax, [ebp - 0xc4]
push eax
push esi
push edi
call fcn.004015f0
mov ecx, dword [ebp - 0xa8]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x405eba
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ee7
push ecx
push edi
call fcn.00407922
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
jmp 0x405282
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push eax
push str.directory_iterator::operator
call fcn.00403e70
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
push edx
push str.copy_file
call fcn.00403ef0
push esi
push ecx
push str.status
call fcn.00403f90
push edi
push edx
push str.remove
call fcn.00403f90
push esi
push eax
push str.directory_iterator::directory_iterator
call fcn.00403f90
lea ecx, [ebp - 0x28]
push ecx
push eax
push str.directory_iterator::directory_iterator
call fcn.00403f90
int3