Function at 0x45badc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb80
mov eax, 0x5e47bc
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 0x45bbcc
mov eax, 0x5e3857
jmp 0x45bbce
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 0x45cdd9
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 0x45bc38
mov edx, 0x5e3858
jmp 0x45bc3a
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 0x45cccf
mov ecx, dword [ebp - 4]
add ecx, 4
shr ecx, 2
cmp ecx, dword [ebp - 0xc]
jb 0x45cccf
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 0x45c8a9
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 0x45bce8
mov eax, dword [ebx + 0x10]
jmp 0x45bceb
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 0x5e3859
call fcn.005cbd88
pop ecx
mov edi, eax
mov ecx, 0x5e3859
test ecx, ecx
je 0x45bd4b
cmp dword [ebx + 0x24], 0x10
mov eax, 0x5e3859
jb 0x45bd2c
mov edx, dword [ebx + 0x10]
jmp 0x45bd2f
lea edx, [ebx + 0x10]
cmp eax, edx
jb 0x45bd4b
cmp dword [ebx + 0x24], 0x10
jb 0x45bd3e
mov eax, dword [ebx + 0x10]
jmp 0x45bd41
lea eax, [ebx + 0x10]
add eax, dword [ebx + 0x20]
cmp eax, 0x5e3859
ja 0x45bd4f
xor edx, edx
jmp 0x45bd51
mov dl, 1
test dl, dl
je 0x45c1c0
cmp dword [ebx + 0x24], 0x10
mov eax, 0x5e3859
jb 0x45bd69
mov ecx, dword [ebx + 0x10]
jmp 0x45bd6c
lea ecx, [ebx + 0x10]
sub eax, ecx
mov dword [ebp - 0xe0], eax
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0xe0]
jae 0x45bd86
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 0x45bda3
mov dword [ebp - 0xe4], edi
cmp ebx, ebx
jne 0x45bfa9
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 0x45bdd9
push ebx
call fcn.005c717c
pop ecx
mov edx, dword [ebx + 0x20]
sub edx, dword [ebp - 0xec]
cmp edx, dword [ebp - 0xe8]
jae 0x45bdf9
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebp - 0xec]
mov dword [ebp - 0xe8], ecx
cmp dword [ebp - 0xe8], 0
jbe 0x45bec1
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 0x45be26
mov edx, dword [ebx + 0x10]
jmp 0x45be29
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 0x45be46
mov eax, dword [ebx + 0x10]
jmp 0x45be49
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 0x45be9f
mov ecx, dword [ebx + 0x10]
jmp 0x45bea2
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 0x45beda
push ebx
call fcn.005c717c
pop ecx
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0x10c]
jae 0x45beee
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
jbe 0x45c1b9
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
cmp dword [ebx + 0x24], 0x10
jb 0x45bf15
mov eax, dword [ebx + 0x10]
jmp 0x45bf18
lea eax, [ebx + 0x10]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45bf2f
mov edx, dword [ebx + 0x10]
jmp 0x45bf32
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 0x45bf82
mov ecx, dword [ebx + 0x10]
jmp 0x45bf85
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 0x45c1b9
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 0x45bfd5
mov edx, 1
jmp 0x45bfdc
mov edx, dword [ebp - 0x130]
dec edx
cmp edx, dword [ebp - 0x12c]
jae 0x45bfeb
push ebx
call fcn.005c6558
pop ecx
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebp - 0x12c]
jae 0x45c0d4
mov ecx, dword [ebx + 0x20]
push ecx
mov ecx, dword [ebp - 0x12c]
push ecx
push ebx
call fcn.00408364
add esp, 0xc
jmp 0x45c10d
cmp dword [ebp - 0x12c], 0
jne 0x45c10d
mov byte [ebp - 0x149], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45c0ef
mov ecx, dword [ebx + 0x10]
jmp 0x45c0f2
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 0x45c1b9
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x154], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45c139
mov edx, dword [ebx + 0x10]
jmp 0x45c13c
lea edx, [ebx + 0x10]
add edx, dword [ebp - 0xe0]
mov dword [ebp - 0x158], edx
cmp dword [ebx + 0x24], 0x10
jb 0x45c153
mov eax, dword [ebx + 0x10]
jmp 0x45c156
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 0x45c197
mov edx, dword [ebx + 0x10]
jmp 0x45c19a
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 0x45c35a
lea eax, [ebx + 8]
push eax
call fcn.00408564
pop ecx
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 1
ja 0x45c1e0
mov edx, 1
jmp 0x45c1e7
mov edx, dword [ebp - 0x16c]
dec edx
cmp edi, edx
jbe 0x45c1f2
push ebx
call fcn.005c6558
pop ecx
cmp edi, dword [ebx + 0x24]
jbe 0x45c2c1
mov eax, dword [ebx + 0x20]
push eax
push edi
push ebx
call fcn.00408364
add esp, 0xc
jmp 0x45c2f5
test edi, edi
jne 0x45c2f5
mov byte [ebp - 0x185], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45c2d7
mov ecx, dword [ebx + 0x10]
jmp 0x45c2da
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 0x45c358
cmp dword [ebx + 0x24], 0x10
jb 0x45c30c
mov eax, dword [ebx + 0x10]
jmp 0x45c30f
lea eax, [ebx + 0x10]
mov dword [ebp - 0x190], eax
push edi
push 0x5e3859
mov edx, dword [ebp - 0x190]
push edx
call fcn.005cba3c
add esp, 0xc
mov byte [ebp - 0x191], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45c33c
mov ecx, dword [ebx + 0x10]
jmp 0x45c33f
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 0x45c3b4
mov ecx, dword [esi + 0x18]
jmp 0x45c3b7
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 0x45c3e2
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 0x45c3fe
mov dword [ebp - 0x1ac], 0xffffffff
lea edx, [esi + 8]
cmp edx, ebx
jne 0x45c603
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 0x45c434
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 0x45c454
mov eax, dword [esi + 0x28]
sub eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
jbe 0x45c51c
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 0x45c481
mov ecx, dword [esi + 0x18]
jmp 0x45c484
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 0x45c4a1
mov eax, dword [esi + 0x18]
jmp 0x45c4a4
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 0x45c4fa
mov ecx, dword [esi + 0x18]
jmp 0x45c4fd
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 0x45c534
lea eax, [esi + 8]
push eax
call fcn.005c717c
pop ecx
mov edx, dword [esi + 0x28]
cmp edx, dword [ebp - 0x1d4]
jae 0x45c548
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x1d4], ecx
cmp dword [ebp - 0x1d4], 0
jbe 0x45c813
mov eax, dword [esi + 0x28]
sub eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
cmp dword [esi + 0x2c], 0x10
jb 0x45c56f
mov edx, dword [esi + 0x18]
jmp 0x45c572
lea edx, [esi + 0x18]
add edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], edx
cmp dword [esi + 0x2c], 0x10
jb 0x45c589
mov eax, dword [esi + 0x18]
jmp 0x45c58c
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 0x45c5dc
mov ecx, dword [esi + 0x18]
jmp 0x45c5df
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 0x45c813
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 0x45c62f
mov edx, 1
jmp 0x45c636
mov edx, dword [ebp - 0x1f8]
dec edx
cmp edx, dword [ebp - 0x1f4]
jae 0x45c648
lea eax, [esi + 8]
push eax
call fcn.005c6558
pop ecx
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [ebp - 0x1f4]
jae 0x45c734
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 0x45c76d
cmp dword [ebp - 0x1f4], 0
jne 0x45c76d
mov byte [ebp - 0x211], 0
cmp dword [esi + 0x2c], 0x10
jb 0x45c74f
mov ecx, dword [esi + 0x18]
jmp 0x45c752
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 0x45c813
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x21c], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45c799
mov edx, dword [ebx + 0x10]
jmp 0x45c79c
lea edx, [ebx + 0x10]
mov dword [ebp - 0x220], edx
cmp dword [esi + 0x2c], 0x10
jb 0x45c7ad
mov eax, dword [esi + 0x18]
jmp 0x45c7b0
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 0x45c7f1
mov edx, dword [esi + 0x18]
jmp 0x45c7f4
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 0x45c85a
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 0x45c874
mov edx, dword [ebx + 0x10]
jmp 0x45c877
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 0x45c8c7
mov dword [ebp - 0x244], 8
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x244]
jae 0x45c8f9
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 0x45c8f9
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 0x45cb0c
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 0x45cc49
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 0x45ccfe
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 0x45cd21
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 0x45cd88
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 0x45bc04
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