Function at 0x45ce48
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb80
mov eax, 0x5e48f0
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 0x45cf38
mov eax, 0x5e3893
jmp 0x45cf3a
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 0x45e145
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 0x45cfa4
mov edx, 0x5e3894
jmp 0x45cfa6
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 0x45e03b
mov ecx, dword [ebp - 4]
add ecx, 4
shr ecx, 2
cmp ecx, dword [ebp - 0xc]
jb 0x45e03b
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 0x45dc15
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 0x45d054
mov eax, dword [ebx + 0x10]
jmp 0x45d057
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 0x5e3895
call fcn.005cbd88
pop ecx
mov edi, eax
mov ecx, 0x5e3895
test ecx, ecx
je 0x45d0b7
cmp dword [ebx + 0x24], 0x10
mov eax, 0x5e3895
jb 0x45d098
mov edx, dword [ebx + 0x10]
jmp 0x45d09b
lea edx, [ebx + 0x10]
cmp eax, edx
jb 0x45d0b7
cmp dword [ebx + 0x24], 0x10
jb 0x45d0aa
mov eax, dword [ebx + 0x10]
jmp 0x45d0ad
lea eax, [ebx + 0x10]
add eax, dword [ebx + 0x20]
cmp eax, 0x5e3895
ja 0x45d0bb
xor edx, edx
jmp 0x45d0bd
mov dl, 1
test dl, dl
je 0x45d52c
cmp dword [ebx + 0x24], 0x10
mov eax, 0x5e3895
jb 0x45d0d5
mov ecx, dword [ebx + 0x10]
jmp 0x45d0d8
lea ecx, [ebx + 0x10]
sub eax, ecx
mov dword [ebp - 0xe0], eax
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0xe0]
jae 0x45d0f2
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 0x45d10f
mov dword [ebp - 0xe4], edi
cmp ebx, ebx
jne 0x45d315
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 0x45d145
push ebx
call fcn.005c717c
pop ecx
mov edx, dword [ebx + 0x20]
sub edx, dword [ebp - 0xec]
cmp edx, dword [ebp - 0xe8]
jae 0x45d165
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebp - 0xec]
mov dword [ebp - 0xe8], ecx
cmp dword [ebp - 0xe8], 0
jbe 0x45d22d
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 0x45d192
mov edx, dword [ebx + 0x10]
jmp 0x45d195
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 0x45d1b2
mov eax, dword [ebx + 0x10]
jmp 0x45d1b5
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 0x45d20b
mov ecx, dword [ebx + 0x10]
jmp 0x45d20e
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 0x45d246
push ebx
call fcn.005c717c
pop ecx
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebp - 0x10c]
jae 0x45d25a
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
jbe 0x45d525
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
cmp dword [ebx + 0x24], 0x10
jb 0x45d281
mov eax, dword [ebx + 0x10]
jmp 0x45d284
lea eax, [ebx + 0x10]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45d29b
mov edx, dword [ebx + 0x10]
jmp 0x45d29e
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 0x45d2ee
mov ecx, dword [ebx + 0x10]
jmp 0x45d2f1
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 0x45d525
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 0x45d341
mov edx, 1
jmp 0x45d348
mov edx, dword [ebp - 0x130]
dec edx
cmp edx, dword [ebp - 0x12c]
jae 0x45d357
push ebx
call fcn.005c6558
pop ecx
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebp - 0x12c]
jae 0x45d440
mov ecx, dword [ebx + 0x20]
push ecx
mov ecx, dword [ebp - 0x12c]
push ecx
push ebx
call fcn.00408364
add esp, 0xc
jmp 0x45d479
cmp dword [ebp - 0x12c], 0
jne 0x45d479
mov byte [ebp - 0x149], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45d45b
mov ecx, dword [ebx + 0x10]
jmp 0x45d45e
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 0x45d525
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x154], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45d4a5
mov edx, dword [ebx + 0x10]
jmp 0x45d4a8
lea edx, [ebx + 0x10]
add edx, dword [ebp - 0xe0]
mov dword [ebp - 0x158], edx
cmp dword [ebx + 0x24], 0x10
jb 0x45d4bf
mov eax, dword [ebx + 0x10]
jmp 0x45d4c2
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 0x45d503
mov edx, dword [ebx + 0x10]
jmp 0x45d506
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 0x45d6c6
lea eax, [ebx + 8]
push eax
call fcn.00408564
pop ecx
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 1
ja 0x45d54c
mov edx, 1
jmp 0x45d553
mov edx, dword [ebp - 0x16c]
dec edx
cmp edi, edx
jbe 0x45d55e
push ebx
call fcn.005c6558
pop ecx
cmp edi, dword [ebx + 0x24]
jbe 0x45d62d
mov eax, dword [ebx + 0x20]
push eax
push edi
push ebx
call fcn.00408364
add esp, 0xc
jmp 0x45d661
test edi, edi
jne 0x45d661
mov byte [ebp - 0x185], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45d643
mov ecx, dword [ebx + 0x10]
jmp 0x45d646
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 0x45d6c4
cmp dword [ebx + 0x24], 0x10
jb 0x45d678
mov eax, dword [ebx + 0x10]
jmp 0x45d67b
lea eax, [ebx + 0x10]
mov dword [ebp - 0x190], eax
push edi
push 0x5e3895
mov edx, dword [ebp - 0x190]
push edx
call fcn.005cba3c
add esp, 0xc
mov byte [ebp - 0x191], 0
cmp dword [ebx + 0x24], 0x10
jb 0x45d6a8
mov ecx, dword [ebx + 0x10]
jmp 0x45d6ab
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 0x45d720
mov ecx, dword [esi + 0x18]
jmp 0x45d723
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 0x45d74e
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 0x45d76a
mov dword [ebp - 0x1ac], 0xffffffff
lea edx, [esi + 8]
cmp edx, ebx
jne 0x45d96f
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 0x45d7a0
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 0x45d7c0
mov eax, dword [esi + 0x28]
sub eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
jbe 0x45d888
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 0x45d7ed
mov ecx, dword [esi + 0x18]
jmp 0x45d7f0
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 0x45d80d
mov eax, dword [esi + 0x18]
jmp 0x45d810
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 0x45d866
mov ecx, dword [esi + 0x18]
jmp 0x45d869
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 0x45d8a0
lea eax, [esi + 8]
push eax
call fcn.005c717c
pop ecx
mov edx, dword [esi + 0x28]
cmp edx, dword [ebp - 0x1d4]
jae 0x45d8b4
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x1d4], ecx
cmp dword [ebp - 0x1d4], 0
jbe 0x45db7f
mov eax, dword [esi + 0x28]
sub eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
cmp dword [esi + 0x2c], 0x10
jb 0x45d8db
mov edx, dword [esi + 0x18]
jmp 0x45d8de
lea edx, [esi + 0x18]
add edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], edx
cmp dword [esi + 0x2c], 0x10
jb 0x45d8f5
mov eax, dword [esi + 0x18]
jmp 0x45d8f8
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 0x45d948
mov ecx, dword [esi + 0x18]
jmp 0x45d94b
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 0x45db7f
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 0x45d99b
mov edx, 1
jmp 0x45d9a2
mov edx, dword [ebp - 0x1f8]
dec edx
cmp edx, dword [ebp - 0x1f4]
jae 0x45d9b4
lea eax, [esi + 8]
push eax
call fcn.005c6558
pop ecx
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [ebp - 0x1f4]
jae 0x45daa0
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 0x45dad9
cmp dword [ebp - 0x1f4], 0
jne 0x45dad9
mov byte [ebp - 0x211], 0
cmp dword [esi + 0x2c], 0x10
jb 0x45dabb
mov ecx, dword [esi + 0x18]
jmp 0x45dabe
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 0x45db7f
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x21c], eax
cmp dword [ebx + 0x24], 0x10
jb 0x45db05
mov edx, dword [ebx + 0x10]
jmp 0x45db08
lea edx, [ebx + 0x10]
mov dword [ebp - 0x220], edx
cmp dword [esi + 0x2c], 0x10
jb 0x45db19
mov eax, dword [esi + 0x18]
jmp 0x45db1c
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 0x45db5d
mov edx, dword [esi + 0x18]
jmp 0x45db60
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 0x45dbc6
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 0x45dbe0
mov edx, dword [ebx + 0x10]
jmp 0x45dbe3
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 0x45dc33
mov dword [ebp - 0x244], 8
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x244]
jae 0x45dc65
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 0x45dc65
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 0x45de78
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 0x45dfb5
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 0x45e06a
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 0x45e08d
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 0x45e0f4
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 0x45cf70
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