Function at 0x45a770
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb80
mov eax, 0x5e4688
push ebx
push esi
push edi
lea esi, [ebp - 0x64]
lea ebx, [ebp - 0x8c]
call fcn.005cc11c
mov dword [ebp - 0x98], 1
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.005db6bc
inc dword [ebp - 0x98]
lea edx, [ebp - 0xbc]
mov word [ebp - 0xa4], 0xc
mov word [ebp - 0xa4], 0x18
push edx
call fcn.0045a410
pop ecx
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
call fcn.0045a438
add esp, 8
lea eax, [ebp - 0xc4]
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.0045a460
add esp, 8
lea ecx, [ebp - 0xbc]
push ecx
lea eax, [ebp - 0x18]
push eax
call fcn.0045a438
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
inc dword [ebp - 0x98]
add esp, 8
mov word [ebp - 0xa4], 0xc
lea ecx, [ebp - 0x480]
lea edx, [ebp + 0x10]
push ecx
xor ecx, ecx
mov word [ebp - 0xa4], 0x24
lea eax, [ebp - 0x2c]
call fcn.005da084
inc dword [ebp - 0x98]
lea edi, [ebp - 0x2c]
inc dword [ebp - 0x98]
cmp dword [edi], 0
jne 0x45a860
mov eax, 0x5e382f
jmp 0x45a862
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x2c]
sub dword [ebp - 0x98], 2
mov edx, 2
call fcn.004082c0
mov word [ebp - 0xa4], 0xc
cmp dword [ebp - 0xc8], 0xffffffff
je 0x45ba6d
mov word [ebp - 0xa4], 0x30
lea edx, [ebp - 0x454]
lea eax, [ebp - 0x30]
xor ecx, ecx
call fcn.005d9fb4
inc dword [ebp - 0x98]
lea edi, [ebp - 0x30]
inc dword [ebp - 0x98]
cmp dword [edi], 0
jne 0x45a8cc
mov edx, 0x5e3830
jmp 0x45a8ce
mov edx, dword [edi]
lea eax, [ebp - 0x34]
call fcn.005db67c
inc dword [ebp - 0x98]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
test cl, 3
jne 0x45b963
mov ecx, dword [ebp - 4]
add ecx, 4
shr ecx, 2
cmp ecx, dword [ebp - 0xc]
jb 0x45b963
mov dword [ebp - 0xcc], 1
lea eax, [ebp - 0x18]
push eax
call fcn.0045a488
shr eax, 2
pop ecx
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0xcc]
jae 0x45b53d
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0xd4]
push edx
push 0
push 0
push 0
push 1
push 0x433e7c
push 0
mov word [ebp - 0xa4], 0x3c
push ecx
call fcn.00408314
pop ecx
lea eax, [ebp - 0xd4]
push eax
lea edx, [ebx + 8]
push edx
call fcn.0040833c
add esp, 8
mov ecx, 0xf
mov dword [ebx + 0x24], ecx
mov byte [ebp - 0xd5], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45a97c
mov eax, dword [ebx + 0x10]
jmp 0x45a97f
lea eax, [ebx + 0x10]
xor edx, edx
mov dword [ebx + 0x20], edx
add eax, edx
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov cl, byte [ebp - 0xd5]
mov byte [eax], cl
push 0x5e3831
call fcn.005cbd88
pop ecx
mov edi, eax
mov ecx, 0x5e3831
test ecx, ecx
je 0x45a9df
cmp dword [ebx + 0x24], 0x10
mov eax, 0x5e3831
jb 0x45a9c0
mov edx, dword [ebx + 0x10]
jmp 0x45a9c3
lea edx, [ebx + 0x10]
cmp eax, edx
jb 0x45a9df
cmp dword [ebx + 0x24], 0x10
jb 0x45a9d2
mov eax, dword [ebx + 0x10]
jmp 0x45a9d5
lea eax, [ebx + 0x10]
add eax, dword [ebx + 0x20]
cmp eax, 0x5e3831
ja 0x45a9e3
xor edx, edx
jmp 0x45a9e5
mov dl, 1
test dl, dl
je 0x45ae54
cmp dword [ebx + 0x24], 0x10
mov eax, 0x5e3831
jb 0x45a9fd
mov ecx, dword [ebx + 0x10]
jmp 0x45aa00
lea ecx, [ebx + 0x10]
sub eax, ecx
mov dword [ebp - 0xe0], eax
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0xe0]
jae 0x45aa1a
push ebx
call fcn.005c717c
pop ecx
mov edx, dword [ebx + 0x20]
sub edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edx
cmp edi, dword [ebp - 0xe4]
jae 0x45aa37
mov dword [ebp - 0xe4], edi
cmp ebx, ebx
jne 0x45ac3d
mov dword [ebp - 0xe8], 0xffffffff
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xec], ecx
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0xec]
jae 0x45aa6d
push ebx
call fcn.005c717c
pop ecx
mov edx, dword [ebx + 0x20]
sub edx, dword [ebp - 0xec]
cmp edx, dword [ebp - 0xe8]
jae 0x45aa8d
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebp - 0xec]
mov dword [ebp - 0xe8], ecx
cmp dword [ebp - 0xe8], 0
jbe 0x45ab55
mov eax, dword [ebx + 0x20]
sub eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45aaba
mov edx, dword [ebx + 0x10]
jmp 0x45aabd
lea edx, [ebx + 0x10]
add edx, dword [ebp - 0xec]
add edx, dword [ebp - 0xe8]
mov dword [ebp - 0xf4], edx
cmp dword [ebx + 0x24], 0x10
jb 0x45aada
mov eax, dword [ebx + 0x10]
jmp 0x45aadd
lea eax, [ebx + 0x10]
add eax, dword [ebp - 0xec]
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf0]
push edx
mov ecx, dword [ebp - 0xf4]
push ecx
mov ecx, dword [ebp - 0xf8]
push ecx
call fcn.005cbb55
add esp, 0xc
mov eax, dword [ebx + 0x20]
sub eax, dword [ebp - 0xe8]
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
mov byte [ebp - 0x101], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45ab33
mov ecx, dword [ebx + 0x10]
jmp 0x45ab36
lea ecx, [ebx + 0x10]
mov eax, dword [ebp - 0x100]
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
mov cl, byte [ebp - 0x101]
mov byte [edx], cl
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x10c], ecx
cmp dword [ebx + 0x20], 0
jae 0x45ab6e
push ebx
call fcn.005c717c
pop ecx
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0x10c]
jae 0x45ab82
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
jbe 0x45ae4d
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
cmp dword [ebx + 0x24], 0x10
jb 0x45aba9
mov eax, dword [ebx + 0x10]
jmp 0x45abac
lea eax, [ebx + 0x10]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45abc3
mov edx, dword [ebx + 0x10]
jmp 0x45abc6
lea edx, [ebx + 0x10]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.005cbb55
add esp, 0xc
mov eax, dword [ebx + 0x20]
sub eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
mov byte [ebp - 0x121], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45ac16
mov ecx, dword [ebx + 0x10]
jmp 0x45ac19
lea ecx, [ebx + 0x10]
mov eax, dword [ebp - 0x120]
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
mov cl, byte [ebp - 0x121]
mov byte [edx], cl
jmp 0x45ae4d
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x12c], ecx
lea eax, [ebx + 8]
push eax
call fcn.00408564
pop ecx
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 1
ja 0x45ac69
mov edx, 1
jmp 0x45ac70
mov edx, dword [ebp - 0x130]
dec edx
cmp edx, dword [ebp - 0x12c]
jae 0x45ac7f
push ebx
call fcn.005c6558
pop ecx
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebp - 0x12c]
jae 0x45ad68
mov ecx, dword [ebx + 0x20]
push ecx
mov ecx, dword [ebp - 0x12c]
push ecx
push ebx
call fcn.00408364
add esp, 0xc
jmp 0x45ada1
cmp dword [ebp - 0x12c], 0
jne 0x45ada1
mov byte [ebp - 0x149], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45ad83
mov ecx, dword [ebx + 0x10]
jmp 0x45ad86
lea ecx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x150]
mov cl, byte [ebp - 0x149]
mov byte [edx], cl
cmp dword [ebp - 0x12c], 0
seta cl
and ecx, 1
test cl, cl
je 0x45ae4d
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x154], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45adcd
mov edx, dword [ebx + 0x10]
jmp 0x45add0
lea edx, [ebx + 0x10]
add edx, dword [ebp - 0xe0]
mov dword [ebp - 0x158], edx
cmp dword [ebx + 0x24], 0x10
jb 0x45ade7
mov eax, dword [ebx + 0x10]
jmp 0x45adea
lea eax, [ebx + 0x10]
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x154]
push edx
mov ecx, dword [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x15c]
push ecx
call fcn.005cba3c
add esp, 0xc
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x160], eax
mov byte [ebp - 0x161], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45ae2b
mov edx, dword [ebx + 0x10]
jmp 0x45ae2e
lea edx, [ebx + 0x10]
mov eax, dword [ebp - 0x160]
mov dword [ebx + 0x20], eax
add edx, eax
mov dword [ebp - 0x168], edx
mov edx, dword [ebp - 0x168]
mov cl, byte [ebp - 0x161]
mov byte [edx], cl
mov ecx, ebx
jmp 0x45afee
lea eax, [ebx + 8]
push eax
call fcn.00408564
pop ecx
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 1
ja 0x45ae74
mov edx, 1
jmp 0x45ae7b
mov edx, dword [ebp - 0x16c]
dec edx
cmp edi, edx
jbe 0x45ae86
push ebx
call fcn.005c6558
pop ecx
cmp edi, dword [ebx + 0x24]
jbe 0x45af55
mov eax, dword [ebx + 0x20]
push eax
push edi
push ebx
call fcn.00408364
add esp, 0xc
jmp 0x45af89
test edi, edi
jne 0x45af89
mov byte [ebp - 0x185], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45af6b
mov ecx, dword [ebx + 0x10]
jmp 0x45af6e
lea ecx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0x18c], ecx
mov edx, dword [ebp - 0x18c]
mov cl, byte [ebp - 0x185]
mov byte [edx], cl
test edi, edi
seta cl
and ecx, 1
test cl, cl
je 0x45afec
cmp dword [ebx + 0x24], 0x10
jb 0x45afa0
mov eax, dword [ebx + 0x10]
jmp 0x45afa3
lea eax, [ebx + 0x10]
mov dword [ebp - 0x190], eax
push edi
push 0x5e3831
mov edx, dword [ebp - 0x190]
push edx
call fcn.005cba3c
add esp, 0xc
mov byte [ebp - 0x191], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45afd0
mov ecx, dword [ebx + 0x10]
jmp 0x45afd3
lea ecx, [ebx + 0x10]
mov dword [ebx + 0x20], edi
add ecx, edi
mov dword [ebp - 0x198], ecx
mov eax, dword [ebp - 0x198]
mov dl, byte [ebp - 0x191]
mov byte [eax], dl
mov ecx, ebx
inc dword [ebp - 0x98]
push esi
call fcn.0040874c
pop ecx
inc dword [ebp - 0x98]
mov ecx, 0x5e247c
mov dword [esi], ecx
lea eax, [ebx + 8]
push eax
lea edx, [ebp - 0x1a0]
push edx
call fcn.0040833c
add esp, 8
lea ecx, [ebp - 0x1a0]
push ecx
lea eax, [esi + 0x10]
push eax
call fcn.0040833c
add esp, 8
mov edx, 0xf
mov dword [esi + 0x2c], edx
mov byte [ebp - 0x1a1], 0
cmp dword [esi + 0x2c], 0x10
jb 0x45b048
mov ecx, dword [esi + 0x18]
jmp 0x45b04b
lea ecx, [esi + 0x18]
xor eax, eax
mov dword [esi + 0x28], eax
add ecx, eax
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x1a8]
mov cl, byte [ebp - 0x1a1]
mov byte [edx], cl
cmp dword [ebx + 0x20], 0
jae 0x45b076
lea ecx, [esi + 8]
push ecx
call fcn.005c717c
pop ecx
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0xffffffff
jbe 0x45b092
mov dword [ebp - 0x1ac], 0xffffffff
lea edx, [esi + 8]
cmp edx, ebx
jne 0x45b297
mov dword [ebp - 0x1b0], 0xffffffff
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b4], ecx
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp - 0x1b4]
jae 0x45b0c8
lea edx, [esi + 8]
push edx
call fcn.005c717c
pop ecx
mov ecx, dword [esi + 0x28]
sub ecx, dword [ebp - 0x1b4]
cmp ecx, dword [ebp - 0x1b0]
jae 0x45b0e8
mov eax, dword [esi + 0x28]
sub eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
jbe 0x45b1b0
mov edx, dword [esi + 0x28]
sub edx, dword [ebp - 0x1b4]
sub edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b8], edx
cmp dword [esi + 0x2c], 0x10
jb 0x45b115
mov ecx, dword [esi + 0x18]
jmp 0x45b118
lea ecx, [esi + 0x18]
add ecx, dword [ebp - 0x1b4]
add ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1bc], ecx
cmp dword [esi + 0x2c], 0x10
jb 0x45b135
mov eax, dword [esi + 0x18]
jmp 0x45b138
lea eax, [esi + 0x18]
add eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1b8]
push edx
mov ecx, dword [ebp - 0x1bc]
push ecx
mov ecx, dword [ebp - 0x1c0]
push ecx
call fcn.005cbb55
add esp, 0xc
mov eax, dword [esi + 0x28]
sub eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
mov byte [ebp - 0x1c9], 0
cmp dword [esi + 0x2c], 0x10
jb 0x45b18e
mov ecx, dword [esi + 0x18]
jmp 0x45b191
lea ecx, [esi + 0x18]
mov eax, dword [ebp - 0x1c8]
mov dword [esi + 0x28], eax
add ecx, eax
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1d0]
mov cl, byte [ebp - 0x1c9]
mov byte [edx], cl
xor ecx, ecx
mov dword [ebp - 0x1d4], ecx
cmp dword [esi + 0x28], 0
jae 0x45b1c8
lea eax, [esi + 8]
push eax
call fcn.005c717c
pop ecx
mov edx, dword [esi + 0x28]
cmp edx, dword [ebp - 0x1d4]
jae 0x45b1dc
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x1d4], ecx
cmp dword [ebp - 0x1d4], 0
jbe 0x45b4a7
mov eax, dword [esi + 0x28]
sub eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
cmp dword [esi + 0x2c], 0x10
jb 0x45b203
mov edx, dword [esi + 0x18]
jmp 0x45b206
lea edx, [esi + 0x18]
add edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], edx
cmp dword [esi + 0x2c], 0x10
jb 0x45b21d
mov eax, dword [esi + 0x18]
jmp 0x45b220
lea eax, [esi + 0x18]
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x1d8]
push edx
mov ecx, dword [ebp - 0x1dc]
push ecx
mov ecx, dword [ebp - 0x1e0]
push ecx
call fcn.005cbb55
add esp, 0xc
mov eax, dword [esi + 0x28]
sub eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], edx
mov byte [ebp - 0x1e9], 0
cmp dword [esi + 0x2c], 0x10
jb 0x45b270
mov ecx, dword [esi + 0x18]
jmp 0x45b273
lea ecx, [esi + 0x18]
mov eax, dword [ebp - 0x1e8]
mov dword [esi + 0x28], eax
add ecx, eax
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1f0]
mov cl, byte [ebp - 0x1e9]
mov byte [edx], cl
jmp 0x45b4a7
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1f4], ecx
lea eax, [esi + 0x10]
push eax
call fcn.00408564
pop ecx
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 1
ja 0x45b2c3
mov edx, 1
jmp 0x45b2ca
mov edx, dword [ebp - 0x1f8]
dec edx
cmp edx, dword [ebp - 0x1f4]
jae 0x45b2dc
lea eax, [esi + 8]
push eax
call fcn.005c6558
pop ecx
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [ebp - 0x1f4]
jae 0x45b3c8
mov ecx, dword [esi + 0x28]
push ecx
mov eax, dword [ebp - 0x1f4]
push eax
lea edx, [esi + 8]
push edx
call fcn.00408364
add esp, 0xc
jmp 0x45b401
cmp dword [ebp - 0x1f4], 0
jne 0x45b401
mov byte [ebp - 0x211], 0
cmp dword [esi + 0x2c], 0x10
jb 0x45b3e3
mov ecx, dword [esi + 0x18]
jmp 0x45b3e6
lea ecx, [esi + 0x18]
xor eax, eax
mov dword [esi + 0x28], eax
add ecx, eax
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
mov cl, byte [ebp - 0x211]
mov byte [edx], cl
cmp dword [ebp - 0x1f4], 0
seta cl
and ecx, 1
test cl, cl
je 0x45b4a7
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x21c], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45b42d
mov edx, dword [ebx + 0x10]
jmp 0x45b430
lea edx, [ebx + 0x10]
mov dword [ebp - 0x220], edx
cmp dword [esi + 0x2c], 0x10
jb 0x45b441
mov eax, dword [esi + 0x18]
jmp 0x45b444
lea eax, [esi + 0x18]
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.005cba3c
add esp, 0xc
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x229], 0
cmp dword [esi + 0x2c], 0x10
jb 0x45b485
mov edx, dword [esi + 0x18]
jmp 0x45b488
lea edx, [esi + 0x18]
mov eax, dword [ebp - 0x228]
mov dword [esi + 0x28], eax
add edx, eax
mov dword [ebp - 0x230], edx
mov edx, dword [ebp - 0x230]
mov cl, byte [ebp - 0x229]
mov byte [edx], cl
inc dword [ebp - 0x98]
inc dword [ebp - 0x98]
mov ecx, 0x5e2490
mov dword [esi], ecx
inc dword [ebp - 0x98]
dec dword [ebp - 0x98]
cmp dword [ebx + 0x24], 0x10
jb 0x45b4ee
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x238], edx
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.005c0d54
pop ecx
mov eax, 0xf
mov dword [ebx + 0x24], eax
mov byte [ebp - 0x239], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45b508
mov edx, dword [ebx + 0x10]
jmp 0x45b50b
lea edx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add edx, eax
mov dword [ebp - 0x240], edx
mov edx, dword [ebp - 0x240]
mov cl, byte [ebp - 0x239]
mov byte [edx], cl
mov word [ebp - 0xa4], 0x30
push esi
push 0x433e20
call fcn.005d9518
add esp, 0x24
mov ecx, dword [ebp - 0xc]
shr ecx, 1
mov dword [ebp - 0x244], ecx
cmp dword [ebp - 0x244], 8
jae 0x45b55b
mov dword [ebp - 0x244], 8
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x244]
jae 0x45b58d
lea edx, [ebp - 0x18]
push edx
call fcn.0045a488
shr eax, 2
pop ecx
sub eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0xc]
jb 0x45b58d
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 8]
shr eax, 2
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0xcc]
mov dword [ebp - 0x250], edx
mov ecx, dword [ebp - 0x250]
shl ecx, 2
push ecx
call fcn.005c645c
pop ecx
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x248]
shl eax, 2
add eax, dword [ebp - 0x24c]
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], edx
mov ecx, dword [ebp - 0xc]
shl ecx, 2
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x25c], ecx
lea ecx, [ebp - 0x268]
mov eax, dword [ebp - 0x248]
shl eax, 2
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x268], edx
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x264], edx
lea edx, [ebp - 0x20]
push dword [ecx + 4]
push dword [ecx]
push edx
mov ecx, dword [ebp - 0x258]
push ecx
mov eax, dword [ebp - 0x25c]
push eax
mov edx, dword [ebp - 0x260]
push edx
call fcn.0045a4b4
add esp, 0x18
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [ebp - 0xcc]
ja 0x45b7a0
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x248]
shl edx, 2
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x278], edx
lea edx, [ebp - 0x284]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x27c], ecx
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x280], eax
push dword [edx + 4]
push dword [edx]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x274]
push ecx
mov ecx, dword [ebp - 0x278]
push ecx
mov eax, dword [ebp - 0x27c]
push eax
call fcn.0045a4b4
mov dword [ebp - 0x254], eax
xor edx, edx
mov dword [ebp - 0x290], edx
add esp, 0x18
mov ecx, dword [ebp - 0xcc]
sub ecx, dword [ebp - 0x248]
mov dword [ebp - 0x294], ecx
lea ecx, [ebp - 0x2a0]
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2a0], edx
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x29c], edx
lea edx, [ebp - 0x20]
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x290]
push edx
push ecx
mov eax, dword [ebp - 0x294]
push eax
mov edx, dword [ebp - 0x298]
push edx
call fcn.0045a544
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 0x2ac], ecx
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x2bc]
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x2b4], edx
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2bc], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x20]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2ac]
push ecx
push eax
mov edx, dword [ebp - 0x2b0]
push edx
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0045a544
add esp, 0x18
jmp 0x45b8dd
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0xcc]
shl edx, 2
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x2cc], edx
lea edx, [ebp - 0x2d8]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2d0], ecx
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2d4], eax
push dword [edx + 4]
push dword [edx]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x2c8]
push ecx
mov ecx, dword [ebp - 0x2cc]
push ecx
mov eax, dword [ebp - 0x2d0]
push eax
call fcn.0045a4b4
mov edx, dword [ebp - 0x24c]
add esp, 0x18
mov dword [ebp - 0x2e4], edx
mov ecx, dword [ebp - 0x248]
shl ecx, 2
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2e8], ecx
lea ecx, [ebp - 0x2f4]
mov eax, dword [ebp - 0xcc]
shl eax, 2
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x2f4], edx
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x2f0], edx
lea edx, [ebp - 0x20]
push dword [ecx + 4]
push dword [ecx]
push edx
mov ecx, dword [ebp - 0x2e4]
push ecx
mov eax, dword [ebp - 0x2e8]
push eax
mov edx, dword [ebp - 0x2ec]
push edx
call fcn.0045a4b4
add esp, 0x18
mov dword [ebp - 0x254], eax
xor ecx, ecx
mov dword [ebp - 0x300], ecx
lea ecx, [ebp - 0x30c]
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x304], eax
mov edx, dword [ebp - 0x314]
mov dword [ebp - 0x30c], edx
mov edx, dword [ebp - 0x310]
mov dword [ebp - 0x308], edx
lea edx, [ebp - 0x20]
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x300]
push edx
push ecx
mov eax, dword [ebp - 0xcc]
push eax
mov edx, dword [ebp - 0x304]
push edx
call fcn.0045a544
add esp, 0x18
mov ecx, dword [ebp - 0xc]
shl ecx, 2
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x318], ecx
lea ecx, [ebp - 0x324]
mov eax, dword [ebp - 0x248]
shl eax, 2
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x324], edx
mov edx, dword [ebp - 0x328]
mov dword [ebp - 0x320], edx
lea edx, [ebp - 0x20]
push dword [ecx + 4]
push dword [ecx]
push edx
mov ecx, dword [ebp - 0x318]
push ecx
mov eax, dword [ebp - 0x31c]
push eax
call fcn.0045a5d0
add esp, 0x14
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x330], edx
mov ecx, dword [ebp - 0x330]
push ecx
call fcn.005c0d54
pop ecx
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xcc]
add dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x334], ecx
mov eax, dword [ebp - 0x334]
shr eax, 2
mov dword [ebp - 0x338], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x338]
ja 0x45b992
mov ecx, dword [ebp - 0xc]
sub dword [ebp - 0x338], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x338]
cmp dword [eax + edx*4], 0
jne 0x45b9b5
push 0x10
call fcn.005c645c
pop ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x338]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x334]
and ecx, 3
mov eax, dword [eax + edx*4]
shl ecx, 2
add eax, ecx
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], ecx
mov eax, dword [ebp - 0x340]
push eax
push 4
call fcn.004343d4
add esp, 8
mov dword [ebp - 0x90], eax
test eax, eax
je 0x45ba1c
mov word [ebp - 0xa4], 0x60
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x90]
call fcn.005db6bc
mov word [ebp - 0xa4], 0x30
inc dword [ebp - 4]
dec dword [ebp - 0x98]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005db7a8
sub dword [ebp - 0x98], 2
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004082c0
lea ecx, [ebp - 0x480]
push ecx
mov ecx, dword [ebp - 0xc8]
push ecx
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x45a898
mov eax, dword [ebp - 0xc8]
push eax
call sub.KERNEL32.DLL_FindClose
mov word [ebp - 0xa4], 0x6c
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0045a5e8
add esp, 8
mov eax, dword [ebp + 8]
mov word [ebp - 0xa4], 0x78
push eax
dec dword [ebp - 0x98]
lea edx, [ebp - 0x28]
push edx
call fcn.00404254
pop ecx
dec dword [ebp - 0x98]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.005db7a8
pop eax
mov word [ebp - 0xa4], 0x6c
inc dword [ebp - 0x98]
mov edx, dword [ebp - 0xb4]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret