Function at 0x667040
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x3cc
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], vtable.GenericNode.0
call fcn.0040e160
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x20], vtable.GenericList.0
call fcn.0040e180
mov edx, dword [ebp + 0x640]
add ebp, 0x640
mov ecx, ebp
mov dword [esp + 0x1c], vtable.List_struct_INIClass::INISection__.0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], vtable.INIClass.0
call dword [edx + 0xc]
push str.MISSIONS.PKT
lea ecx, [esp + 0x58]
call fcn.00468b70
push esi
lea ecx, [esp + 0x58]
call fcn.00468dc0
test al, al
je 0x6671a3
lea eax, [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.0050aee0
push str.MultiMaps
lea ecx, [esp + 0x1c]
call fcn.0050be00
mov ebx, eax
xor edi, edi
cmp ebx, esi
jle 0x6671a3
jmp 0x667104
xor esi, esi
lea ecx, [esp + 0xb8]
push 0x40
push ecx
push 0x824884
push edi
push str.MultiMaps
lea ecx, [esp + 0x2c]
call fcn.0050c100
push eax
push str.MultiMaps
lea ecx, [esp + 0x2c]
call fcn.0050dca0
test eax, eax
je 0x667198
push 0x1bc
call fcn.0076d5a7
add esp, 4
cmp eax, esi
je 0x66715c
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.00667970
mov esi, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jl 0x667189
mov al, byte [ebp + 0xd]
test al, al
jne 0x667171
test ecx, ecx
jne 0x667198
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x667198
mov edx, dword [ebp]
add eax, ecx
push 0
push eax
mov ecx, ebp
call dword [edx + 8]
test al, al
je 0x667198
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 4]
lea ecx, [eax + 1]
mov dword [ebp + 0x10], ecx
mov dword [edx + eax*4], esi
inc edi
cmp edi, ebx
jl 0x667102
xor esi, esi
push esi
push esi
lea ecx, [esp + 0x20]
call fcn.0050aca0
lea ecx, [esp + 0x54]
call fcn.00468e10
lea eax, [esp + 0x118]
push eax
push str..PKT
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
je 0x66731a
test dword [esp + 0x118], 0x116
jne 0x6672fa
lea edi, [esp + 0x248]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x66720b
lea esi, [esp + 0x144]
push str.MISSIONS.PKT
push esi
call fcn.0076d4b0
add esp, 8
test eax, eax
je 0x6672fa
push esi
lea ecx, [esp + 0x58]
call fcn.0046fd50
lea ecx, [esp + 0x54]
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.0050aee0
push str.MultiMaps
lea ecx, [esp + 0x1c]
call fcn.0050be00
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x6672f6
lea edx, [esp + 0xb8]
push 0x40
push edx
push 0x824884
push edi
push str.MultiMaps
lea ecx, [esp + 0x2c]
call fcn.0050c100
push eax
push str.MultiMaps
lea ecx, [esp + 0x2c]
call fcn.0050dca0
test eax, eax
je 0x6672ed
push 0x1bc
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x6672af
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.00667970
mov esi, eax
jmp 0x6672b1
xor esi, esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jl 0x6672de
mov al, byte [ebp + 0xd]
test al, al
jne 0x6672c6
test ecx, ecx
jne 0x6672ed
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x6672ed
mov edx, dword [ebp]
add eax, ecx
push 0
push eax
mov ecx, ebp
call dword [edx + 8]
test al, al
je 0x6672ed
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 4]
lea ecx, [eax + 1]
mov dword [ebp + 0x10], ecx
mov dword [edx + eax*4], esi
inc edi
cmp edi, ebx
jl 0x667255
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x118]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x6671d9
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
push esi
push esi
lea ecx, [esp + 0x20]
call fcn.0050aca0
lea ecx, [esp + 0x54]
call fcn.00468e10
lea ecx, [esp + 0x118]
push ecx
push str..MMX
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [0x7bd078]
mov esi, eax
mov ecx, 0xfffffffe
mov dword [esp + 0x10], esi
mov dword [esp + 0x50], edx
call fcn.0046e0d0
cmp esi, 0xffffffff
je 0x6675c8
test dword [esp + 0x118], 0x116
jne 0x6675ad
lea edi, [esp + 0x248]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], esi
jne 0x6673a0
lea eax, [esp + 0x144]
mov dword [esp + 0x14], eax
mov esi, eax
push str.MISSIONS.MMX
push esi
call fcn.0076d4b0
add esp, 8
test eax, eax
je 0x6675ad
push 0x28
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x6675ad
push 0x821330
push esi
mov ecx, eax
call fcn.00591fa0
mov edi, eax
test edi, edi
je 0x6675ad
mov eax, dword [0x81f7a8]
mov ecx, dword [0x81f7b0]
cmp ecx, eax
jl 0x66741d
mov cl, byte [0x81f7ad]
test cl, cl
jne 0x6673fc
test eax, eax
jne 0x667435
mov ecx, dword [0x81f7b4]
test ecx, ecx
jle 0x667435
mov edx, dword [0x81f7a0]
add eax, ecx
push 0
push eax
mov ecx, 0x81f7a0
call dword [edx + 8]
test al, al
je 0x667435
mov ecx, dword [0x81f7b0]
mov eax, ecx
inc ecx
mov dword [0x81f7b0], ecx
mov ecx, dword [0x81f7a4]
mov dword [ecx + eax*4], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x258]
mov ebx, ecx
lea edx, [ebx - 3]
push edx
push esi
push eax
call fcn.0076d960
mov edi, 0x7dd3bc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x264]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + ebx + 0x261], 0
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + ebx + 0x264], al
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x264]
push eax
push ecx
push str.::::_Looking_for__s_inside__s_n
call fcn.004068f0
add esp, 0x18
lea edx, [esp + 0x258]
lea ecx, [esp + 0x54]
push edx
call fcn.0046fd50
push 0
lea ecx, [esp + 0x58]
call fcn.00468dc0
test al, al
je 0x6675a0
lea eax, [esp + 0x54]
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.0050aee0
push str.MultiMaps
lea ecx, [esp + 0x1c]
call fcn.0050be00
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x6675ad
lea ecx, [esp + 0xb8]
push 0x40
push ecx
push 0x824884
push edi
push str.MultiMaps
lea ecx, [esp + 0x2c]
call fcn.0050c100
push eax
push str.MultiMaps
lea ecx, [esp + 0x2c]
call fcn.0050dca0
test eax, eax
je 0x667595
push 0x1bc
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x667557
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.00667970
mov esi, eax
jmp 0x667559
xor esi, esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jl 0x667586
mov al, byte [ebp + 0xd]
test al, al
jne 0x66756e
test ecx, ecx
jne 0x667595
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x667595
mov edx, dword [ebp]
add eax, ecx
push 0
push eax
mov ecx, ebp
call dword [edx + 8]
test al, al
je 0x667595
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 4]
lea ecx, [eax + 1]
mov dword [ebp + 0x10], ecx
mov dword [edx + eax*4], esi
inc edi
cmp edi, ebx
jl 0x6674fd
jmp 0x6675ad
push str.Cant_see_.pkt_inside_.mmx__n
call fcn.004068f0
add esp, 4
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x118]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x667364
mov ecx, dword [esp + 0x50]
call fcn.0046e0d0
cmp esi, 0xffffffff
je 0x6675dd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0
lea ecx, [esp + 0x20]
call fcn.0050aca0
lea ecx, [esp + 0x54]
call fcn.00468e10
lea ecx, [esp + 0x118]
push ecx
push str..MPR
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x66775d
test dword [esp + 0x118], 0x116
jne 0x66773b
lea edi, [esp + 0x248]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x667645
lea ebx, [esp + 0x144]
push ebx
lea ecx, [esp + 0x58]
call fcn.0046fd50
lea edx, [esp + 0x54]
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.0050aee0
lea eax, [esp + 0xb8]
push 0x40
push eax
push str.No_Name
push str.Name
push str.Basic
lea ecx, [esp + 0x2c]
call fcn.0050dca0
lea ecx, [esp + 0xf8]
push 0x20
push ecx
push str.No_Digest
push 0x7dcb10
push str.Digest
lea ecx, [esp + 0x2c]
call fcn.0050dca0
push 0xffffffffffffffff
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x360]
call fcn.006eec10
push 0x1bc
call fcn.0076d5a7
mov esi, eax
add esp, 4
test esi, esi
je 0x6676fd
push 0
push str.Official
push str.Basic
lea ecx, [esp + 0x24]
call fcn.0050e710
push eax
lea edx, [esp + 0xfc]
lea eax, [esp + 0x360]
push edx
push eax
push ebx
mov ecx, esi
call fcn.00667ed0
mov esi, eax
jmp 0x6676ff
xor esi, esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jl 0x66772c
mov al, byte [ebp + 0xd]
test al, al
jne 0x667714
test ecx, ecx
jne 0x66773b
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x66773b
mov edx, dword [ebp]
add eax, ecx
push 0
push eax
mov ecx, ebp
call dword [edx + 8]
test al, al
je 0x66773b
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 4]
lea ecx, [eax + 1]
mov dword [ebp + 0x10], ecx
mov dword [edx + eax*4], esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x118]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x667613
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x54], vtable.CCFileClass.0
mov dword [esp + 0xb4], 0
call fcn.00438290
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], vtable.CDFileClass.0
call fcn.0042f250
lea ecx, [esp + 0x18]
call fcn.0050abd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3cc
ret