Function at 0x4019a8
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
mov eax, 0x45d590
push ebx
push esi
push edi
lea esi, [ebp - 0x98]
mov ebx, dword [ebp + 8]
call fcn.0045225c
mov dword [esi + 0x1c], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.0042e7fb
inc dword [esi + 0x1c]
mov word [esi + 0x10], 8
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x401a08
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov word [esi + 0x10], 0x14
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.0044b9e0
cmp dword [ebp - 4], 0
je 0x401a2c
mov edx, dword [ebp - 4]
jmp 0x401a31
mov edx, 0x45ebaa
push edx
push 0x84
push 0x469e3c
call fcn.0041393c
add esp, 0xc
mov edx, eax
lea eax, [ebp - 8]
call fcn.0042e7c4
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x300]
call fcn.0041f6dc
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0042ea24
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0042ea24
cmp dword [ebp + 0xc], 0
je 0x401a89
mov ecx, dword [ebp + 0xc]
jmp 0x401a8e
mov ecx, 0x45ebab
push ecx
call sub.KERNEL32.dll_GetFileAttributesA
test al, 0x10
je 0x4020e2
mov eax, 0x41694c
mov dl, 1
call fcn.00408494
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x228]
mov word [esi + 0x10], 8
push eax
lea eax, [ebp - 0x20]
mov word [esi + 0x10], 0x20
mov edx, 0x45ebac
call fcn.0042e7c4
inc dword [esi + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
inc dword [esi + 0x1c]
lea edx, [ebp - 0x20]
lea eax, [ebp + 0xc]
call fcn.0042ea7b
cmp dword [ebp - 0x24], 0
je 0x401af2
mov edx, dword [ebp - 0x24]
jmp 0x401af7
mov edx, 0x45ebb1
push edx
call sub.KERNEL32.dll_FindFirstFileA
mov edi, eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0042ea24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0042ea24
cmp edi, 0xffffffff
jne 0x401b8c
cmp dword [ebp + 0xc], 0
je 0x401b2f
mov ecx, dword [ebp + 0xc]
jmp 0x401b34
mov ecx, 0x45ebb2
push ecx
push 0x68
call fcn.00413580
add esp, 8
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x401b67
mov word [esi + 0x10], 0x38
mov edx, 3
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x2c
mov edx, dword [ebp + 0x14]
xor eax, eax
mov dword [edx], eax
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov word [esi + 0x10], 0x44
lea edx, [ebp - 0x1fc]
lea eax, [ebp - 0x2c]
call fcn.0042e7c4
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [esi + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0042ea24
jmp 0x401bf6
mov word [esi + 0x10], 0x50
lea edx, [ebp - 0x1fc]
lea eax, [ebp - 0x30]
call fcn.0042e7c4
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [esi + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0042ea24
lea ecx, [ebp - 0x228]
push ecx
push edi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x401bc2
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x12
je 0x401c7f
push edi
call sub.KERNEL32.dll_FindClose
cmp dword [ebp + 0xc], 0
je 0x401c22
mov eax, dword [ebp + 0xc]
jmp 0x401c27
mov eax, 0x45ebb3
push eax
push 0x69
call fcn.00413580
add esp, 8
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
je 0x401c5a
mov word [esi + 0x10], 0x68
mov edx, 3
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x5c
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
push edi
call sub.KERNEL32.dll_FindClose
mov word [esi + 0x10], 0x74
mov edx, 0x45ebb4
lea eax, [ebp - 0x38]
call fcn.0042e7c4
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
dec dword [esi + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0042ea24
mov word [esi + 0x10], 0x80
mov edx, 0x45ebb6
lea eax, [ebp - 0x3c]
call fcn.0042e7c4
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
dec dword [esi + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0042ea24
mov word [esi + 0x10], 0x98
xor ecx, ecx
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x40]
inc dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.0044b9e0
lea ecx, [ebp - 0x40]
mov eax, dword [ecx]
push eax
mov edx, dword [ebp + 0x10]
push edx
push ebx
call fcn.00404f5c
add esp, 0xc
mov dword [ebp - 0xa0], eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0042ea24
mov word [esi + 0x10], 0x8c
cmp dword [ebp - 0xa0], 0xffffffff
jne 0x401da3
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
je 0x401d7e
mov word [esi + 0x10], 0xb0
mov edx, 3
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0xa4
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov word [esi + 0x10], 0xbc
mov eax, dword [ebp - 0xa0]
push eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041109c
add esp, 8
push eax
mov ecx, dword [ebx + 0x2c0]
push ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00410af4
add esp, 0xc
inc dword [esi + 0x1c]
mov word [esi + 0x10], 0x8c
lea edx, [ebp - 0x1c]
push edx
call fcn.00410b68
pop ecx
test al, al
jne 0x401e63
mov ecx, dword [ebp - 0xa0]
push ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00410d6c
add esp, 8
push eax
push 0x6a
call fcn.00413580
add esp, 8
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
je 0x401e2d
mov word [esi + 0x10], 0xd4
mov edx, 3
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0xc8
mov eax, dword [ebp + 0x14]
xor edx, edx
lea ecx, [ebp - 0x1c]
mov dword [eax], edx
dec dword [esi + 0x1c]
push 2
push ecx
call fcn.00410b44
add esp, 8
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
xor eax, eax
mov dword [ebp - 0xa4], eax
mov word [esi + 0x10], 0x8c
jmp 0x401fb8
mov word [esi + 0x10], 0xe0
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push 0x85
push 0x469e3c
call fcn.0041393c
add esp, 0x10
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0042e7c4
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x304]
call fcn.0041f6dc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x1c]
push ecx
push eax
mov word [esi + 0x10], 0xec
xor edx, edx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], edx
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa4]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x58]
push eax
mov edx, 0x45ebb9
lea eax, [ebp - 0x50]
call fcn.0042e7c4
inc dword [esi + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x54]
inc dword [esi + 0x1c]
lea edx, [ebp - 0x50]
lea eax, [ebp + 0xc]
call fcn.0042ea7b
lea eax, [ebp - 0x54]
xor edx, edx
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0x5c]
inc dword [esi + 0x1c]
pop edx
call fcn.0042ea7b
cmp dword [ebp - 0x5c], 0
je 0x401f3e
mov edx, dword [ebp - 0x5c]
jmp 0x401f43
mov edx, 0x45ebbb
lea eax, [ebp - 0x60]
call fcn.0042e7c4
inc dword [esi + 0x1c]
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004019a8
add esp, 0x10
dec dword [esi + 0x1c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0042ea24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0042ea24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0042ea24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0042ea24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x401fcf
inc dword [ebp - 0xa4]
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp eax, dword [ebp - 0xa4]
jg 0x401e76
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00410be8
pop ecx
test al, al
jne 0x40207f
cmp dword [ebp + 0xc], 0
je 0x401fec
mov eax, dword [ebp + 0xc]
jmp 0x401ff1
mov eax, 0x45ebbc
push eax
push 0x6b
call fcn.00413580
add esp, 8
lea edx, [ebp - 0x1c]
push edx
call fcn.00411510
pop ecx
mov ecx, dword [ebp - 0xa0]
push ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00411558
add esp, 8
mov edx, dword [ebp - 0xa0]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0041109c
add esp, 8
push eax
push ebx
call fcn.0040683c
add esp, 8
mov edi, eax
mov word [esi + 0x10], 0x8c
test edi, edi
je 0x402078
mov eax, dword [ebp - 0xa0]
push eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041109c
add esp, 8
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xa8]
push ecx
lea eax, [ebx + 0x2e0]
push eax
call fcn.0040964c
add esp, 8
mov eax, edi
call fcn.00420808
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov dword [edx], ecx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4020a7
mov word [esi + 0x10], 0x104
mov edx, 3
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0xf8
push ebx
call fcn.00403974
pop ecx
dec dword [esi + 0x1c]
push 2
lea edx, [ebp - 0x1c]
push edx
call fcn.00410b44
add esp, 8
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov word [esi + 0x10], 0x11c
xor eax, eax
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x68]
inc dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.0044b9e0
cmp dword [ebp - 0x68], 0
je 0x402106
mov edx, dword [ebp - 0x68]
jmp 0x40210b
mov edx, 0x45ebbd
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00410c54
add esp, 8
mov edi, eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0042ea24
mov word [esi + 0x10], 0x110
cmp edi, 0xffffffff
jne 0x4021b3
mov word [esi + 0x10], 0x128
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x6c]
inc dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.0044b9e0
cmp dword [ebp - 0x6c], 0
je 0x402159
mov ecx, dword [ebp - 0x6c]
jmp 0x40215e
mov ecx, 0x45ebbe
push ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041180c
add esp, 8
mov edi, eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0042ea24
cmp edi, 0xffffffff
jne 0x40247e
push 0x6c
call fcn.00413580
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x14]
mov edx, 2
mov dword [ecx], eax
lea eax, [ebp + 0xc]
dec dword [esi + 0x1c]
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
push edi
mov eax, dword [ebp + 0x10]
push eax
call fcn.00410fb4
add esp, 8
test al, 0x10
je 0x4021fa
push edi
mov edx, dword [ebp + 0x10]
push edx
call fcn.00410d6c
add esp, 8
push eax
push 0x6d
call fcn.00413580
add esp, 8
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x402220
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov eax, dword [ebp + 0x14]
cmp dword [eax], 3
je 0x4023f4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
cmp dword [ebp + 0xc], 0
je 0x402249
mov edx, dword [ebp + 0xc]
jmp 0x40224e
mov edx, 0x45ebbf
push edx
call sub.KERNEL32.dll_CreateFileA
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xffffffff
jne 0x4022a8
cmp dword [ebp + 0xc], 0
je 0x40226e
mov eax, dword [ebp + 0xc]
jmp 0x402273
mov eax, 0x45ebc0
push eax
push 0x6e
call fcn.00413580
mov edx, dword [ebp + 0x14]
add esp, 8
lea eax, [ebp + 0xc]
cmp dword [edx], 0
sete cl
and ecx, 1
mov edx, 2
dec dword [esi + 0x1c]
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
lea eax, [ebp - 0xb4]
push eax
push 0
push 0
mov edx, dword [ebp - 0xac]
push edx
call sub.KERNEL32.dll_GetFileTime
lea ecx, [ebp - 0xbc]
push ecx
lea eax, [ebp - 0xb4]
push eax
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0xbc]
push ecx
call sub.KERNEL32.dll_FileTimeToSystemTime
mov eax, dword [ebp - 0xac]
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, 0x46218c
mov ecx, ebx
mov dl, 1
call fcn.00411c24
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x238]
push eax
cmp dword [ebp + 0xc], 0
je 0x402317
mov edx, dword [ebp + 0xc]
jmp 0x40231c
mov edx, 0x45ebc1
push edx
push edi
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.00410fe0
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
push edi
mov edx, dword [ebp + 0x10]
push edx
call fcn.00410d6c
add esp, 8
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.00411c7c
add esp, 0x14
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x402382
mov word [esi + 0x10], 0x140
mov edx, 3
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x134
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x4023a8
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov eax, dword [ebp + 0x14]
cmp dword [eax], 2
jne 0x4023ce
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x4023f4
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
push edi
mov eax, dword [ebp + 0x10]
push eax
call fcn.00411558
add esp, 8
test al, al
jne 0x402437
push 0x6f
call fcn.00413580
mov edx, dword [ebp + 0x14]
pop ecx
lea eax, [ebp + 0xc]
cmp dword [edx], 0
sete cl
and ecx, 1
mov edx, 2
dec dword [esi + 0x1c]
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov word [esi + 0x10], 0x14c
xor eax, eax
mov dword [ebp - 0x74], eax
lea edx, [ebp - 0x74]
inc dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.0044b9e0
cmp dword [ebp - 0x74], 0
je 0x40245b
mov edx, dword [ebp - 0x74]
jmp 0x402460
mov edx, 0x45ebc2
push edx
push edi
mov eax, dword [ebp + 0x10]
push eax
call fcn.004112b4
add esp, 0xc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0042ea24
mov byte [ebp - 0xc1], 0
mov word [esi + 0x10], 0x110
cmp dword [ebp + 0xc], 0
je 0x402496
mov ecx, dword [ebp + 0xc]
jmp 0x40249b
mov ecx, 0x45ebc3
push ecx
call sub.KERNEL32.dll_GetFileAttributesA
test al, 0x20
je 0x4024ac
or byte [ebp - 0xc1], 0x20
test al, 1
je 0x4024b7
or byte [ebp - 0xc1], 1
test al, 2
je 0x4024c2
or byte [ebp - 0xc1], 2
test al, 4
je 0x4024cd
or byte [ebp - 0xc1], 4
mov al, byte [ebp - 0xc1]
push eax
push edi
mov edx, dword [ebp + 0x10]
push edx
call fcn.004113d8
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
cmp dword [ebp + 0xc], 0
je 0x4024fe
mov eax, dword [ebp + 0xc]
jmp 0x402503
mov eax, 0x45ebc4
push eax
call sub.KERNEL32.dll_CreateFileA
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0xffffffff
jne 0x402565
cmp dword [ebp + 0xc], 0
je 0x402523
mov edx, dword [ebp + 0xc]
jmp 0x402528
mov edx, 0x45ebc5
push edx
push 0x6e
call fcn.00413580
add esp, 8
push edi
mov eax, dword [ebp + 0x10]
push eax
call fcn.00411680
mov ecx, dword [ebp + 0x14]
xor eax, eax
add esp, 8
mov edx, 2
mov dword [ecx], eax
lea eax, [ebp + 0xc]
dec dword [esi + 0x1c]
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
lea eax, [ebp - 0xd0]
push eax
push 0
push 0
mov edx, dword [ebp - 0xc8]
push edx
call sub.KERNEL32.dll_GetFileTime
lea ecx, [ebp - 0xd8]
push ecx
lea eax, [ebp - 0xd0]
push eax
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea edx, [ebp - 0x258]
push edx
lea ecx, [ebp - 0xd8]
push ecx
call sub.KERNEL32.dll_FileTimeToSystemTime
lea eax, [ebp - 0x258]
push eax
push edi
mov edx, dword [ebp + 0x10]
push edx
call fcn.00411408
add esp, 0xc
push 0
mov ecx, dword [ebp - 0xc8]
push ecx
call sub.KERNEL32.dll_GetFileSize
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0xffffffff
jne 0x40262c
cmp dword [ebp + 0xc], 0
je 0x4025de
mov eax, dword [ebp + 0xc]
jmp 0x4025e3
mov eax, 0x45ebc6
push eax
push 0x70
call fcn.00413580
add esp, 8
mov edx, dword [ebp - 0xc8]
push edx
call sub.KERNEL32.dll_CloseHandle
push edi
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00411680
add esp, 8
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov eax, dword [ebx + 0x2c0]
mov edx, dword [eax + 0x34]
imul edx, dword [eax + 0x28]
cmp edx, dword [ebp - 0xdc]
jae 0x40269a
cmp dword [ebp + 0xc], 0
je 0x40264c
mov ecx, dword [ebp + 0xc]
jmp 0x402651
mov ecx, 0x45ebc7
push ecx
push 0x71
call fcn.00413580
add esp, 8
mov eax, dword [ebp - 0xc8]
push eax
call sub.KERNEL32.dll_CloseHandle
push edi
mov edx, dword [ebp + 0x10]
push edx
call fcn.00411680
add esp, 8
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov eax, dword [ebp - 0xdc]
push eax
push edi
mov edx, dword [ebp + 0x10]
push edx
call fcn.004114e0
add esp, 0xc
cmp dword [ebp - 0xdc], 0
jne 0x4026cb
push 0
push edi
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004114ac
add esp, 0xc
jmp 0x4027ef
mov eax, dword [ebp - 0xdc]
push eax
mov edx, dword [ebx + 0x2c0]
push edx
call fcn.0040bc48
add esp, 8
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jne 0x402730
cmp dword [ebp + 0xc], 0
je 0x4026fb
mov ecx, dword [ebp + 0xc]
jmp 0x402700
mov ecx, 0x45ebc8
push ecx
push 0x72
call fcn.00413580
add esp, 8
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x40281b
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax]
push edx
push edi
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004114ac
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xe4], eax
mov edx, dword [ebx + 0x2c0]
mov ecx, dword [edx + 0x28]
push ecx
call fcn.00459ce0
pop ecx
mov edi, eax
jmp 0x4027bd
mov eax, dword [ebx + 0x2c0]
mov edx, dword [eax + 0x28]
push edx
push 0
push edi
call fcn.0044da70
add esp, 0xc
lea ecx, [ebp - 0xe8]
push 0
push ecx
mov eax, dword [ebx + 0x2c0]
mov edx, dword [eax + 0x28]
push edx
push edi
mov ecx, dword [ebp - 0xc8]
push ecx
call sub.KERNEL32.dll_ReadFile
push edi
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xe4]
mov ecx, dword [eax + edx*4]
push ecx
mov eax, dword [ebx + 0x2c0]
push eax
call fcn.0040bf84
add esp, 0xc
inc dword [ebp - 0xe4]
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe4]
cmp dword [edx + ecx*4], 0xfffffff
jne 0x402762
push edi
call fcn.00459c88
pop ecx
mov eax, dword [ebp - 0xe0]
push eax
mov edx, dword [ebx + 0x2c0]
push edx
call fcn.0040bd4c
add esp, 8
mov ecx, dword [ebp - 0xc8]
push ecx
call sub.KERNEL32.dll_CloseHandle
push ebx
call fcn.00403974
pop ecx
dec dword [esi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0042ea24
mov ecx, dword [esi]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret