Function at 0x402fe0
Capabilities:
Check os version
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c86f1
mov eax, dword fs:[0]
push eax
sub esp, 0x6c4
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x62c], esi
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40305e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName_failed___d__n
call fcn.00406950
add esp, 8
xor al, al
jmp 0x403fc7
push str.Extracting_viewer_application..._n
call fcn.00406980
add esp, 4
lea ecx, [ebp - 0x6d0]
call fcn.00406bd0
lea ecx, [ebp - 0x65c]
mov dword [ebp - 4], 0
call fcn.004069c0
lea ecx, [ebp - 0x684]
mov byte [ebp - 4], 1
call fcn.004069c0
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 2
call fcn.004069c0
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00406ab0
push eax
lea ecx, [ebp - 0x670]
call fcn.00406b20
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x65c]
call fcn.00406b90
push str.VideoViewer.zip
lea ecx, [ebp - 0x684]
call fcn.00406b90
lea ecx, [ebp - 0x65c]
call fcn.00406ab0
push eax
push str.Archive_being_opened:__s_n
call fcn.00406980
add esp, 8
lea ecx, [ebp - 0x684]
call fcn.00406a90
push eax
lea ecx, [ebp - 0x65c]
call fcn.00406a90
push eax
lea ecx, [ebp - 0x6d0]
call fcn.00407090
test al, al
jne 0x403182
push str.Failed_to_open_Video_Viewer_archive_resource..._n
call fcn.00406980
add esp, 4
lea ecx, [ebp - 0x628]
call fcn.004069c0
lea eax, [ebp - 0x628]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x6d0]
call fcn.004075a0
lea ecx, [ebp - 0x628]
call fcn.00406ab0
push eax
call fcn.00406980
push 0x54420c
call fcn.00406980
add esp, 8
lea ecx, [ebp - 0x628]
call fcn.00406a50
mov byte [ebp - 0x611], 0
jmp 0x403f95
lea ecx, [ebp - 0x670]
call fcn.00406a90
push eax
lea ecx, [ebp - 0x6d0]
call fcn.00407380
mov ecx, esi
call fcn.00406a90
push eax
lea ecx, [ebp - 0x6d0]
call fcn.004071c0
test eax, eax
jne 0x40321e
push str.Failed_to_extract_application_archive_resource..._n
call fcn.00406980
add esp, 4
lea ecx, [ebp - 0x628]
call fcn.004069c0
lea eax, [ebp - 0x628]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x6d0]
call fcn.004075a0
lea ecx, [ebp - 0x628]
call fcn.00406ab0
push eax
call fcn.00406980
push 0x54420c
call fcn.00406980
add esp, 8
lea ecx, [ebp - 0x6d0]
call fcn.00406fb0
lea ecx, [ebp - 0x628]
call fcn.00406a50
mov byte [ebp - 0x611], 0
jmp 0x403f95
push 0x110
lea eax, [ebp - 0x3bc]
push 0
push eax
call fcn.004a8410
push str.Checking_OS_version..._n
mov dword [ebp - 0x3c0], 0x114
call fcn.00406980
add esp, 0x10
lea eax, [ebp - 0x3c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x403f83
push dword [ebp - 0x3b8]
push dword [ebp - 0x3bc]
push str.OS_version:__d._d_n
call fcn.00406980
add esp, 0xc
cmp dword [ebp - 0x3b0], 2
jne 0x403f83
cmp dword [ebp - 0x3bc], 5
jne 0x403f83
cmp dword [ebp - 0x3b8], 0
jne 0x403f83
push str.Detected_Windows_2000:_additional_processing_required..._n
call fcn.00406980
add esp, 4
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x618], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
push 0x13
xor eax, eax
mov dword [ebp - 0x234], 0
push str.Microsoft.VC80.CRT
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004050c0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 7
push eax
push 0
lea ecx, [ebp - 0x620]
call fcn.00405960
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x403361
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403357
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
push 0x13
xor eax, eax
mov dword [ebp - 0x234], 0
push str.Microsoft.VC80.MFC
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004050c0
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x618]
mov edi, dword [ebp - 0x61c]
cmp edi, esi
je 0x4033f2
movups xmm0, xmmword [ebp - 0x234]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov edx, 7
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x61c], edi
jmp 0x403417
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x620]
call fcn.00405960
mov esi, dword [ebp - 0x618]
mov edx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x61c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x403455
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40344b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
push 0x16
xor eax, eax
mov dword [ebp - 0x234], 0
push str.Microsoft.VC80.OpenMP
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004050c0
mov byte [ebp - 4], 9
cmp edi, esi
je 0x4034da
movups xmm0, xmmword [ebp - 0x234]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov edx, 7
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x61c], edi
jmp 0x4034ff
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x620]
call fcn.00405960
mov esi, dword [ebp - 0x618]
mov edx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x61c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x40353d
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403533
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
push 0x14
xor eax, eax
mov dword [ebp - 0x234], 0
push str.Microsoft.VC100.CRT
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004050c0
mov byte [ebp - 4], 0xa
cmp edi, esi
je 0x4035c2
movups xmm0, xmmword [ebp - 0x234]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov edx, 7
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x61c], edi
jmp 0x4035e7
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x620]
call fcn.00405960
mov esi, dword [ebp - 0x618]
mov edx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x61c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x403625
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40361b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
push 0x14
xor eax, eax
mov dword [ebp - 0x234], 0
push str.Microsoft.VC100.MFC
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004050c0
mov byte [ebp - 4], 0xb
cmp edi, esi
je 0x4036aa
movups xmm0, xmmword [ebp - 0x234]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov edx, 7
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x61c], edi
jmp 0x4036cf
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x620]
call fcn.00405960
mov esi, dword [ebp - 0x618]
mov edx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x61c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x40370d
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403703
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
push 0x17
xor eax, eax
mov dword [ebp - 0x234], 0
push str.Microsoft.VC100.OpenMP
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004050c0
mov byte [ebp - 4], 0xc
cmp edi, esi
je 0x403792
movups xmm0, xmmword [ebp - 0x234]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov edx, 7
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x61c], edi
jmp 0x4037b7
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x620]
call fcn.00405960
mov esi, dword [ebp - 0x618]
mov edx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x61c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x4037f5
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4037eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
push 6
xor eax, eax
mov dword [ebp - 0x234], 0
push str._tools
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004050c0
mov byte [ebp - 4], 0xd
cmp edi, esi
je 0x40387a
movups xmm0, xmmword [ebp - 0x234]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov edx, 7
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x61c], edi
jmp 0x403899
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x620]
call fcn.00405960
mov edx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x61c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x4038d7
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4038cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
mov esi, dword [ebp - 0x620]
mov dword [ebp - 0x634], esi
cmp esi, edi
je 0x403f25
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x27c]
call fcn.00404f90
mov ecx, dword [ebp - 0x62c]
lea eax, [ebp - 0x27c]
push eax
mov byte [ebp - 4], 0xe
call fcn.00406ab0
mov edx, eax
lea ecx, [ebp - 0x294]
call fcn.00405350
push 0x543f14
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x264]
call fcn.00405490
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x40397c
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403972
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
cmp dword [ebp - 0x250], 8
mov word [ebp - 0x294], ax
lea eax, [ebp - 0x264]
cmovae eax, dword [ebp - 0x264]
push eax
push str.Searching_for_files_in__s_n
mov dword [ebp - 0x280], 7
call fcn.00406980
add esp, 8
lea ecx, [ebp - 0x610]
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
cmovae eax, dword [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x648], eax
cmp eax, 0xffffffff
je 0x403e73
lea ecx, [ebp - 0x610]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x403e73
mov ecx, 0x543f08
lea eax, [ebp - 0x5e4]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403a36
test dx, dx
je 0x403a32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403a36
add eax, 4
add ecx, 4
test dx, dx
jne 0x403a10
xor eax, eax
jmp 0x403a3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x403a83
mov ecx, 0x543f0c
lea eax, [ebp - 0x5e4]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403a76
test dx, dx
je 0x403a72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403a76
add eax, 4
add ecx, 4
test dx, dx
jne 0x403a50
xor eax, eax
jmp 0x403a7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x403a83
xor eax, eax
jmp 0x403a88
mov eax, 1
test eax, eax
jne 0x403e52
mov ecx, dword [ebp - 0x62c]
lea eax, [ebp - 0x27c]
push eax
call fcn.00406ab0
mov edx, eax
lea ecx, [ebp - 0x2ac]
call fcn.00405350
push 0x543f1c
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x234]
call fcn.00405490
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x403b0c
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403b02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
xor eax, eax
mov dword [ebp - 0x29c], 0
lea edx, [ebp - 0x5e4]
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403b32
mov eax, dword [ebp - 0x220]
sub edx, ecx
mov ecx, dword [ebp - 0x224]
sub eax, ecx
sar edx, 1
mov dword [ebp - 0x638], edx
mov dword [ebp - 0x630], ecx
cmp edx, eax
ja 0x403bad
cmp dword [ebp - 0x220], 8
lea eax, [ecx + edx]
mov dword [ebp - 0x224], eax
lea edi, [ebp - 0x234]
cmovae edi, dword [ebp - 0x234]
lea eax, [edx + edx]
push eax
lea eax, [ebp - 0x5e4]
push eax
lea ecx, [edi + ecx*2]
push ecx
call fcn.004a8910
mov eax, dword [ebp - 0x630]
add esp, 0xc
add eax, dword [ebp - 0x638]
xor esi, esi
mov word [edi + eax*2], si
mov esi, dword [ebp - 0x634]
jmp 0x403bce
push edx
lea eax, [ebp - 0x5e4]
mov byte [ebp - 0x63c], 0
push eax
push dword [ebp - 0x63c]
lea ecx, [ebp - 0x234]
push edx
call fcn.00405d50
mov ecx, dword [ebp - 0x62c]
call fcn.00406ab0
mov edx, eax
mov dword [ebp - 0x24c], 0
mov ecx, edx
mov dword [ebp - 0x23c], 0
xor eax, eax
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403c07
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24c]
call fcn.004050c0
mov byte [ebp - 4], 0x15
mov edi, dword [ebp - 0x238]
mov eax, edi
mov edx, dword [ebp - 0x23c]
sub eax, edx
cmp eax, 1
jb 0x403c66
cmp edi, 8
lea eax, [ebp - 0x24c]
lea ecx, [edx + 1]
mov edi, 0x5c
cmovae eax, dword [ebp - 0x24c]
mov dword [ebp - 0x23c], ecx
mov word [eax + edx*2], di
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x403c87
push 1
push 0x543f1c
mov byte [ebp - 0x640], 0
lea ecx, [ebp - 0x24c]
push dword [ebp - 0x640]
push 1
call fcn.00405d50
lea eax, [ebp - 0x5e4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403c90
mov ecx, dword [ebp - 0x238]
sub eax, edx
mov edx, dword [ebp - 0x23c]
sub ecx, edx
sar eax, 1
cmp eax, ecx
ja 0x403cf8
cmp dword [ebp - 0x238], 8
lea ecx, [edx + eax]
lea edi, [ebp - 0x24c]
mov dword [ebp - 0x630], ecx
cmovae edi, dword [ebp - 0x24c]
add eax, eax
push eax
lea eax, [ebp - 0x5e4]
mov dword [ebp - 0x23c], ecx
push eax
lea ecx, [edi + edx*2]
push ecx
call fcn.004a8910
mov eax, dword [ebp - 0x630]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x403d19
push eax
lea ecx, [ebp - 0x5e4]
mov byte [ebp - 0x644], 0
push ecx
push dword [ebp - 0x644]
lea ecx, [ebp - 0x24c]
push eax
call fcn.00405d50
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
lea eax, [ebp - 0x5e4]
push eax
push str.Found_file__s__moving_to__s_n
call fcn.00406980
add esp, 0xc
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x24c]
cmp dword [ebp - 0x220], 8
push ecx
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x403dad
cmp dword [ebp - 0x238], 8
lea ecx, [ebp - 0x24c]
lea eax, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x24c]
cmp dword [ebp - 0x220], 8
push ecx
cmovae eax, dword [ebp - 0x234]
push eax
push str.Unable_to_move_the_file__s_to__s_n
call fcn.00406980
add esp, 0xc
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x403df1
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403de7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
cmp edx, 8
jb 0x403e52
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403e48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
lea eax, [ebp - 0x610]
push eax
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403a02
mov edi, dword [ebp - 0x61c]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x403eb7
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403ead
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
mov byte [ebp - 4], 6
xor eax, eax
mov edx, dword [ebp - 0x268]
mov word [ebp - 0x264], ax
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], eax
cmp edx, 8
jb 0x403f14
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403f0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push edx
push ecx
call fcn.004a4df8
add esp, 8
add esi, 0x18
mov dword [ebp - 0x634], esi
cmp esi, edi
jne 0x4038f0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x620]
test esi, esi
je 0x403f83
push ecx
mov edx, edi
mov ecx, esi
call fcn.00405ca0
mov ecx, dword [ebp - 0x618]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x403f79
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fe2
push ecx
push esi
call fcn.004a4df8
add esp, 8
lea ecx, [ebp - 0x6d0]
call fcn.00406fb0
mov byte [ebp - 0x611], 1
lea ecx, [ebp - 0x670]
call fcn.00406a50
lea ecx, [ebp - 0x684]
call fcn.00406a50
lea ecx, [ebp - 0x65c]
call fcn.00406a50
lea ecx, [ebp - 0x6d0]
call fcn.00406c30
mov al, byte [ebp - 0x611]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret
call fcn.004ab7da
int3