Function at 0x429730
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4735a8]
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.0043a6a0
push str.TRMUninstall.vrf
push edi
lea ecx, [ebp - 0x198]
push 0x465478
push ecx
call fcn.0043a71a
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.004350f0
add esp, 0x28
test eax, eax
jne 0x4297b8
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x290], ebx
jne 0x4297a6
cmp dword [ebp - 0x28c], 0x100
jne 0x4297a6
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.0043a6a0
lea eax, [ebp - 0x198]
push 0x46b394
push eax
call fcn.0043b49a
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x429a76
push esi
push pe_nt_image_headers32
lea ecx, [ebp - 0x288]
push 1
push ecx
call fcn.0043b0c2
push ebx
push pe_nt_image_headers32
push esi
call fcn.0043b362
push esi
push 0x10
lea edx, [ebp - 0x1c]
push 1
push edx
call fcn.0043b0c2
push esi
call fcn.0043ade7
push str.TRMUninstall.ini
push edi
lea eax, [ebp - 0x198]
push 0x465478
push eax
call fcn.0043a71a
add esp, 0x40
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x198]
push eax
call fcn.004350f0
add esp, 0xc
test eax, eax
je 0x429a76
cmp dword [ebp - 0x290], ebx
jne 0x429a76
cmp dword [ebp - 0x28c], 0x9e8c
ja 0x429a76
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.0043a6a0
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.0042fb50
add esp, 0x1c
test eax, eax
je 0x429a76
lea edx, [ebp - 0x198]
push 0x46b394
push edx
call fcn.0043b49a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x429a76
mov eax, dword [ebp - 0x28c]
push esi
push eax
push 1
push 0x474eb8
call fcn.0043b0c2
push esi
call fcn.0043ade7
mov edi, dword [ebp - 0x28c]
xor eax, eax
lea edi, [edi + 0x474eb8]
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 + 0x474fa8]
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 + 0x474fc8]
push ecx
call fcn.00439a60
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 0x474eb8
push edx
mov byte [ebp - 0x2c], bl
call fcn.00422930
add esp, 0x2c
mov eax, 0x10
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x2c]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x429a2a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x429a00
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
movzx esi, byte [ecx]
movzx eax, byte [edx]
sub eax, esi
jne 0x429a56
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x429a56
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x429a56
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
cmp eax, ebx
jne 0x429a76
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
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.004396d4
mov esp, ebp
pop ebp
ret