Function at 0x46e280
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x210
mov eax, dword [esp + 0x214]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x14], 1
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov edi, str.maps.map
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x46e2d0
test cl, cl
je 0x46e2cc
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x46e2d0
add eax, 2
add edi, 2
test cl, cl
jne 0x46e2ac
xor eax, eax
jmp 0x46e2d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46e2e4
mov edi, 1
mov dword [esp + 0x10], edi
jmp 0x46e2e8
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 1
jne 0x46e301
mov eax, dword [esp + 0x88]
jmp 0x46e30d
cmp eax, 2
jne 0x46e314
mov eax, dword [esp + 0xdc]
neg eax
cdq
mov ebp, eax
mov ebx, edx
push 0
push 0x23c34600
push ebx
push ebp
call fcn.0057afc0
mov ebx, eax
lea eax, [esi + 0xb0]
push eax
push 0
push 0x9c40
mov ecx, 0xf01790
mov ebp, edx
mov dword [esi], 0
call fcn.0046c680
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0xe0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x46e5d6
mov eax, dword [esi]
cmp eax, 0x1f4
jge 0x46e4c3
lea eax, [eax + eax*8]
lea ecx, [esi + eax*8]
lea edx, [eax + ecx + 0xb0]
lea eax, [esp + 0x10c]
push edx
push eax
mov ecx, 0xf01790
call fcn.0046ccf0
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf8]
add ecx, ebx
lea eax, [esp + 0x1c]
adc edx, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
and eax, 0xffff
shl eax, 0x10
and ecx, 0xffff
add eax, ecx
test edi, edi
mov dword [esi + edx*4 + 0xa53c], eax
je 0x46e49a
mov eax, dword [esi]
push 7
push str.mission
lea eax, [eax + eax*8]
lea ecx, [esi + eax*8]
lea edx, [eax + ecx + 0xb0]
push edx
call fcn.005860b0
add esp, 0xc
test eax, eax
jne 0x46e49a
mov eax, dword [esi]
lea eax, [eax + eax*8]
lea ecx, [esi + eax*8]
add eax, ecx
mov cl, byte [eax + 0xb7]
cmp cl, 0x30
jl 0x46e49a
cmp cl, 0x39
jg 0x46e49a
cmp cl, 0x31
jne 0x46e444
mov cl, byte [eax + 0xb8]
cmp cl, 0x30
jl 0x46e47a
cmp cl, 0x39
jg 0x46e47a
jmp 0x46e470
cmp cl, 0x32
jne 0x46e45b
mov cl, byte [eax + 0xb8]
cmp cl, 0x30
jl 0x46e47a
cmp cl, 0x31
jg 0x46e47a
jmp 0x46e470
cmp cl, 0x33
mov cl, byte [eax + 0xb8]
jne 0x46e480
cmp cl, 0x33
jl 0x46e47a
cmp cl, 0x37
jg 0x46e47a
mov dl, byte [eax + 0xb9]
test dl, dl
je 0x46e484
test cl, cl
jne 0x46e49a
jmp 0x46e484
test cl, cl
jne 0x46e49a
add eax, 0xb0
mov ecx, 0xf01790
push eax
push 0
push 0x50
call fcn.0046c680
dec dword [esi]
mov ecx, dword [esi]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xe0]
inc ecx
push edx
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x46e4c3
mov eax, dword [esi]
cmp eax, 0x1f4
jl 0x46e374
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46e566
mov eax, 1
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
xor edi, edi
cmp ecx, edi
je 0x46e5cb
mov ecx, dword [esi]
mov dword [esp + 0x14], edi
sub ecx, eax
test ecx, ecx
jle 0x46e54d
lea ebx, [esi + 0x101]
mov cl, byte [ebx - 0x51]
lea eax, [ebx - 0x51]
test cl, cl
je 0x46e54d
cmp byte [ebx], 0
je 0x46e54d
lea edx, [esp + 0x30]
push edx
push eax
call fcn.00471a50
mov ebp, eax
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.00471a50
push eax
push ebp
call fcn.0057b340
add esp, 0x18
test eax, eax
jle 0x46e53d
push edi
mov ecx, esi
call fcn.0046e5f0
mov dword [esp + 0x14], 1
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
inc edi
sub ecx, edx
add ebx, 0x51
cmp edi, ecx
jl 0x46e4f8
mov eax, dword [esp + 0x10]
mov edx, eax
inc eax
cmp edx, 0x1f4
mov dword [esp + 0x10], eax
jl 0x46e4d8
jmp 0x46e5cb
mov ebp, 1
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
je 0x46e5cb
mov eax, dword [esi]
mov dword [esp + 0x14], edi
sub eax, ebp
test eax, eax
jle 0x46e5c0
lea ebx, [esi + 0xb0]
cmp byte [ebx], 0
je 0x46e5c0
mov cl, byte [ebx + 0x51]
lea eax, [ebx + 0x51]
test cl, cl
je 0x46e5c0
push eax
push ebx
call fcn.0057b340
add esp, 8
test eax, eax
jle 0x46e5b4
push edi
mov ecx, esi
call fcn.0046e5f0
mov dword [esp + 0x14], 1
mov ecx, dword [esi]
inc edi
sub ecx, ebp
add ebx, 0x51
cmp edi, ecx
jl 0x46e587
mov edx, ebp
inc ebp
cmp edx, 0x1f4
jl 0x46e56b
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4