Function at 0x433d90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444c53
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x474630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x300], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041c660
push 0xc
push str.dataMAPS
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.0040cb40
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0x1e0]
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x2e8], eax
cmp eax, 0xffffffff
jne 0x433e40
push str.Terrain::LoadTerrain
push str.FUNC:__s____MSG:_MKME:_ERROR:_Could_not_FindFirstFile_on_world_load_
call fcn.00405f50
add esp, 8
mov byte [ebp - 0x2e1], 0
jmp 0x4344b3
test byte [ebp - 0x1e0], 0x10
jne 0x434466
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x5c], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433e70
sub ecx, edx
lea eax, [ebp - 0x1b4]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00401580
cmp dword [ebp - 0x5c], 0x10
lea esi, [ebp - 0x70]
mov edi, dword [ebp - 0x60]
cmovae esi, dword [ebp - 0x70]
setae byte [ebp - 0x2e1]
mov byte [ebp - 4], 1
test edi, edi
je 0x433ef8
push pe_nt_image_headers32
lea eax, [ebp - 0x2e0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [ebp - 0x2b2], 1
lea ecx, [edi - 1]
add esp, 0xc
cmp ecx, eax
cmovb eax, ecx
movzx ecx, byte [eax + esi]
add eax, esi
mov cl, byte [ebp + ecx - 0x2e0]
test cl, cl
jne 0x433ef4
nop
cmp eax, esi
je 0x433ef8
movzx ecx, byte [eax - 1]
dec eax
mov cl, byte [ebp + ecx - 0x2e0]
test cl, cl
je 0x433ee0
sub eax, esi
jmp 0x433efb
or eax, 0xffffffff
lea edx, [eax + 1]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp edi, edx
jb 0x434517
sub edi, edx
lea eax, [ebp - 0x70]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp byte [ebp - 0x2e1], 0
push ecx
cmovne eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x88]
add eax, edx
push eax
call fcn.00401580
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x433f7a
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x433f70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344df
push ecx
push edx
call fcn.00441da8
add esp, 8
movups xmm1, xmmword [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x70]
mov edi, dword [ebp - 0x78]
mov edx, 0x450a00
movq xmm0, qword [ebp - 0x78]
mov esi, edi
movd eax, xmm1
movups xmmword [ebp - 0x70], xmm1
cmovae ecx, eax
movq qword [ebp - 0x60], xmm0
cmp edi, 3
mov eax, 3
cmova esi, eax
sub esi, 4
jb 0x433fc8
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x433fcd
add ecx, 4
add edx, 4
sub esi, 4
jae 0x433fb7
cmp esi, 0xfffffffc
je 0x434001
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x433ffa
cmp esi, 0xfffffffd
je 0x434001
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x433ffa
cmp esi, 0xfffffffe
je 0x434001
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x433ffa
cmp esi, 0xffffffff
je 0x434001
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x434001
sbb eax, eax
or eax, 1
jmp 0x434003
xor eax, eax
mov esi, 3
test eax, eax
jne 0x434428
cmp edi, esi
jae 0x434019
or eax, 0xffffffff
jmp 0x43401f
cmp esi, edi
sbb eax, eax
neg eax
test eax, eax
jne 0x434428
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434040
sub ecx, edx
lea eax, [ebp - 0x1b4]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00401580
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 2
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
lea ecx, [eax - 1]
mov dword [ebp - 0x74], 0
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00401580
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
cmp eax, 2
jb 0x434517
add eax, 0xfffffffe
mov ecx, esi
cmp eax, 3
cmovb ecx, eax
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
add eax, 2
lea ecx, [ebp - 0x40]
push eax
call fcn.00401580
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x2ec], eax
cmp ecx, 0x10
jb 0x43413d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x434133
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344df
push ecx
push edx
call fcn.00441da8
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
cmp eax, 6
jb 0x434517
add eax, 0xfffffffa
mov ecx, 3
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
add eax, 6
lea ecx, [ebp - 0x40]
push eax
call fcn.00401580
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x2f0], eax
cmp ecx, 0x10
jb 0x4341ce
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4341c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344df
push ecx
push edx
call fcn.00441da8
add esp, 8
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0x78]
cmovae ecx, eax
setae byte [ebp - 0x2e2]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f8], ecx
cmp edi, 0x7fffffff
ja 0x434512
cmp edi, 0x10
jae 0x434230
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0xf
movups xmmword [ebp - 0x58], xmm0
jmp 0x434277
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x434244
mov esi, 0x7fffffff
jmp 0x43424f
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040cae0
lea ecx, [edi + 1]
mov dword [ebp - 0x58], eax
push ecx
push dword [ebp - 0x2f8]
mov dword [ebp - 0x48], edi
push eax
mov dword [ebp - 0x44], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 4
call fcn.0040cb40
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2ec]
push str.Terrain::LoadTerrain
push str.FUNC:__s____MSG:_Terrain:_Loading_KCM__d____d_:__s
call fcn.00405f50
cmp dword [ebp - 0x44], 0x10
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
setae byte [ebp - 0x2e1]
push ecx
mov edi, esp
mov dword [ebp - 0x2f0], esi
lea ecx, [ebp - 0x58]
cmovae ecx, esi
mov dword [ebp - 0x2ec], ecx
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp eax, 0x7fffffff
ja 0x434512
mov dword [edi + 0x14], 0xf
cmp eax, 0x10
jae 0x434318
push 0x10
push ecx
push edi
mov dword [edi + 0x10], eax
call sub.VCRUNTIME140.dll_memmove
jmp 0x434361
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x43432c
mov esi, 0x7fffffff
jmp 0x434337
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
lea eax, [esi + 1]
mov ecx, edi
push eax
call fcn.0040cae0
mov ecx, dword [ebp - 0x48]
mov dword [edi + 0x10], ecx
inc ecx
push ecx
push dword [ebp - 0x2ec]
mov dword [edi], eax
push eax
mov dword [edi + 0x14], esi
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x300]
add esp, 0xc
push dword [ebp + 0xc]
push dword [ebp - 0x2fc]
call fcn.00433c20
cmp byte [ebp - 0x2e1], 0
mov byte [ebp - 4], 3
je 0x4343b1
mov ecx, dword [ebp - 0x44]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x4343a7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344df
push ecx
push esi
call fcn.00441da8
add esp, 8
cmp byte [ebp - 0x2e2], 0
mov byte [ebp - 4], 2
je 0x4343f0
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x2f4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4343e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344df
push ecx
push edx
call fcn.00441da8
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x434428
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43441e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344df
push ecx
push edx
call fcn.00441da8
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x434460
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x434456
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344df
push ecx
push edx
call fcn.00441da8
add esp, 8
mov eax, dword [ebp - 0x2e8]
lea ecx, [ebp - 0x1e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x434483
mov eax, dword [ebp - 0x2e8]
jmp 0x433e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x4344a0
push str.Terrain::LoadTerrain
push str.FUNC:__s____MSG:_MKME:_ERROR:_Found_more_files_then_expected_on_world_load_
call fcn.00405f50
add esp, 8
push dword [ebp - 0x2e8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2e1], 1
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x4344ef
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4344e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4344e5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00441da8
add esp, 8
mov al, byte [ebp - 0x2e1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442210
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040cac0
call fcn.0040cad0
int3