Function at 0x4c3520
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503a53
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x53f030]
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 ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x290], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28c], ecx
mov ecx, eax
mov dword [ebp - 0x27c], eax
call fcn.0043ac50
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c358f
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0
push eax
call fcn.004c3330
add esp, 4
or esi, 0xffffffff
test eax, eax
jne 0x4c35c3
xor ebx, ebx
jmp 0x4c39b5
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c35df
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x280], eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 1
push 1
push str.ConfigV_d._s_
push eax
call fcn.0043ad30
add esp, 0x10
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c362b
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x274], eax
mov edi, dword [ebp - 0x280]
lea eax, [ebp - 0x274]
push edi
push str._s.xml
push eax
mov byte [ebp - 4], 2
call fcn.0043ad30
add esp, 0xc
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c3676
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 3
push eax
push ebx
call fcn.004c2a10
mov ebx, dword [ebp - 0x274]
add esp, 8
test eax, eax
jne 0x4c36b1
xor eax, eax
mov dword [ebp - 0x264], eax
jmp 0x4c3952
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
push eax
call fcn.0043a9d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x270], eax
push dword [ebx - 0xc]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
push ebx
call fcn.00452320
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c36fb
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [ebp - 0x298], eax
add eax, 0x10
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2a4], eax
cmp eax, 0xffffffff
je 0x4c3907
mov dword [ebp - 0x264], 0xffffffff
or ebx, 0xffffffff
jmp 0x4c3750
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x288]
call fcn.0043a420
push dword [edi - 0xc]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00458170
mov edx, dword [ebp - 0x288]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c379a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x284]
cmp dword [esi - 0xc], 0
jle 0x4c3881
push 0x2e
push esi
call fcn.004d94a2
add esp, 8
test eax, eax
je 0x4c3881
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4c3881
push eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x284]
call fcn.0043b0a0
push dword [eax]
call fcn.004dad74
mov dword [ebp - 0x278], eax
add esp, 4
mov eax, dword [ebp - 0x2a0]
mov edx, ebx
add eax, 0xfffffff0
mov dword [ebp - 0x29c], eax
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c3817
mov ecx, dword [eax]
push dword [ebp - 0x29c]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x264]
cmp dword [ebp - 0x278], eax
jle 0x4c3881
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004592f0
add esp, 0xc
mov ecx, dword [ebp - 0x27c]
push eax
mov byte [ebp - 4], 9
call fcn.0043a620
mov edx, dword [ebp - 0x294]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3875
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x264], eax
add esi, 0xfffffff0
mov byte [ebp - 4], 5
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c389e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2a4]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c3750
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x27c]
mov ebx, dword [ebp - 0x274]
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x4c3904
mov ecx, dword [ebp - 0x28c]
mov eax, dword [ebp - 0x264]
mov dword [ecx], eax
lea eax, [ebp - 0x268]
mov ecx, dword [ebp - 0x290]
push eax
call fcn.0043a620
mov dword [ebp - 0x264], 1
or esi, 0xffffffff
jmp 0x4c390f
or esi, 0xffffffff
xor eax, eax
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x298]
mov ecx, esi
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c392f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3952
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x26c]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3975
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3992
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c39af
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x264]
mov edi, dword [ebp - 0x268]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4c39d9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.004d89fb
mov esp, ebp
pop ebp
ret