Function at 0x10005b50
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007be28
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1f4], edi
mov dword [ebp - 0x1ec], 0
mov eax, 0x7fffffff
mov edx, dword [edi + 0x10]
sub eax, edx
cmp eax, 1
jb 0x10006bab
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10005bac
mov eax, dword [edi]
push 1
push 0x10087554
push edx
push eax
push ecx
push dword [ebp - 0x1f0]
lea ecx, [ebp - 0xa0]
call fcn.10008d20
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0x1e0]
lea eax, [ebp - 0xa0]
mov esi, 0x400
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x1f0], eax
cmp edx, 0x10
jb 0x10005c36
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005c26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005c26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
mov eax, dword [ebp - 0x1f0]
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp eax, 0xffffffff
je 0x10006b8b
nop word [eax + eax]
test byte [ebp - 0x1e0], 0x10
je 0x10005e22
mov ecx, 0x100875d4
lea eax, [ebp - 0x1b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005c98
test dl, dl
je 0x10005c94
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005c98
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005c78
xor eax, eax
jmp 0x10005c9d
sbb eax, eax
or eax, 1
test eax, eax
je 0x10006b70
mov ecx, 0x100875d8
lea eax, [ebp - 0x1b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005cd0
test dl, dl
je 0x10005ccc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005cd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005cb0
xor eax, eax
jmp 0x10005cd5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10006b70
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x1b4]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005cf0
mov eax, 0x7fffffff
sub ecx, edi
sub eax, edx
cmp eax, ecx
jb 0x10006bab
mov edi, dword [ebp - 0x1f4]
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x10005d18
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x1b4]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1f0]
lea ecx, [ebp - 0x28]
call fcn.10008d20
or esi, 0x800
push 0x100875dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10007a20
mov dword [ebp - 0x58], 0
or esi, 0x1000
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10005b50
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10005dcc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005dc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x10006b70
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005e13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
jmp 0x10006b70
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x1b4]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005e30
mov eax, 0x7fffffff
sub ecx, edi
sub eax, edx
cmp eax, ecx
jb 0x10006bab
mov edi, dword [ebp - 0x1f4]
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x10005e58
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x1b4]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1f0]
lea ecx, [ebp - 0x70]
call fcn.10008d20
or esi, 0x2000
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 4
mov dword [ebp - 0x28], 0
push str..tga
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004a90
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
or esi, 1
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
test al, al
jne 0x10005f1b
push 4
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str..dds
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10004a90
mov dword [ebp - 4], 4
lea edx, [ebp - 0x40]
or esi, 2
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
mov byte [ebp - 0x1e1], 1
test al, al
je 0x10005f22
mov byte [ebp - 0x1e1], 0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1e8]
test al, 2
je 0x10005f76
mov edx, dword [ebp - 0x2c]
and eax, 0xfffffffd
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x10005f76
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005f66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
mov eax, dword [ebp - 0x1e8]
add esp, 8
mov dword [ebp - 4], 2
test al, 1
je 0x10005fbe
mov edx, dword [ebp - 0x14]
and eax, 0xfffffffe
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x10005fbe
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005fb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
cmp byte [ebp - 0x1e1], 0
je 0x1000600d
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10006002
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005ff8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov esi, dword [ebp - 0x1e8]
jmp 0x10006b5e
push 0
push str._textures_src_
lea ecx, [ebp - 0x70]
call fcn.10007910
push 0xe
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._textures_src_
mov esi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004a90
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x60]
add edx, esi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp eax, edx
jb 0x10006ba6
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
add eax, edx
lea ecx, [ebp - 0x58]
push eax
call fcn.10004a90
mov esi, dword [ebp - 0x1e8]
or esi, 0x4000
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100060d9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100060cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
push 0xc
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str._diffuse.tga
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10004a90
mov byte [ebp - 4], 8
lea edx, [ebp - 0x40]
or esi, 4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
test al, al
jne 0x10006176
push 0xc
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._diffuse.dds
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10004a90
mov dword [ebp - 4], 9
lea edx, [ebp - 0x28]
or esi, 8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
mov byte [ebp - 0x1e1], 0
test al, al
je 0x1000617d
mov byte [ebp - 0x1e1], 1
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1e8]
test al, 8
je 0x100061d1
mov edx, dword [ebp - 0x14]
and eax, 0xfffffff7
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x100061d1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100061c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
mov eax, dword [ebp - 0x1e8]
add esp, 8
mov dword [ebp - 4], 7
test al, 4
je 0x10006219
mov edx, dword [ebp - 0x2c]
and eax, 0xfffffffb
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x10006219
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000620f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
cmp byte [ebp - 0x1e1], 0
je 0x1000634b
push 0xc
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._diffuse.xxx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004a90
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp - 0x18]
cmp eax, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
cmovb ecx, eax
mov dword [ebp - 0x2c], 0xf
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 0x40], 0
call fcn.10004a90
mov esi, dword [ebp - 0x1e8]
or esi, 0x18000
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
call fcn.100077f0
lea ecx, [ebp - 0x70]
cmp eax, ecx
je 0x100062c0
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.10004a90
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100062f8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100062ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x10006aeb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000633c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
jmp 0x10006aeb
push 0xd
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str._specular.tga
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10004a90
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x40]
mov esi, dword [ebp - 0x1e8]
lea ecx, [ebp - 0x58]
or esi, 0x10
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
test al, al
jne 0x100063ee
push 0xd
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._specular.dds
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10004a90
mov dword [ebp - 4], 0xd
lea edx, [ebp - 0x28]
or esi, 0x20
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
mov byte [ebp - 0x1e1], 0
test al, al
je 0x100063f5
mov byte [ebp - 0x1e1], 1
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x1e8]
test al, 0x20
je 0x10006449
mov edx, dword [ebp - 0x14]
and eax, 0xffffffdf
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x10006449
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006439
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
mov eax, dword [ebp - 0x1e8]
add esp, 8
mov dword [ebp - 4], 7
test al, 0x10
je 0x10006491
mov edx, dword [ebp - 0x2c]
and eax, 0xffffffef
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x10006491
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
cmp byte [ebp - 0x1e1], 0
je 0x100065c4
push 0xd
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._specular.xxx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004a90
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp - 0x18]
cmp eax, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
cmovb ecx, eax
mov dword [ebp - 0x2c], 0xf
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 0x40], 0
call fcn.10004a90
mov esi, dword [ebp - 0x1e8]
or esi, 0x60000
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xf
push eax
call fcn.100077f0
lea ecx, [eax + 0x30]
lea eax, [ebp - 0x70]
cmp ecx, eax
je 0x10006539
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.10004a90
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10006571
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x10006aeb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100065b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
jmp 0x10006aeb
push 0xb
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str._normal.tga
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10004a90
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x40]
mov esi, dword [ebp - 0x1e8]
lea ecx, [ebp - 0x58]
or esi, 0x40
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
test al, al
jne 0x1000666a
push 0xb
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._normal.dds
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10004a90
mov dword [ebp - 4], 0x11
lea edx, [ebp - 0x28]
or esi, 0x80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
mov byte [ebp - 0x1e1], 0
test al, al
je 0x10006671
mov byte [ebp - 0x1e1], 1
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x1e8]
test al, al
jns 0x100066c7
mov edx, dword [ebp - 0x14]
and eax, 0xffffff7f
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x100066c7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100066b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
mov eax, dword [ebp - 0x1e8]
add esp, 8
mov dword [ebp - 4], 7
test al, 0x40
je 0x1000670f
mov edx, dword [ebp - 0x2c]
and eax, 0xffffffbf
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x1000670f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006705
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
cmp byte [ebp - 0x1e1], 0
je 0x10006842
push 0xb
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._normal.xxx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004a90
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp - 0x18]
cmp eax, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
cmovb ecx, eax
mov dword [ebp - 0x2c], 0xf
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 0x40], 0
call fcn.10004a90
mov esi, dword [ebp - 0x1e8]
or esi, 0x180000
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
call fcn.100077f0
lea ecx, [eax + 0x18]
lea eax, [ebp - 0x70]
cmp ecx, eax
je 0x100067b7
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.10004a90
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100067ef
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100067e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x10006aeb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006833
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
jmp 0x10006aeb
push 9
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x88]
push str._glow.tga
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.10004a90
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x88]
mov esi, dword [ebp - 0x1e8]
lea ecx, [ebp - 0x58]
or esi, 0x100
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
test al, al
jne 0x100068f7
push 9
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._glow.dds
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10004a90
mov dword [ebp - 4], 0x15
lea edx, [ebp - 0x28]
or esi, 0x200
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1ec], esi
call fcn.10005a00
mov byte [ebp - 0x1e1], 0
test al, al
je 0x100068fe
mov byte [ebp - 0x1e1], 1
mov dword [ebp - 4], 0x14
mov eax, dword [ebp - 0x1e8]
test eax, 0x200
je 0x10006957
mov edx, dword [ebp - 0x14]
and eax, 0xfffffdff
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x10006957
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
mov eax, dword [ebp - 0x1e8]
add esp, 8
mov dword [ebp - 4], 7
test eax, 0x100
je 0x100069a7
mov edx, dword [ebp - 0x74]
and eax, 0xfffffeff
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x100069a7
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000699d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
cmp byte [ebp - 0x1e1], 0
je 0x10006ae5
push 9
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str._glow.xxx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004a90
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp - 0x18]
cmp eax, ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
cmovb ecx, eax
mov dword [ebp - 0x74], 0xf
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x88]
push eax
mov byte [ebp - 0x88], 0
call fcn.10004a90
mov esi, dword [ebp - 0x1e8]
or esi, 0x600000
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x17
push eax
call fcn.100077f0
lea ecx, [eax + 0x48]
lea eax, [ebp - 0x70]
cmp ecx, eax
je 0x10006a5b
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.10004a90
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x10006a96
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006a8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x10006aeb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006ad9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
jmp 0x10006aeb
mov esi, dword [ebp - 0x1e8]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10006b23
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006b19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10006b5e
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006b54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c20
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x1e0]
push eax
push dword [ebp - 0x1f0]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10005c60
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.1004d763
mov esp, ebp
pop ebp
ret
call fcn.10007ea0
call fcn.10002c90
int3