Function at 0x4b3bfc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x1a
add esp, 0xfffff004
push eax
dec eax
jne 0x4b3c05
add esp, 0xfffffe94
mov eax, dword [ebp - 4]
xor eax, eax
xor edx, edx
push ebx
push esi
push edi
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor edx, edx
mov dword [ebp - 0x20], edx
xor eax, eax
mov ecx, dword [ebp + 0xc]
push esi
mov edi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0xc020]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0xc020]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push eax
call fcn.004d2f1c
pop ecx
movsx edx, byte [ebp + eax - 0xc021]
cmp edx, 0x5c
je 0x4b3c92
push 0x5f9b6f
lea ecx, [ebp - 0xc020]
push ecx
call fcn.004d2e40
add esp, 8
test bl, 0x10
jne 0x4b3cca
test bh, 1
jne 0x4b3cca
push 0x1001
lea eax, [ebp - 0xc020]
push eax
call fcn.00411210
add esp, 8
mov dword [ebp - 0x20], eax
push 0x1000
lea edx, [ebp - 0xc020]
push edx
call fcn.00411210
add esp, 8
mov dword [ebp - 0x1c], eax
xor eax, eax
push esi
lea edi, [ebp - 0xc020]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x8020]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0x8020]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x5f9b71
push eax
call fcn.004d2e40
add esp, 8
lea edx, [ebp - 0x1a160]
push edx
lea ecx, [ebp - 0x8020]
push ecx
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
jne 0x4b3d2e
xor eax, eax
jmp 0x4b4722
test bh, 2
je 0x4b3ddf
push 0
push 0
push 0
push 0xc8
push 0
push 0x5f9b75
mov edx, dword [ebp + 8]
push edx
call fcn.00422a7c
add esp, 0x1c
push 3
push 0
push 0
push 0x5f9b85
mov ecx, dword [ebp + 8]
push ecx
call fcn.00421d40
add esp, 0x14
push 3
push 0
push 0
push 0x5f9b8c
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
push 3
push 0
push 0
push 0x5f9b93
mov edx, dword [ebp + 8]
push edx
call fcn.00421d40
add esp, 0x14
push 3
push 0
push 0
push 0x5f9bc1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00421d40
add esp, 0x14
push 3
push 0
push 0
push 0x5f9bf6
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
push 3
push 0
push 0
push 0x5f9c1e
mov edx, dword [ebp + 8]
push edx
call fcn.00421d40
add esp, 0x14
test bh, 1
je 0x4b3dfb
push esi
push 0x5f9c26
lea ecx, [ebp - 0x4020]
push ecx
call fcn.004d75f8
add esp, 0xc
jmp 0x4b3e16
lea eax, [ebp - 0xc020]
lea edx, [ebp - 0x4020]
push eax
push 0x5f9c63
push edx
call fcn.004d75f8
add esp, 0xc
push 3
push 0
push 0
lea ecx, [ebp - 0x4020]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
test bh, 1
je 0x4b3e5b
xor eax, eax
push esi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0xc020]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x1a14c]
push edx
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea ecx, [ebp - 0x1a170]
push ecx
lea eax, [ebp - 0xc]
push eax
call sub.KERNEL32.dll_FileTimeToSystemTime
test bh, 1
je 0x4b3ea6
lea edx, [ebp - 0x1a134]
lea ecx, [ebp - 0xc020]
push edx
push 0x2f
push ecx
lea eax, [ebp - 0x8020]
push 0x5f9ca0
push eax
call fcn.004d75f8
add esp, 0x14
jmp 0x4b3ec8
lea edx, [ebp - 0x1a134]
lea ecx, [ebp - 0xc020]
push edx
push ecx
lea eax, [ebp - 0x8020]
push 0x5f9ca7
push eax
call fcn.004d75f8
add esp, 0x10
lea edx, [ebp - 0x8020]
push edx
call fcn.0041dd18
pop ecx
test eax, eax
je 0x4b3ef1
lea ecx, [ebp - 0x16020]
push ecx
lea eax, [ebp - 0x8020]
push eax
call fcn.0041deec
add esp, 8
jmp 0x4b3f1c
xor eax, eax
push esi
lea edi, [ebp - 0x8020]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x16020]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebp - 0x14020]
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041deec
add esp, 8
lea ecx, [ebp - 0x14020]
mov byte [ebp - 0x10020], 0
push esi
push ecx
lea eax, [ebp - 0x16020]
lea edx, [ebp - 0x14020]
push eax
push esi
push edx
lea ecx, [ebp - 0x16020]
push ecx
push esi
lea eax, [ebp - 0x14020]
lea edx, [ebp - 0x16020]
push eax
push edx
push esi
lea ecx, [ebp - 0x14020]
push ecx
lea eax, [ebp - 0x16020]
push eax
lea edx, [ebp - 0x10020]
push 0x5f9cac
push edx
call fcn.004d75f8
add esp, 0x38
movsx ecx, byte [ebp - 0x1a134]
cmp ecx, 0x2e
jne 0x4b3fc2
mov al, byte [ebp - 0x1a133]
test al, al
jne 0x4b3fa5
mov byte [ebp - 0x10020], 0
jmp 0x4b3fc2
movsx edx, byte [ebp - 0x1a133]
cmp edx, 0x2e
jne 0x4b3fc2
mov cl, byte [ebp - 0x1a132]
test cl, cl
jne 0x4b3fc2
mov byte [ebp - 0x10020], 0
test bl, 0x10
je 0x4b3fce
mov byte [ebp - 0x10020], 0
test bh, 1
je 0x4b3fda
mov byte [ebp - 0x10020], 0
lea eax, [ebp - 0x1a134]
mov edx, 0x5f9dc6
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4b4001
test cl, cl
je 0x4b4007
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4b4001
add eax, 2
add edx, 2
test cl, cl
jne 0x4b3fe5
jne 0x4b40aa
xor eax, eax
push esi
lea edi, [ebp - 0xc020]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x16020]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0x16020]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push eax
call fcn.004d2f1c
pop ecx
mov edx, eax
test edx, edx
je 0x4b405a
movsx ecx, byte [ebp + edx - 0x16021]
cmp ecx, 0x5c
jne 0x4b405a
mov byte [ebp + edx - 0x16021], 0
test edx, edx
je 0x4b4073
movsx eax, byte [ebp + edx - 0x16021]
cmp eax, 0x2f
jne 0x4b4073
mov byte [ebp + edx - 0x16021], 0
test edx, edx
je 0x4b40aa
lea eax, [ebp + edx - 0x16020]
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x4b408b
mov byte [eax], 0
jmp 0x4b40aa
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x4b4098
mov byte [eax], 0
jmp 0x4b40aa
test edx, edx
jne 0x4b40a6
test bh, 1
je 0x4b40aa
mov byte [eax], 0
jmp 0x4b40aa
dec edx
dec eax
jmp 0x4b407e
lea eax, [ebp - 0x16020]
mov dl, byte [eax]
test dl, dl
je 0x4b40c4
movsx edx, dl
cmp edx, 0x5c
jne 0x4b40c1
mov byte [eax], 0x2f
inc eax
jmp 0x4b40b0
test byte [ebp - 0x1a160], 0x10
je 0x4b417a
test bl, 0x10
je 0x4b40f3
lea eax, [ebp - 0x1a134]
lea ecx, [ebp - 0x8020]
push eax
push 0x5f9dc9
push ecx
call fcn.004d75f8
add esp, 0xc
jmp 0x4b4115
lea eax, [ebp - 0x1a134]
lea edx, [ebp - 0x16020]
push eax
push edx
lea ecx, [ebp - 0x8020]
push 0x5f9e19
push ecx
call fcn.004d75f8
add esp, 0x10
test bh, 1
je 0x4b421e
movsx eax, byte [ebp - 0x16020]
cmp eax, 0x2f
jne 0x4b4151
lea edx, [ebp - 0x1a134]
lea ecx, [ebp - 0x16020]
push edx
push ecx
lea eax, [ebp - 0x8020]
push 0x5f9e83
push eax
call fcn.004d75f8
add esp, 0x10
jmp 0x4b421e
lea edx, [ebp - 0x1a134]
push edx
lea ecx, [ebp - 0x16020]
push ecx
push 0x2f
push 0x5f9ee4
lea eax, [ebp - 0x8020]
push eax
call fcn.004d75f8
add esp, 0x14
jmp 0x4b421e
test bl, 0x10
je 0x4b419c
lea edx, [ebp - 0x1a134]
lea ecx, [ebp - 0x8020]
push edx
push 0x5f9f47
push ecx
call fcn.004d75f8
add esp, 0xc
jmp 0x4b41c5
lea eax, [ebp - 0x1a134]
lea edx, [ebp - 0x16020]
push eax
push edx
lea ecx, [ebp - 0x1a134]
lea eax, [ebp - 0x8020]
push ecx
push 0x5f9f97
push eax
call fcn.004d75f8
add esp, 0x14
test bh, 1
je 0x4b421e
movsx edx, byte [ebp - 0x16020]
cmp edx, 0x2f
jne 0x4b41fa
lea ecx, [ebp - 0x1a134]
lea eax, [ebp - 0x16020]
push ecx
push eax
lea edx, [ebp - 0x8020]
push 0x5fa00c
push edx
call fcn.004d75f8
add esp, 0x10
jmp 0x4b421e
lea ecx, [ebp - 0x1a134]
push ecx
lea eax, [ebp - 0x16020]
push eax
push 0x2f
push 0x5fa06d
lea edx, [ebp - 0x8020]
push edx
call fcn.004d75f8
add esp, 0x14
mov eax, dword [ebp - 0x1a160]
test al, 0x20
je 0x4b4240
test al, 0x10
jne 0x4b4240
push 0x5fa0d0
lea edx, [ebp - 0x8020]
push edx
call fcn.004d2e40
add esp, 8
test byte [ebp - 0x1a15f], 8
je 0x4b425d
push 0x5fa0d9
lea ecx, [ebp - 0x8020]
push ecx
call fcn.004d2e40
add esp, 8
test byte [ebp - 0x1a160], 0x10
je 0x4b427a
push 0x5fa0e5
lea eax, [ebp - 0x8020]
push eax
call fcn.004d2e40
add esp, 8
test byte [ebp - 0x1a160], 2
je 0x4b4297
push 0x5fa0f1
lea edx, [ebp - 0x8020]
push edx
call fcn.004d2e40
add esp, 8
test byte [ebp - 0x1a160], 0x80
je 0x4b42b4
push 0x5fa0f9
lea ecx, [ebp - 0x8020]
push ecx
call fcn.004d2e40
add esp, 8
test byte [ebp - 0x1a160], 1
je 0x4b42d1
push 0x5fa101
lea eax, [ebp - 0x8020]
push eax
call fcn.004d2e40
add esp, 8
test byte [ebp - 0x1a160], 4
je 0x4b42ee
push 0x5fa10a
lea edx, [ebp - 0x8020]
push edx
call fcn.004d2e40
add esp, 8
test byte [ebp - 0x1a15f], 1
je 0x4b430b
push 0x5fa113
lea ecx, [ebp - 0x8020]
push ecx
call fcn.004d2e40
add esp, 8
movzx eax, word [ebp - 0x1a164]
push eax
movzx edx, word [ebp - 0x1a166]
push edx
movzx ecx, word [ebp - 0x1a168]
push ecx
movzx eax, word [ebp - 0x1a170]
push eax
lea eax, [ebp - 0x8020]
movzx edx, word [ebp - 0x1a16e]
push edx
movzx ecx, word [ebp - 0x1a16a]
push ecx
push 0x5fa11d
push eax
call fcn.004d2f1c
pop ecx
lea edx, [ebp - 0x8020]
add eax, edx
push eax
call fcn.004d75f8
add esp, 0x20
mov eax, dword [ebp - 0x1a140]
cmp eax, 0x2800
jbe 0x4b4393
lea edx, [ebp - 0x10020]
lea ecx, [ebp - 0x8020]
shr eax, 0xa
push edx
push eax
push ecx
lea eax, [ebp - 0x4020]
push 0x5fa1af
push eax
call fcn.004d75f8
add esp, 0x14
jmp 0x4b43bc
lea edx, [ebp - 0x10020]
lea eax, [ebp - 0x8020]
push edx
lea edx, [ebp - 0x4020]
mov ecx, dword [ebp - 0x1a140]
push ecx
push eax
push 0x5fa1f4
push edx
call fcn.004d75f8
add esp, 0x14
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1a140]
add ecx, eax
mov dword [ebp - 0x14], ecx
movsx edx, byte [ebp - 0x1a134]
cmp edx, 0x2e
jne 0x4b43fb
mov al, byte [ebp - 0x1a133]
test al, al
jne 0x4b43e6
dec dword [ebp - 0x10]
movsx edx, al
cmp edx, 0x2e
jne 0x4b43fb
mov cl, byte [ebp - 0x1a132]
test cl, cl
jne 0x4b43fb
dec dword [ebp - 0x10]
movsx eax, byte [ebp - 0x1a134]
cmp eax, 0x2e
jne 0x4b4411
mov dl, byte [ebp - 0x1a133]
test dl, dl
je 0x4b442f
push ebx
lea ecx, [ebp - 0x1a160]
push ecx
lea eax, [ebp - 0x4020]
push eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.004b39d0
add esp, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1a160]
push ecx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_FindNextFileA
cmp eax, 0x12
je 0x4b444d
test eax, eax
je 0x4b444d
jmp 0x4b3e5b
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x16020]
push edx
mov ecx, dword [ebp - 0x10]
push ecx
push 0x5fa23c
push eax
call fcn.004d75f8
add esp, 0x10
lea edx, [ebp - 0x16020]
push 3
push 0
push 0
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00421d40
add esp, 0x14
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4b4490
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x4b44c5
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x16020]
push ecx
mov eax, dword [ebp - 0x20]
push eax
push 0x5fa276
push edx
call fcn.004d75f8
add esp, 0x10
lea ecx, [ebp - 0x16020]
push 3
push 0
push 0
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
push 0x5fa28e
lea edx, [ebp - 0x16020]
push edx
call fcn.004d75f8
add esp, 8
lea ecx, [ebp - 0x16020]
push 3
push 0
push 0
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
test bl, 0x10
je 0x4b4514
lea edx, [ebp - 0xc020]
lea ecx, [ebp - 0x16020]
push edx
push 0x5fa2a4
push ecx
call fcn.004d75f8
add esp, 0xc
jmp 0x4b452f
lea eax, [ebp - 0xc020]
lea edx, [ebp - 0x16020]
push eax
push 0x5fa2be
push edx
call fcn.004d75f8
add esp, 0xc
test bl, 0x10
je 0x4b4551
lea ecx, [ebp - 0xc020]
lea eax, [ebp - 0x1a020]
push ecx
push 0x5fa2d5
push eax
call fcn.004d75f8
add esp, 0xc
jmp 0x4b456c
lea edx, [ebp - 0xc020]
lea ecx, [ebp - 0x1a020]
push edx
push 0x5fa2ef
push ecx
call fcn.004d75f8
add esp, 0xc
test bl, 0x10
je 0x4b458e
lea eax, [ebp - 0xc020]
lea edx, [ebp - 0x18020]
push eax
push 0x5fa306
push edx
call fcn.004d75f8
add esp, 0xc
jmp 0x4b45a9
lea ecx, [ebp - 0xc020]
lea eax, [ebp - 0x18020]
push ecx
push 0x5fa320
push eax
call fcn.004d75f8
add esp, 0xc
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
lea edx, [ebp - 0x16020]
push edx
call fcn.00423874
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
push ecx
mov eax, dword [ebp + 0x18]
push eax
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x1a020]
push ecx
call fcn.00423874
add esp, 0x10
mov eax, dword [ebp + 0x1c]
push eax
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp + 0x14]
push ecx
lea eax, [ebp - 0x18020]
push eax
call fcn.00423874
add esp, 0x10
test bh, 1
je 0x4b465f
push 0x25
push 0x5fa337
lea edx, [ebp - 0x4020]
push edx
call fcn.004d75f8
add esp, 0xc
lea ecx, [ebp - 0x4020]
push 3
push 0
push 0
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
lea edx, [ebp - 0x4020]
push 0x25
push 0x5fa44b
push edx
call fcn.004d75f8
add esp, 0xc
lea ecx, [ebp - 0x4020]
push 3
push 0
push 0
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
jmp 0x4b46d2
lea edx, [ebp - 0x18020]
push edx
lea ecx, [ebp - 0x1a020]
push ecx
lea eax, [ebp - 0x16020]
push eax
push 0x25
push 0x5fa4c4
lea edx, [ebp - 0x4020]
push edx
call fcn.004d75f8
add esp, 0x18
lea ecx, [ebp - 0x4020]
push 3
push 0
push 0
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
lea edx, [ebp - 0x4020]
push 0x25
push 0x5fa60b
push edx
call fcn.004d75f8
add esp, 0xc
lea ecx, [ebp - 0x4020]
push 3
push 0
push 0
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4b46fd
push 3
push 0
push 0
push ebx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d40
add esp, 0x14
mov eax, ebx
mov ebx, dword [ebx + 0x4105]
push eax
call fcn.004dd258
pop ecx
jmp 0x4b46d5
push 3
push 0
push 0
push 0x5fa684
mov edx, dword [ebp + 8]
push edx
call fcn.00421d40
add esp, 0x14
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_FindClose
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret