Function at 0x45dc30
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x10], 1
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov edi, str.maps.map
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x45dc80
test cl, cl
je 0x45dc7c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x45dc80
add eax, 2
add edi, 2
test cl, cl
jne 0x45dc5c
xor eax, eax
jmp 0x45dc85
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x45dc94
mov edi, 1
mov dword [esp + 0x18], edi
jmp 0x45dc98
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 1
jne 0x45dcb1
mov eax, dword [esp + 0x80]
jmp 0x45dcbd
cmp eax, 2
jne 0x45dcc4
mov eax, dword [esp + 0xd4]
neg eax
cdq
mov ebp, eax
mov ebx, edx
push 0
push 0x23c34600
push ebx
push ebp
call fcn.0052e340
mov ebx, eax
lea eax, [esi + 0xb0]
push eax
push 0
push 0x9c40
mov ecx, 0xc75780
mov ebp, edx
mov dword [esi], 0
call fcn.0045c4f0
mov edx, dword [esp + 0x21c]
lea ecx, [esp + 0xd8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x45df61
mov eax, dword [esi]
cmp eax, 0x1f4
jge 0x45de73
lea eax, [eax + eax*8]
lea ecx, [esi + eax*8]
lea edx, [eax + ecx + 0xb0]
lea eax, [esp + 0x104]
push edx
push eax
mov ecx, 0xc75780
call fcn.0045cb60
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
add ecx, ebx
lea eax, [esp + 0x20]
adc edx, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
and eax, 0xffff
shl eax, 0x10
and ecx, 0xffff
add eax, ecx
test edi, edi
mov dword [esi + edx*4 + 0xa4ec], eax
je 0x45de4a
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.00539470
add esp, 0xc
test eax, eax
jne 0x45de4a
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 0x45de4a
cmp cl, 0x39
jg 0x45de4a
cmp cl, 0x31
jne 0x45ddf4
mov cl, byte [eax + 0xb8]
cmp cl, 0x30
jl 0x45de2a
cmp cl, 0x39
jg 0x45de2a
jmp 0x45de20
cmp cl, 0x32
jne 0x45de0b
mov cl, byte [eax + 0xb8]
cmp cl, 0x30
jl 0x45de2a
cmp cl, 0x31
jg 0x45de2a
jmp 0x45de20
cmp cl, 0x33
mov cl, byte [eax + 0xb8]
jne 0x45de30
cmp cl, 0x33
jl 0x45de2a
cmp cl, 0x37
jg 0x45de2a
mov dl, byte [eax + 0xb9]
test dl, dl
je 0x45de34
test cl, cl
jne 0x45de4a
jmp 0x45de34
test cl, cl
jne 0x45de4a
add eax, 0xb0
mov ecx, 0xc75780
push eax
push 0
push 0x50
call fcn.0045c4f0
dec dword [esi]
mov ecx, dword [esi]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xd8]
inc ecx
push edx
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x45de73
mov eax, dword [esi]
cmp eax, 0x1f4
jl 0x45dd24
mov eax, dword [esp + 0x18]
mov ebp, 1
test eax, eax
je 0x45def7
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
je 0x45df56
mov ecx, dword [esi]
mov dword [esp + 0x10], edi
sub ecx, ebp
test ecx, ecx
jle 0x45deeb
lea ebx, [esi + 0xb0]
cmp byte [ebx], 0
je 0x45deeb
mov cl, byte [ebx + 0x51]
lea eax, [ebx + 0x51]
test cl, cl
je 0x45deeb
push eax
call fcn.00460bd0
add esp, 4
push eax
push ebx
call fcn.00460bd0
add esp, 4
push eax
call fcn.00539340
add esp, 8
test eax, eax
jle 0x45dedf
push edi
mov ecx, esi
call fcn.0045df70
mov dword [esp + 0x10], 1
mov edx, dword [esi]
inc edi
sub edx, ebp
add ebx, 0x51
cmp edi, edx
jl 0x45dea0
mov eax, ebp
inc ebp
cmp eax, 0x1f4
jl 0x45de80
jmp 0x45df56
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
je 0x45df56
mov ecx, dword [esi]
mov dword [esp + 0x10], edi
sub ecx, ebp
test ecx, ecx
jle 0x45df4c
lea ebx, [esi + 0xb0]
cmp byte [ebx], 0
je 0x45df4c
mov cl, byte [ebx + 0x51]
lea eax, [ebx + 0x51]
test cl, cl
je 0x45df4c
push eax
push ebx
call fcn.00539340
add esp, 8
test eax, eax
jle 0x45df40
push edi
mov ecx, esi
call fcn.0045df70
mov dword [esp + 0x10], 1
mov edx, dword [esi]
inc edi
sub edx, ebp
add ebx, 0x51
cmp edi, edx
jl 0x45df13
mov eax, ebp
inc ebp
cmp eax, 0x1f4
jl 0x45def7
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4