Function at 0x4925b6
Capabilities:
Read file on windows

Disassembly:
push 0x510
mov eax, 0x4c683e
call fcn.004ac3e5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x500], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x510], eax
mov eax, dword [esi + 0x220]
lea edi, [ebp - 0x464]
mov dword [ebp - 0x4fc], esi
mov dword [ebp - 0x508], ebx
call fcn.00483d53
mov eax, dword [ebp - 0x45c]
test eax, eax
je 0x492ee5
mov eax, dword [eax]
cmp eax, 4
jne 0x492ee5
lea eax, [ebp - 0x4f4]
push 0x4cb648
push eax
mov edi, ebx
call fcn.00408817
lea ecx, [esi + 0x9c]
push ecx
lea ecx, [ebp - 0x4bc]
push ecx
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00408ce7
add esp, 0x10
push esi
mov ecx, eax
lea ebx, [ebp - 0x43c]
mov byte [ebp - 4], 2
call fcn.0048f6ce
push 1
xor edi, edi
lea esi, [ebp - 0x4bc]
call fcn.0040a3ed
push 1
lea esi, [ebp - 0x4f4]
mov byte [ebp - 4], 5
call fcn.0040a3ed
mov edi, dword [ebp - 0x508]
lea eax, [ebp - 0x480]
push 0x4cb648
push eax
call fcn.00408817
mov esi, dword [ebp - 0x4fc]
lea ecx, [esi + 0xb8]
push ecx
lea ecx, [ebp - 0x4d8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00408ce7
add esp, 0x10
push esi
mov ecx, eax
lea ebx, [ebp - 0x458]
mov byte [ebp - 4], 7
call fcn.0048f6ce
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x4d8]
call fcn.0040a3ed
push ebx
lea esi, [ebp - 0x480]
mov byte [ebp - 4], 0xa
call fcn.0040a3ed
push dword [ebp - 0x4fc]
lea ecx, [ebp - 0x43c]
call fcn.00494b28
test al, al
jne 0x492720
push ebx
xor edi, edi
lea esi, [ebp - 0x458]
call fcn.0040a3ed
push ebx
xor edi, edi
lea esi, [ebp - 0x43c]
call fcn.0040a3ed
jmp 0x492f1a
push dword [ebp - 0x4fc]
lea ecx, [ebp - 0x458]
call fcn.00494b28
test al, al
je 0x4926ff
mov ecx, dword [ebp - 0x4fc]
lea eax, [ebp - 0x43c]
push eax
call fcn.0048f71d
or dword [ebp - 0x4f8], 0xffffffff
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x428], 8
mov edi, dword [ebp - 0x43c]
jae 0x492767
lea edi, [ebp - 0x43c]
push 2
push 0
mov ebx, 0xc0000000
push ebx
lea eax, [ebp - 0x4f8]
call fcn.00484479
test al, al
jne 0x49281b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x428], 8
mov esi, eax
mov eax, dword [ebp - 0x43c]
jae 0x4927a1
lea eax, [ebp - 0x43c]
mov ecx, dword [0x4f546c]
push eax
push str.Open_File__s_Failed
push 3
call fcn.0047b708
add esp, 0xc
push esi
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x488]
call fcn.0048945e
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x4fc]
mov edx, dword [ecx]
push eax
push 3
call dword [edx + 0x24c]
lea ecx, [ebp - 0x488]
call fcn.004894d4
lea esi, [ebp - 0x4f8]
call fcn.004844b9
push 1
xor edi, edi
lea esi, [ebp - 0x458]
call fcn.0040a3ed
push 1
jmp 0x49270e
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 4]
add eax, 8
push ecx
push eax
lea eax, [ebp - 0x4f8]
call fcn.004844f1
test al, al
jne 0x49287f
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0xd
push eax
push 3
mov ecx, dword [ebp - 0x4fc]
mov edx, dword [ecx]
call dword [edx + 0x24c]
lea ecx, [ebp - 0x484]
call fcn.00489396
jmp 0x4927fa
lea esi, [ebp - 0x4f8]
call fcn.004844b9
call fcn.004844b9
or dword [ebp - 0x4f8], 0xffffffff
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x444], 8
mov edi, dword [ebp - 0x458]
jae 0x4928af
lea edi, [ebp - 0x458]
push 2
push 0
push ebx
lea eax, [ebp - 0x4f8]
call fcn.00484479
test al, al
jne 0x492922
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x444], 8
mov esi, eax
mov eax, dword [ebp - 0x458]
jae 0x4928e0
lea eax, [ebp - 0x458]
mov ecx, dword [0x4f546c]
push eax
push str.Open_File__s_Failed
push 3
call fcn.0047b708
add esp, 0xc
push esi
sub esp, 0x1c
lea eax, [ebp - 0x458]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x488]
call fcn.0048945e
mov byte [ebp - 4], 0xf
jmp 0x4927de
lea eax, [ebp - 0x4f8]
push eax
lea esi, [ebp - 0x420]
call fcn.004844cb
mov eax, dword [eax]
mov ebx, dword [ebp - 0x510]
cdq
mov dword [ebx + 0x204], eax
mov eax, dword [ebp - 0x4fc]
mov dword [ebx + 0x208], edx
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20c]
add esi, dword [eax + 0x10]
lea edi, [ebp - 0x4a0]
mov dword [ebp - 0x510], esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 3
movsb byte es:[edi], byte [esi]
pop edi
push 8
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0x4a0], edi
call fcn.004844f1
test al, al
je 0x492eb8
mov eax, dword [ebp - 0x510]
push dword [eax + 4]
add eax, 8
push eax
lea eax, [ebp - 0x4f8]
call fcn.004844f1
test al, al
je 0x492eb8
mov eax, dword [ebp - 0x4fc]
mov ecx, dword [eax + 0x220]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20c]
add eax, dword [ecx + 0x10]
and dword [ebp - 0x50c], 0
mov eax, dword [eax + 8]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x492abb
mov dword [ebp - 0x508], 0xc
mov eax, dword [ebp - 0x4fc]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x20c]
add eax, edx
mov esi, dword [eax + 8]
mov dword [ebp - 0x510], edx
mov edx, dword [ebp - 0x508]
mov eax, dword [edx + eax]
cdq
xor edi, edi
lea esi, [esi*4 + 4]
add eax, esi
adc edx, edi
add eax, dword [ecx + 0x20c]
adc edx, dword [ecx + 0x210]
add eax, 8
adc edx, edi
add eax, dword [ebp - 0x510]
mov dword [ebp - 0x514], edx
mov dword [ebp - 0x510], eax
je 0x492a9c
mov esi, eax
lea edi, [ebp - 0x464]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 8
lea eax, [ebp - 0x464]
push eax
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0x464], 4
call fcn.004844f1
test al, al
je 0x492bc1
mov eax, dword [ebp - 0x510]
push dword [eax + 4]
add eax, 8
push eax
lea eax, [ebp - 0x4f8]
call fcn.004844f1
test al, al
je 0x492bc1
inc dword [ebp - 0x50c]
mov eax, dword [ebp - 0x50c]
add dword [ebp - 0x508], 4
cmp eax, dword [ebp - 0x41c]
jb 0x4929ed
lea eax, [ebp - 0x4f8]
push eax
lea esi, [ebp - 0x518]
call fcn.004844cb
mov eax, dword [eax]
cdq
mov dword [ebx + 0x20c], eax
mov eax, dword [ebp - 0x4fc]
mov dword [ebx + 0x210], edx
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
add eax, dword [ecx + 0x214]
lea edi, [ebp - 0x464]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 8
movsb byte es:[edi], byte [esi]
pop edi
mov dword [ebp - 0x41c], eax
push edi
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0x464], 5
call fcn.004844f1
test al, al
je 0x492e8d
mov eax, dword [ebp - 0x41c]
push dword [eax + 4]
add eax, edi
push eax
lea eax, [ebp - 0x4f8]
call fcn.004844f1
test al, al
je 0x492e8d
lea eax, [ebp - 0x4f8]
push eax
lea esi, [ebp - 0x518]
call fcn.004844cb
mov eax, dword [eax]
cdq
mov dword [ebx + 0x214], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x4f8]
mov dword [ebx + 0x218], edx
mov dword [ebp - 0x420], 1
call fcn.004844f1
test al, al
jne 0x492bec
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0x13
jmp 0x49285e
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0x11
jmp 0x49285e
push dword [ebp - 0x41c]
lea eax, [ebp - 0x4f8]
push dword [ebp - 0x51c]
call fcn.004844f1
test al, al
jne 0x492c32
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0x14
jmp 0x49285e
lea eax, [ebp - 0x4f8]
push eax
lea esi, [ebp - 0x518]
call fcn.004844cb
mov eax, dword [eax]
cdq
mov dword [ebx + 0x21c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x41c], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x4f8]
mov dword [ebx + 0x220], edx
mov dword [ebp - 0x420], 2
call fcn.004844f1
test al, al
jne 0x492ca8
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0x15
jmp 0x49285e
push dword [ebp - 0x41c]
lea eax, [ebp - 0x4f8]
push dword [ebp - 0x500]
call fcn.004844f1
test al, al
jne 0x492cee
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0x16
jmp 0x49285e
push edi
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0x494], 0x19860404
mov dword [ebp - 0x490], 0x978
call fcn.004844f1
test al, al
jne 0x492d44
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0x17
jmp 0x49285e
mov eax, dword [ebp - 0x490]
add eax, 0xfffffffc
push eax
push ebx
lea eax, [ebp - 0x4f8]
call fcn.004844f1
test al, al
jne 0x492d89
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0x18
jmp 0x49285e
push dword [ebx + 0x218]
xor edi, edi
push dword [ebx + 0x214]
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0x50c], edi
mov byte [ebp - 0x501], 1
call fcn.00494ede
mov esi, 0x400
cmp dword [ebp - 0x4f8], 0xffffffff
mov ebx, esi
je 0x492e14
push edi
lea eax, [ebp - 0x508]
push eax
push esi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x4f8]
mov dword [ebp - 0x508], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x492e14
lea eax, [ebp - 0x500]
test eax, eax
je 0x492df9
mov ebx, dword [ebp - 0x508]
cmp ebx, edi
jbe 0x492e14
mov eax, dword [ebp - 0x50c]
mov edx, ebx
lea ecx, [ebp - 0x410]
call fcn.00488eb4
mov dword [ebp - 0x50c], eax
jmp 0x492e1b
mov byte [ebp - 0x501], 0
cmp byte [ebp - 0x501], 0
jne 0x492db4
lea eax, [ebp - 0x4f8]
push eax
lea esi, [ebp - 0x518]
call fcn.004844cb
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x4f8]
call fcn.00494ede
push 4
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x4f8]
call fcn.004844f1
lea esi, [ebp - 0x4f8]
call fcn.004844b9
call fcn.004844b9
push 1
xor edi, edi
lea esi, [ebp - 0x458]
call fcn.0040a3ed
push 1
lea esi, [ebp - 0x43c]
call fcn.0040a3ed
mov al, 1
jmp 0x492f1c
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
mov byte [ebp - 4], 0x12
jmp 0x49285e
sub esp, 0x1c
lea eax, [ebp - 0x43c]
mov esi, esp
mov dword [ebp - 0x500], esp
push eax
call fcn.00409de0
lea ebx, [ebp - 0x484]
call fcn.00489326
push eax
mov byte [ebp - 4], 0x10
push edi
jmp 0x492861
mov ecx, dword [0x4f546c]
push str.Failed_to_find_uninstaller_section_
push 2
call fcn.0047b68e
pop ecx
pop ecx
mov dword [ebp - method.SE_Exception.virtual_0], vtable.SE_Exception_Package.0
and dword [ebp - 4], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x500]
push ecx
push 3
mov ecx, esi
call dword [eax + 0x24c]
xor al, al
call fcn.004ac468
ret 0x14