Function at 0x42f3a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x197]
push ebx
push eax
mov byte [ebp - 0x198], bl
call fcn.00440de0
push str.TRMUninstall.vrf
push edi
lea ecx, [ebp - 0x198]
push 0x46c9e8
push ecx
call fcn.00440e5a
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x198]
push ecx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], ebx
call fcn.0043b820
add esp, 0x28
test eax, eax
jne 0x42f428
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x290], ebx
jne 0x42f416
cmp dword [ebp - 0x28c], 0x100
jne 0x42f416
push esi
xor eax, eax
push 0xef
lea edx, [ebp - 0x287]
push ebx
push edx
mov byte [ebp - 0x1c], bl
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov word [ebp - 0xf], ax
mov byte [ebp - 0xd], al
mov byte [ebp - 0x288], bl
call fcn.00440de0
lea eax, [ebp - 0x198]
push 0x472dc4
push eax
call fcn.00441bda
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x42f6e6
push esi
push 0xf0
lea ecx, [ebp - 0x288]
push 1
push ecx
call fcn.00441802
push ebx
push 0xf0
push esi
call fcn.00441aa2
push esi
push 0x10
lea edx, [ebp - 0x1c]
push 1
push edx
call fcn.00441802
push esi
call fcn.00441527
push str.TRMUninstall.ini
push edi
lea eax, [ebp - 0x198]
push 0x46c9e8
push eax
call fcn.00440e5a
add esp, 0x40
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x198]
push eax
call fcn.0043b820
add esp, 0xc
test eax, eax
je 0x42f6e6
cmp dword [ebp - 0x290], ebx
jne 0x42f6e6
cmp dword [ebp - 0x28c], 0x31e8c
ja 0x42f6e6
push 0x63
lea ecx, [ebp - 0x8f]
push ebx
push ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], bx
mov byte [ebp - 0x90], bl
call fcn.00440de0
lea edx, [ebp - 0x294]
push edx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xc]
push 6
push ecx
mov dword [ebp - 0x294], 0x64
call fcn.00435f70
add esp, 0x1c
test eax, eax
je 0x42f6e6
lea edx, [ebp - 0x198]
push 0x472dc4
push edx
call fcn.00441bda
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42f6e6
mov eax, dword [ebp - 0x28c]
push esi
push eax
push 1
push 0x47deb8
call fcn.00441802
push esi
call fcn.00441527
mov edi, dword [ebp - 0x28c]
xor eax, eax
lea edi, [edi + 0x47deb8]
mov ecx, 0x3c
lea esi, [ebp - 0x288]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x28c]
mov dword [ebp - 0x2b3], eax
mov dword [ebp - 0x2af], eax
mov dword [ebp - 0x2ab], eax
mov dword [ebp - 0x2a7], eax
mov dword [ebp - 0x2a3], eax
mov dword [ebp - 0x29f], eax
mov dword [ebp - 0x29b], eax
mov word [ebp - 0x297], ax
mov byte [ebp - 0x295], al
lea edi, [edi + 0x47dfa8]
mov ecx, 8
lea esi, [ebp - 0x2b4]
mov byte [ebp - 0x2b4], 0xff
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x90]
push edx
lea ecx, [eax + 0x47dfc8]
push ecx
call fcn.004401a0
mov edx, dword [ebp - 0x294]
xor eax, eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov word [ebp - 0x1f], ax
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x28c]
lea ecx, [edx + eax + 0x110]
push ecx
lea edx, [ebp - 0x2c]
push 0x47deb8
push edx
mov byte [ebp - 0x2c], bl
call fcn.00428400
add esp, 0x2c
mov eax, 0x10
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x2c]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x42f69a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x42f670
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret
movzx esi, byte [ecx]
movzx eax, byte [edx]
sub eax, esi
jne 0x42f6c6
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x42f6c6
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x42f6c6
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
cmp eax, ebx
jne 0x42f6e6
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret