Function at 0x41653c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x48], 0x45d7f8
mov dword [ebp - 0x44], 0x463c2c
mov dword [ebp - 0x40], ebp
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x40], 0x4164c1
lea eax, [ebp - 0x64]
call fcn.0045e461
test esi, esi
je 0x41629a
lea edi, [ebx + 4]
cmp dword [ebx + 0x18], 0xf
ja 0x4162b3
mov eax, edi
jmp 0x4162b6
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], 0
jmp 0x416491
mov eax, dword [ebx + 4]
mov dword [ebp - 0x5c], 0xffffffff
sub esp, 8
push 0
push 0
push esi
push eax
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
add esp, 8
mov esi, eax
test esi, esi
je 0x416348
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], 0
cmp esi, 0xffffffff
je 0x4164aa
mov dword [ebp - 0x5c], 0xffffffff
sub esp, 4
lea eax, [ebp - 0x28]
push 0
push esi
push eax
call fcn.00419d90
add esp, 0x10
test al, al
je 0x41637e
mov eax, dword [ebp - 0x10]
cmp eax, 7
ja 0x416383
lea ecx, [ebp - 0x24]
cmp esi, 1
je 0x41638b
mov dword [ebp - 0x5c], 0xffffffff
sub esp, 4
push esi
push 0
push ecx
call fcn.0044cd81
add esp, 0x10
mov eax, dword [ebp - 0x10]
cmp eax, 7
jbe 0x416395
mov ecx, dword [ebp - 0x24]
jmp 0x416398
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], 0
mov dword [ebp - 0x5c], 0xffffffff
sub esp, 4
push 0
push 0x463b24
push edi
call fcn.0041a23c
add esp, 0x10
jmp 0x416491
mov eax, dword [ebp - 0x10]
jmp 0x4163a1
mov ecx, dword [ebp - 0x24]
cmp esi, 1
jne 0x416325
mov word [ecx], 0
cmp eax, 7
ja 0x416343
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], esi
mov word [ecx + esi*2], 0
cmp dword [ebx + 0x18], 0xf
mov ecx, dword [ebx + 0x14]
jbe 0x4163ad
mov edi, dword [ebx + 4]
cmp eax, 7
ja 0x4163b7
lea eax, [ebp - 0x24]
jmp 0x4163ba
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x5c], 1
sub esp, 8
push esi
push eax
push ecx
push edi
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
add esp, 8
test eax, eax
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], 0
je 0x416423
lea ecx, [edi + 4]
mov eax, dword [ebp - 0x10]
cmp eax, 7
ja 0x416468
mov edx, dword [ebp - 0x14]
inc edx
je 0x416474
mov dword [ebp - 0x5c], 3
sub esp, 4
push edx
lea eax, [ebp - 0x24]
push eax
push ecx
call fcn.0044ccac
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
jmp 0x416474
mov dword [ebp - 0x5c], 2
sub esp, 4
push 0
push 0x463b24
push edi
call fcn.0041a23c
add esp, 0x10
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
mov edi, dword [ebp + 8]
jb 0x416491
mov eax, dword [ebp - 0x24]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41645a
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.004406b8
add esp, 0x10
jmp 0x416491
mov edx, dword [ebp - 0x24]
mov dword [ecx], edx
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], 0
lea eax, [ebp - 0x64]
sub esp, 0xc
push eax
call fcn.0045e482
add esp, 0x10
mov eax, edi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x5c], 0xffffffff
sub esp, 0xc
push 0x463b7c
call fcn.00446084
add esp, 0xc
mov eax, dword [ebp - 0x60]
cmp eax, 3
jbe 0x4164cd
ud2
sub eax, 1
jmp dword [eax*4 + 0x416530]
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x41650a
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
lea eax, [eax + eax + 2]
cmp eax, 0x1000
mov eax, dword [ebp - 0x2c]
jb 0x4164fe
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.004406b8
add esp, 0x10
mov dword [ebp - 0x5c], 0xffffffff
sub esp, 0xc
push esi
call fcn.0045e400
add esp, 0xc
mov eax, dword [ebp - 0x54]
sub esp, 0xc
push dword [ebp - 0x58]
call fcn.00402458
add esp, 0xc
nop
fldenv [ecx + eax*2]
fldenv [ecx + eax*2]
sbb eax, 1426080101
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3ac
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov dword [ebp - 0x60], 0x45d7f8
mov dword [ebp - 0x5c], 0x463c4c
mov dword [ebp - 0x58], ebp
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x58], 0x416a46
mov dword [ebp - 0x74], 1
lea eax, [ebp - 0x7c]
call fcn.0045e461
mov dword [esp + 4], esi
lea eax, [ebp - 0x3a8]
mov dword [esp], eax
call fcn.00416254
mov dword [ebp - 0x74], 2
lea eax, [ebp - 0x3a8]
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], str._.
call fcn.0041a51c
mov dword [ebp - 0xdc], 7
lea esi, [ebp - 0xf0]
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], 0
mov edx, dword [eax + 0x18]
cmp edx, 7
ja 0x416634
mov ecx, dword [eax + 0x14]
mov edi, eax
add edi, 4
inc ecx
je 0x416649
mov dword [ebp - 0x74], 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x40], edi
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [ebp - 0x1c], eax
call fcn.0044ccac
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
lea esi, [ebp - 0xf0]
mov edi, dword [ebp - 0x40]
jmp 0x416649
mov edi, eax
add edi, 4
mov ecx, dword [eax + 4]
mov dword [ebp - 0xf0], ecx
mov dword [eax + 4], 0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], 0
mov word [edi], 0
mov ecx, dword [ebp - 0x390]
cmp ecx, 8
jb 0x416693
mov eax, dword [ebp - 0x3a4]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41668b
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
cmp dword [ebp - 0xdc], 7
jbe 0x4166a2
mov esi, dword [ebp - 0xf0]
mov dword [ebp - 0x74], 4
lea eax, [ebp - 0x3a8]
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.KERNEL32.DLL_FindFirstFileW
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x416a05
lea esi, [ebp - 0x37c]
nop word cs:[eax + eax]
test byte [ebp - 0x3a8], 0x10
jne 0x4169c3
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], 0
mov word [ebp - 0x134], 0
cmp word [ebp - 0x37c], 0
je 0x41671a
mov dword [esp], esi
call fcn.0044c630
jmp 0x41671c
xor eax, eax
mov dword [ebp - 0x74], 5
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.0041a23c
mov dword [ebp - 0x74], 6
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00416254
mov dword [ebp - 0x74], 7
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x463b30
call fcn.0041a51c
mov edx, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
mov eax, dword [edx + 0x18]
cmp eax, 7
ja 0x4167dc
mov ecx, dword [edx + 0x14]
mov esi, edx
add esi, 4
inc ecx
je 0x4167ee
mov dword [ebp - 0x74], 8
mov dword [esp + 8], ecx
mov dword [ebp - 0xf8], esi
mov dword [esp + 4], esi
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x40], edx
call fcn.0044ccac
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x18]
mov esi, dword [ebp - 0xf8]
jmp 0x4167ee
mov esi, edx
add esi, 4
mov ecx, dword [edx + 4]
mov dword [ebp - 0x38], ecx
mov dword [edx + 4], 0
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [edx + 0x18], 7
mov dword [edx + 0x14], 0
mov word [esi], 0
mov dword [ebp - 0x74], 9
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x154]
mov dword [esp], eax
call fcn.00416f6c
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x416852
mov eax, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x41684a
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc0]
cmp ecx, 8
jb 0x41688e
mov eax, dword [ebp - 0xd4]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x416886
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0x74], 0xa
lea eax, [ebp - 0x154]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00416078
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], 0xb
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.00419c20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x74], 0xc
lea ecx, [ebp - 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004170f8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x416919
mov eax, dword [ebp - 0x38]
inc ecx
cmp ecx, 0x1000
jb 0x416911
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
cmp dword [ebp - 0x14], 0
je 0x416973
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xcc]
sub ecx, eax
cmp ecx, 0x1000
mov eax, dword [ebp - 0x14]
jb 0x41694d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x13c]
cmp ecx, 8
jb 0x41699b
mov eax, dword [ebp - 0x150]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x416993
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov ecx, dword [ebp - 0x120]
cmp ecx, 8
jb 0x4169c3
mov eax, dword [ebp - 0x134]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x4169bb
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
mov dword [ebp - 0x74], 0xd
lea eax, [ebp - 0x3a8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindNextFileW
sub esp, 8
test eax, eax
lea esi, [ebp - 0x37c]
jne 0x4166dc
mov dword [ebp - 0x74], 0xe
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindClose
sub esp, 4
mov ecx, dword [ebp - 0xdc]
cmp ecx, 8
jb 0x416a2d
mov eax, dword [ebp - 0xf0]
lea ecx, [ecx + ecx + 2]
cmp ecx, 0x1000
jb 0x416a25
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.004406b8
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0045e482
mov eax, dword [ebp + 8]
add esp, 0x3ac
pop esi
pop edi
pop ebx
pop ebp
ret