Function at 0x41a780
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46fce9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x64], ebx
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f84
xor ebp, ebp
mov ecx, ebx
mov dword [esp + 0x300], ebp
call fcn.0041b250
lea esi, [ebx + 0x93c]
mov ecx, esi
call fcn.004305f0
test eax, eax
je 0x41b1a8
lea eax, [esp + 0x40]
mov ecx, esi
push eax
mov dword [esp + 0x44], ebp
call fcn.0042fd80
mov edi, eax
push 0x4b1a08
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], edi
call fcn.0045854a
cmp edi, ebp
mov byte [esp + 0x300], 1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], ebp
jle 0x41ae48
xor esi, esi
mov dword [esp + 0x50], esi
mov ecx, dword [esp + 0x40]
lea edx, [esi + ecx + 0x208]
lea ecx, [esp + 0x1c]
push edx
call fcn.0045854a
mov eax, dword [esp + 0x40]
mov byte [esp + 0x300], 2
lea ecx, [esi + eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0045854a
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [ebx + 0x93c]
mov byte [esp + 0x308], 3
call fcn.0042fda0
mov eax, dword [esp + 0x24]
mov byte [esp + 0x300], 4
cmp dword [eax - 8], ebp
je 0x41adfa
push 0x475c28
push eax
call fcn.0043f8ef
add esp, 8
cmp eax, ebp
je 0x41adfa
mov ecx, dword [esp + 0x1c]
push str.PAGE
push ecx
call fcn.0043f8ef
add esp, 8
cmp eax, ebp
je 0x41a8bf
mov edx, dword [esp + 0x1c]
push str.PAGE_OOB
push edx
call fcn.0043f8ef
add esp, 8
cmp eax, ebp
jne 0x41adfa
lea ecx, [esp + 0x70]
call fcn.00453105
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x70]
push eax
push ecx
mov byte [esp + 0x308], 5
call fcn.00430e00
mov edx, dword [esp + 0x7c]
add esp, 8
add edx, 4
lea ecx, [esp + 0x2c]
push edx
call fcn.00458243
push 0x2d
lea ecx, [esp + 0x30]
mov byte [esp + 0x304], 6
call fcn.00458941
mov esi, eax
cmp esi, 0xffffffff
je 0x41aef8
mov eax, dword [esp + 0x1c]
push str.PAGE_OOB
push eax
call fcn.0043f8ef
add esp, 8
cmp eax, ebp
jne 0x41a92b
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x74]
add ecx, 8
push ecx
lea ecx, [esp + 0x1c]
call fcn.00458243
lea edx, [esp + 0x3c]
push esi
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x308], 7
call fcn.00451277
mov eax, dword [0x4ad780]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [eax]
push edx
push ecx
lea edx, [esp + 0x44]
push str._s_s_s
push edx
mov byte [esp + 0x314], 9
call fcn.00451685
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0xc0]
mov dword [esp + 0xbc], ebp
add esp, 0x14
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov eax, 1
cmp ebp, 0xffffffff
mov dword [esp + 0x54], ebp
je 0x41ad66
test eax, eax
je 0x41ad5f
lea edx, [esp + 0xd4]
lea ecx, [esp + 0x68]
push edx
call fcn.0045854a
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
lea edx, [esp + 0xd4]
mov byte [esp + 0x300], 0xa
mov edi, dword [ecx - 8]
mov esi, dword [eax - 8]
push edx
lea ecx, [esp + 0x64]
call fcn.0045854a
sub esi, edi
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, eax
mov byte [esp + 0x308], 0xb
call fcn.00451277
lea ecx, [esp + 0x60]
mov byte [esp + 0x300], 0xe
call fcn.004584d6
lea ecx, [esp + 0x68]
mov byte [esp + 0x300], 0xd
call fcn.004584d6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx - 8]
mov edx, dword [ecx - 8]
sub eax, edx
lea edx, [esp + 0x6c]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004511fb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x304], 0xf
call fcn.0045861d
lea ecx, [esp + 0x6c]
mov byte [esp + 0x300], 0xd
call fcn.004584d6
mov eax, dword [0x4ad780]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x304], 0x10
mov eax, dword [ecx]
push eax
lea eax, [esp + 0x38]
push 0x4a958c
push eax
call fcn.00451685
mov ecx, dword [esp + 0x40]
add esp, 0x10
push ecx
mov ecx, ebx
call fcn.0041b400
mov esi, eax
test esi, esi
je 0x41af77
lea ecx, [esp + 0x14]
call fcn.004589b1
lea edx, [esp + 0x28]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x90]
push eax
push ecx
call fcn.0041e730
add esp, 0xc
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x304], 0x11
call fcn.0041c5b0
mov dword [esp + 0x9c], 0
lea edx, [esp + 0x94]
lea eax, [esp + 0x84]
push edx
push eax
lea ecx, [ebx + 0x1fbc]
mov byte [esp + 0x308], 0x12
call fcn.0041cdb0
lea ecx, [esp + 0x88]
lea edx, [esp + 0x84]
push ecx
push edx
lea ecx, [esp + 0xa8]
call fcn.0041d580
mov edi, dword [esp + 0xa0]
lea ecx, [esp + 0x94]
mov byte [esp + 0x300], 0x11
call fcn.00415420
mov dword [edi + 0x14], esi
lea ecx, [esp + 0x90]
mov byte [esp + 0x300], 0x13
call fcn.004584d6
lea ecx, [esp + 0x8c]
mov byte [esp + 0x300], 0x10
call fcn.004584d6
lea eax, [esp + 0xa8]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [esp + 0x1c]
push str.PAGE_OOB
push ecx
mov dword [esp + 0x64], eax
call fcn.0043f8ef
add esp, 8
test eax, eax
jne 0x41ac76
mov eax, dword [esp + 0x14]
lea edi, [ebx + 0x1fcc]
push eax
mov ebp, eax
call fcn.0045186b
xor edx, edx
div dword [edi + 8]
mov eax, dword [edi + 4]
test eax, eax
je 0x41abf7
mov esi, dword [eax + edx*4]
test esi, esi
je 0x41abf7
mov edx, dword [esi + 8]
push ebp
push edx
call fcn.0043f64f
add esp, 8
test eax, eax
je 0x41ac68
mov esi, dword [esi]
test esi, esi
jne 0x41abe0
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, edi
mov esi, eax
call fcn.0041e9c0
mov ebp, eax
test ebp, ebp
jne 0x41ac5c
mov eax, dword [edi + 4]
test eax, eax
jne 0x41ac2c
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.0040dcd0
mov ecx, edi
call fcn.0041eb30
mov ebp, eax
mov eax, dword [esp + 0x20]
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 4], eax
call fcn.0045866d
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + edx*4]
mov dword [ebp], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], ebp
mov eax, dword [esp + 0x48]
mov dword [ebp + 0xc], eax
jmp 0x41ad1f
test esi, esi
je 0x41abf7
mov esi, dword [esi + 0xc]
inc esi
mov dword [esp + 0x48], esi
jmp 0x41abff
mov eax, dword [esp + 0x14]
lea edi, [ebx + 0x1fe8]
push eax
mov ebp, eax
call fcn.0045186b
xor edx, edx
div dword [edi + 8]
mov eax, dword [edi + 4]
test eax, eax
je 0x41acb6
mov esi, dword [eax + edx*4]
test esi, esi
je 0x41acb6
mov ecx, dword [esi + 8]
push ebp
push ecx
call fcn.0043f64f
add esp, 8
test eax, eax
je 0x41ad4e
mov esi, dword [esi]
test esi, esi
jne 0x41ac9b
mov ebx, 1
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x44]
push edx
push eax
mov ecx, edi
mov esi, eax
call fcn.0041e9c0
mov ebp, eax
test ebp, ebp
jne 0x41ad18
mov eax, dword [edi + 4]
test eax, eax
jne 0x41ace8
mov eax, dword [edi + 8]
push 1
push eax
mov ecx, edi
call fcn.0040dcd0
mov ecx, edi
call fcn.0041eb30
mov ecx, dword [esp + 0x44]
mov ebp, eax
push esi
mov dword [ebp + 4], ecx
lea ecx, [ebp + 8]
call fcn.0045866d
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x44]
mov ecx, dword [edx + eax*4]
mov dword [ebp], ecx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x44]
mov dword [edx + eax*4], ebp
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0x30]
mov byte [esp + 0x300], 0xd
call fcn.004584d6
lea ecx, [esp + 0x14]
mov byte [esp + 0x300], 9
call fcn.004584d6
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x54]
jmp 0x41a9c5
test esi, esi
je 0x41acb6
mov ebx, dword [esi + 0xc]
inc ebx
jmp 0x41acbb
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x38]
mov byte [esp + 0x300], 8
call fcn.004584d6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x300], 7
call fcn.004584d6
lea ecx, [esp + 0x18]
mov byte [esp + 0x300], 6
call fcn.004584d6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x300], 5
call fcn.004584d6
lea ecx, [esp + 0x70]
mov byte [esp + 0x300], 4
call fcn.00453138
lea ecx, [esp + 0x24]
mov byte [esp + 0x300], 3
call fcn.004584d6
lea ecx, [esp + 0x28]
mov byte [esp + 0x300], 2
call fcn.004584d6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x300], 1
call fcn.004584d6
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
xor ebp, ebp
jmp 0x41ae2d
lea ecx, [esp + 0x24]
mov byte [esp + 0x300], 3
call fcn.004584d6
lea ecx, [esp + 0x28]
mov byte [esp + 0x300], 2
call fcn.004584d6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x300], 1
call fcn.004584d6
mov eax, dword [esp + 0x4c]
add esi, 0xa64
inc eax
mov dword [esp + 0x50], esi
cmp eax, edi
mov dword [esp + 0x4c], eax
jl 0x41a819
mov esi, dword [ebx + 0x1fd8]
neg esi
sbb esi, esi
cmp esi, ebp
je 0x41b0f1
mov ecx, dword [0x4ad780]
mov dword [esp + 0x18], ecx
cmp esi, 0xffffffff
mov byte [esp + 0x300], 0x14
mov edi, esi
jne 0x41ae93
mov edx, dword [ebx + 0x1fd4]
xor eax, eax
cmp edx, ebp
jbe 0x41ae93
mov ecx, dword [ebx + 0x1fd0]
mov edi, dword [ecx]
cmp edi, ebp
jne 0x41ae93
inc eax
add ecx, 4
cmp eax, edx
jb 0x41ae85
mov esi, dword [edi]
cmp esi, ebp
jne 0x41aebe
mov eax, dword [edi + 4]
mov edx, dword [ebx + 0x1fd4]
inc eax
cmp eax, edx
jae 0x41aebe
mov ecx, dword [ebx + 0x1fd0]
lea ecx, [ecx + eax*4]
mov esi, dword [ecx]
cmp esi, ebp
jne 0x41aebe
inc eax
add ecx, 4
cmp eax, edx
jb 0x41aeb0
lea edx, [edi + 8]
lea ecx, [esp + 0x18]
push edx
call fcn.0045861d
mov edi, dword [edi + 0xc]
mov eax, dword [esp + 0x34]
cmp edi, eax
jne 0x41b084
lea ecx, [esp + 0x18]
mov byte [esp + 0x300], 1
call fcn.004584d6
cmp esi, ebp
jne 0x41ae5a
jmp 0x41b0f1
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
push str.The_name_of_file___s__is_invalid__nFile_name_must_be__xxx_Nkpage__Moob_.yyy___N_and_M_is_a_number.
push edx
call fcn.00451685
mov eax, dword [esp + 0x1c]
add esp, 0xc
push ebp
push ebp
push eax
call fcn.0045f42f
mov ecx, ebx
call fcn.0041b250
lea ecx, [esp + 0x2c]
mov byte [esp + 0x300], 5
call fcn.004584d6
lea ecx, [esp + 0x70]
mov byte [esp + 0x300], 4
call fcn.00453138
lea ecx, [esp + 0x24]
mov byte [esp + 0x300], 3
call fcn.004584d6
lea ecx, [esp + 0x28]
mov byte [esp + 0x300], 2
call fcn.004584d6
mov byte [esp + 0x300], 1
lea ecx, [esp + 0x1c]
jmp 0x41b216
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
push ecx
push str.Load_file___s__failed_
push edx
call fcn.00451685
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push eax
call fcn.0045f42f
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, ebx
call fcn.0041b250
lea ecx, [esp + 0x30]
mov byte [esp + 0x300], 0xd
call fcn.004584d6
lea ecx, [esp + 0x14]
mov byte [esp + 0x300], 9
call fcn.004584d6
lea ecx, [esp + 0x38]
mov byte [esp + 0x300], 8
call fcn.004584d6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x300], 7
call fcn.004584d6
lea ecx, [esp + 0x18]
mov byte [esp + 0x300], 6
call fcn.004584d6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x300], 5
call fcn.004584d6
lea ecx, [esp + 0x70]
mov byte [esp + 0x300], 4
call fcn.00453138
lea ecx, [esp + 0x24]
mov byte [esp + 0x300], 3
call fcn.004584d6
lea ecx, [esp + 0x28]
mov byte [esp + 0x300], 2
call fcn.004584d6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x300], 1
call fcn.004584d6
lea ecx, [esp + 0x10]
mov byte [esp + 0x300], 0
call fcn.004584d6
mov dword [esp + 0x300], 0xffffffff
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f99
xor eax, eax
jmp 0x41b1c5
push eax
mov eax, dword [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x1c]
push str.Page_OOB___s__only_have__d_image_files._nIt_is_less_than__d.
push ecx
call fcn.00451685
mov edx, dword [esp + 0x24]
add esp, 0x14
push ebp
push ebp
push edx
call fcn.0045f42f
mov ecx, ebx
call fcn.0041b250
lea ecx, [esp + 0x18]
mov byte [esp + 0x300], 1
call fcn.004584d6
lea ecx, [esp + 0x10]
mov byte [esp + 0x300], 0
call fcn.004584d6
mov dword [esp + 0x300], 0xffffffff
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f99
xor eax, eax
jmp 0x41b1c5
mov esi, dword [ebx + 0x1ff4]
neg esi
sbb esi, esi
cmp esi, ebp
je 0x41b197
mov eax, dword [0x4ad780]
mov dword [esp + 0x20], eax
cmp esi, 0xffffffff
mov byte [esp + 0x300], 0x15
mov edi, esi
jne 0x41b13b
mov edx, dword [ebx + 0x1fd4]
xor eax, eax
cmp edx, ebp
jbe 0x41b13b
mov ecx, dword [ebx + 0x1fd0]
mov edi, dword [ecx]
cmp edi, ebp
jne 0x41b13b
inc eax
add ecx, 4
cmp eax, edx
jb 0x41b12d
mov esi, dword [edi]
cmp esi, ebp
jne 0x41b166
mov eax, dword [edi + 4]
mov edx, dword [ebx + 0x1fd4]
inc eax
cmp eax, edx
jae 0x41b166
mov ecx, dword [ebx + 0x1fd0]
lea ecx, [ecx + eax*4]
mov esi, dword [ecx]
cmp esi, ebp
jne 0x41b166
inc eax
add ecx, 4
cmp eax, edx
jb 0x41b158
lea edx, [edi + 8]
lea ecx, [esp + 0x20]
push edx
call fcn.0045861d
mov edi, dword [edi + 0xc]
mov eax, dword [esp + 0x34]
cmp edi, eax
jne 0x41b1de
lea ecx, [esp + 0x20]
mov byte [esp + 0x300], 1
call fcn.004584d6
cmp esi, ebp
jne 0x41b103
lea ecx, [esp + 0x10]
mov byte [esp + 0x300], 0
call fcn.004584d6
mov dword [esp + 0x300], 0xffffffff
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f99
mov eax, 1
mov ecx, dword [esp + 0x2f8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2f4
ret
push eax
mov eax, dword [esp + 0x24]
push edi
push eax
lea ecx, [esp + 0x1c]
push 0x4abe5c
push ecx
call fcn.00451685
mov edx, dword [esp + 0x24]
add esp, 0x14
push ebp
push ebp
push edx
call fcn.0045f42f
mov ecx, ebx
call fcn.0041b250
mov byte [esp + 0x300], 1
lea ecx, [esp + 0x20]
call fcn.004584d6
lea ecx, [esp + 0x10]
mov byte [esp + 0x300], 0
call fcn.004584d6
mov dword [esp + 0x300], 0xffffffff
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f99
xor eax, eax
jmp 0x41b1c5