Function at 0x4c2e30
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503998
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
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 + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x288], eax
call fcn.0043ac50
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c2e94
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 dword [ebp - 4], 0
push eax
push 0x23
call fcn.0049d4c0
add esp, 8
or esi, 0xffffffff
test eax, eax
jns 0x4c2ed0
mov edi, dword [ebp - 0x26c]
xor ebx, ebx
jmp 0x4c32f2
push dword [0x53eb60]
lea ecx, [ebp - 0x264]
call fcn.0043a420
push 1
push 0x509c8c
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00452320
mov eax, dword [edi]
lea ecx, [ebp - 0x264]
push dword [eax - 0xc]
push eax
call fcn.00452320
push 1
push 0x509c8c
lea ecx, [ebp - 0x264]
call fcn.00452320
mov edx, dword [str.Updater]
test edx, edx
jne 0x4c2f28
xor ecx, ecx
jmp 0x4c2f3f
mov ecx, edx
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2f30
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.00452320
push 1
push 0x509c8c
lea ecx, [ebp - 0x264]
call fcn.00452320
mov edx, dword [str.Response]
test edx, edx
jne 0x4c2f6c
xor ecx, ecx
jmp 0x4c2f80
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2f71
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.00452320
push 1
push 0x509c8c
lea ecx, [ebp - 0x264]
call fcn.00452320
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004c19b0
mov edi, dword [ebp - 0x26c]
add esp, 8
test eax, eax
jns 0x4c2fc6
xor ebx, ebx
jmp 0x4c32cf
lea eax, [edi - 0x10]
push eax
call fcn.0043a9d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x298], esi
mov byte [ebp - 4], 2
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c2ffb
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 3
push eax
call fcn.004c3330
add esp, 4
test eax, eax
jne 0x4c3032
push 0x50962c
lea ecx, [ebp - 0x270]
call fcn.0043a690
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c304e
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
push dword [ebp - 0x270]
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 4
push 1
push str.ResponseV_d._s
push eax
call fcn.0043ad30
lea eax, [esi - 0x10]
push eax
mov dword [ebp - 0x28c], eax
call fcn.0043a9d0
add eax, 0x10
add esp, 0x14
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 5
push dword [eax - 0xc]
push eax
call fcn.00452320
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c30cb
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov ebx, dword [ebp - 0x274]
lea eax, [ebp - 0x260]
push eax
push ebx
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
jne 0x4c310b
xor eax, eax
mov dword [ebp - 0x268], eax
jmp 0x4c3226
mov ebx, dword [ebp - 0x27c]
or edi, 0xffffffff
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
jmp 0x4c3130
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x4c31ee
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004592f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 7
call fcn.0043a620
mov edx, dword [ebp - 0x294]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c319c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x268]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c31ee
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x268]
push eax
call fcn.0043a620
mov ecx, dword [ebp - 0x288]
mov eax, dword [ebp - 0x25c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x258]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c3130
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x26c]
mov ebx, dword [ebp - 0x274]
mov dword [ebp - 0x268], 1
lea edx, [esi - 0x10]
mov byte [ebp - 4], 5
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3246
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c3263
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x278]
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 0x4c3286
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], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c32a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28c]
mov ecx, esi
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c32c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x268]
mov edx, dword [ebp - 0x264]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c32f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4c3310
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