Function at 0x4104f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a13c
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x5897b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x170], eax
call fcn.00418e55
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41054b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], ebx
call fcn.00418e55
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41057a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 1
call fcn.00418e55
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4105aa
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 2
call fcn.00418e55
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4105da
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x174], eax
lea edi, [esi + 0x218]
xor ecx, ecx
mov edx, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x178], ebx
mov byte [ebp - 0x155], 1
call fcn.00408c60
mov dword [0x591988], eax
cmp eax, ebx
jne 0x41062c
push str.No_license_keys_have_been_found
mov ecx, esi
call fcn.00411090
jmp 0x41099f
mov ecx, dword [esi + 0x980d8]
mov dword [0x591984], ecx
mov ecx, dword [ebp - 0x170]
cmp ecx, ebx
jne 0x410646
xor eax, eax
jmp 0x41065f
mov eax, ecx
lea edx, [eax + 1]
jmp 0x410650
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410650
mov ecx, dword [ebp - 0x170]
sub eax, edx
push eax
push ecx
lea ecx, [ebp - 0x160]
call fcn.00401670
push 4
push str..
lea ecx, [ebp - 0x160]
call fcn.004073b0
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x154]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x188], ebx
cmp ebx, 0xffffffff
je 0x410985
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4106b0
sub eax, edx
push eax
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00401670
lea ecx, [ebp - 0x160]
call fcn.004115e0
mov esi, dword [ebp - 0x160]
push 0x56a940
push esi
call fcn.00512f5b
add esp, 8
test eax, eax
je 0x410927
push 0x56a944
push esi
call fcn.00512f5b
add esp, 8
test eax, eax
je 0x410927
cmp dword [esi - 0xc], 0
jl 0x410927
push str..wibucmrau
push esi
call fcn.005127f8
add esp, 8
test eax, eax
je 0x410927
sub eax, esi
cmp eax, 0xffffffff
je 0x410927
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x168]
push str._.9s
push eax
mov dword [ebp - 0x178], 1
call fcn.00411a60
lea eax, [ebp - 0x11e]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410762
sub eax, edx
push eax
lea ecx, [ebp - 0x11e]
push ecx
lea ecx, [ebp - 0x15c]
call fcn.00401670
mov esi, dword [ebp - 0x15c]
push str.0123456789
push esi
call fcn.0051259a
add esp, 8
test eax, eax
je 0x41079d
sub eax, esi
cmp eax, 0xffffffff
jne 0x4107a9
mov dword [ebp - 0x17c], 0xffffffff
jmp 0x4107be
lea edx, [ebp - 0x11e]
push edx
call fcn.00512825
add esp, 4
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x128]
push eax
push ecx
lea edx, [ebp - 0x15c]
push str._s_s
push edx
call fcn.00411a60
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x15c]
add esp, 0x10
lea eax, [ebp - 0x180]
push eax
push ecx
xor ecx, ecx
call fcn.00410b90
cmp dword [ebp - 0x180], 0
je 0x41093d
xor esi, esi
cmp dword [0x591988], esi
jle 0x410927
xor edx, edx
cmp dword [ebp - 0x168], edx
setne dl
xor ebx, ebx
mov dword [ebp - 0x184], edx
lea esp, [esp]
mov eax, dword [0x591984]
mov ecx, dword [ebx + eax + 4]
movzx edx, word [ebx + eax + 2]
push ecx
push edx
lea eax, [ebp - 0x174]
push str._d__d
push eax
call fcn.00411a60
add esp, 0x10
cmp dword [ebp - 0x184], 0
je 0x410541
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 0x174]
push ecx
push edx
call fcn.00512f5b
add esp, 8
test eax, eax
jne 0x41090e
push esi
push eax
mov eax, dword [ebp - 0x180]
push eax
push edi
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x16c], 1
call fcn.00407fa0
test al, al
je 0x4108d0
xor eax, eax
cmp dword [edi + 0xa8], eax
jg 0x41090e
jl 0x4108ba
mov edx, dword [edi + 0xa4]
cmp edx, dword [ebp - 0x17c]
jae 0x41090e
push 2
push 0
mov edx, esi
mov ecx, edi
call fcn.0040c030
mov eax, dword [ebp - 0x164]
push eax
jmp 0x4108e4
push 2
push 0
mov edx, esi
mov ecx, edi
call fcn.0040c030
mov ecx, dword [ebp - 0x164]
push ecx
mov ecx, dword [ebp - 0x15c]
mov edx, esi
call fcn.00410a70
push 1
push 0
mov edx, esi
mov ecx, edi
mov byte [ebp - 0x155], al
call fcn.0040c030
mov dword [ebp - 0x16c], 2
inc esi
add ebx, 0x90
cmp esi, dword [0x591988]
jl 0x410830
mov ebx, dword [ebp - 0x188]
lea edx, [ebp - 0x154]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4106a3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x178], 0
je 0x41097f
mov eax, dword [ebp - 0x16c]
test eax, eax
jne 0x410964
mov ecx, dword [ebp - 0x164]
push str.This_update_does_not_belong_to_the_keys_that_are_present
jmp 0x41098c
cmp eax, 1
jne 0x410976
mov ecx, dword [ebp - 0x164]
push str.No_update_applied__the_key_is_already_up_to_date
jmp 0x41098c
mov byte [ebp - 0x155], 0
jmp 0x410994
mov esi, dword [ebp - 0x164]
push str.No_supported_files_found_in_the_archive
mov ecx, esi
call fcn.00411090
add esp, 4
mov eax, dword [0x591984]
push eax
call fcn.00418c8f
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x174]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4109c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x168]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4109ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410a14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410a3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x155]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050f8ec
mov esp, ebp
pop ebp
ret 4