Function at 0x525af0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ed408
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x460], edi
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + str.c:MP_Project_]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1a4e677], al
test al, al
jne 0x525b30
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.c:MP_Project_]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x115], al
test al, al
jne 0x525b50
lea ecx, [ebp - 0x114]
dec ecx
nop dword [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x525b70
mov eax, dword [str.GuildBMP.BMP]
mov dword [ecx], eax
mov eax, dword [0x709f98]
mov dword [ecx + 4], eax
mov eax, dword [0x709f9c]
mov dword [ecx + 8], eax
mov eax, dword [0x709fa0]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x46c], esi
cmp esi, 0xffffffff
jne 0x525c18
push 0x7f4
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x46c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x525be1
mov ecx, eax
call fcn.00486c20
jmp 0x525be3
xor eax, eax
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esp + 4], 0x43480000
mov dword [esp], 0x43780000
push 0
push 0x8961c8
call fcn.004871c0
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x64]
jmp 0x525f7c
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.c:MP_Project_]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x115], al
test al, al
jne 0x525c20
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
nop word [eax + eax]
test byte [ebp - 0x45c], 0x10
lea eax, [ebp - 0x430]
push eax
je 0x525ca1
lea eax, [ebp - 0x218]
push str.___s__
push eax
call ebx
lea edx, [ebp - 0x218]
add esp, 0xc
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x525c70
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x525c80
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x460]
jmp 0x525f44
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push str._sGuildBMP_s
push eax
call ebx
push 0x110
mov dword [ebp - 0x464], 0
call fcn.006df8c3
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x468], esi
test esi, esi
je 0x525cfc
mov byte [esi], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
jmp 0x525cfe
xor esi, esi
push 0x18
mov dword [ebp - 0x468], esi
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x470], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x525d28
mov ecx, eax
call fcn.00525080
jmp 0x525d2a
xor eax, eax
push 0x28
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x10c], eax
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x474], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x525d5b
mov ecx, eax
call fcn.005b7ab0
jmp 0x525d5d
xor eax, eax
push 0x118
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x104], eax
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x478], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x525d91
mov ecx, eax
call fcn.00662800
jmp 0x525d93
xor eax, eax
lea ecx, [ebp - 0x430]
mov dword [esi + 0x108], eax
mov edx, esi
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
sub edx, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x525db0
mov ecx, dword [esi + 0x10c]
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005250e0
test eax, eax
jne 0x525ebf
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x31c]
push 0x8965c8
push eax
call fcn.0044f6e0
push 0x7f4
call fcn.006df8c3
add esp, 0x10
mov dword [ebp - 0x47c], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x525e1d
mov ecx, eax
call fcn.00486c20
jmp 0x525e1f
xor eax, eax
sub esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31c]
mov dword [esp + 4], 0x43480000
mov dword [esp], 0x43780000
push 0
push ecx
mov ecx, eax
call fcn.004871c0
mov ecx, dword [esi + 0x10c]
mov byte [esi], 0
test ecx, ecx
je 0x525e65
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x10c], 0
mov edi, dword [esi + 0x104]
test edi, edi
je 0x525e8b
mov ecx, edi
call fcn.00480f00
push 0x28
push edi
call fcn.006df8f3
add esp, 8
mov dword [esi + 0x104], 0
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x525ea6
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x108], 0
push 0x110
push esi
call fcn.006df8f3
mov edi, dword [ebp - 0x460]
add esp, 8
jmp 0x525f44
mov ecx, dword [edi + 0x2d0]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ecx]
push esi
call dword [eax + 0x134]
mov ecx, dword [esi + 0x108]
push 1
push 0x17
push 0
push 0x10
push 0x20
call fcn.00662d50
push dword [ebp - 0x464]
mov ecx, dword [esi + 0x108]
push 0xc
push 0x12
call fcn.00663920
push dword [esi + 0x108]
mov ecx, dword [esi + 0x104]
push 0xc
push 0x12
push 0
push 0
push 0x41
push 0xc5
call fcn.005b7ae0
mov eax, dword [edi + 0x2e8]
lea ecx, [edi + 0x2e4]
cmp eax, dword [ecx + 8]
je 0x525f37
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x525f44
lea edx, [ebp - 0x468]
push edx
push eax
call fcn.00462fd0
mov esi, dword [ebp - 0x46c]
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x525c40
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [edi + 0x2e8]
sub eax, dword [edi + 0x2e4]
sar eax, 2
mov dword [edi + 0x2e0], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret