Function at 0x433d6e
Capabilities:
Copy file
Create process on windows
Move file

Disassembly:
push 0x94
mov eax, 0x48275a
call fcn.004569c5
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x34]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
call fcn.0040aaed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040aaed
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2c]
call fcn.0040aaed
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
xor bl, bl
lea ecx, [ebp - 0x5c]
push str.ApplyDirUpdate
mov byte [ebp - 0x21], bl
call fcn.0041e6cc
mov byte [ebp - 4], 3
test edi, edi
jne 0x433ddb
mov dword [ebp - 0x20], 0x57
jmp 0x4342d9
push edi
lea ecx, [ebp - 0x34]
call fcn.0040a676
push 0x5c
pop edi
push edi
push 0x2f
lea ecx, [ebp - 0x34]
call fcn.00409476
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.004095d2
cmp ax, di
je 0x433e10
push ecx
lea ecx, [ebp - 0x34]
call fcn.004094f4
push 0x4afb50
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x3c]
call fcn.00409379
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push eax
call fcn.0040951e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov ecx, dword [ebp - 0x40]
call fcn.0041feac
test al, al
jne 0x433e55
mov dword [ebp - 0x20], 0xd
jmp 0x4342d9
cmp dword [0x4c2564], 4
je 0x4342c7
and dword [ebp - 0x18], 0
lea edx, [ebp - 0x34]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
push 0x4c2478
call fcn.0041b04e
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040951e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov ecx, dword [ebp - 0x2c]
call fcn.0041feac
test al, al
je 0x433ecd
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x18]
call fcn.00422632
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x433ecd
mov edx, 0x4c2568
lea ecx, [ebp - 0x18]
call fcn.0041ec97
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovg ebx, eax
cmp dword [ebp - 0x20], 0
jne 0x4342d9
test bl, bl
je 0x4342c7
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040aaed
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.0040aaed
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x38]
call fcn.0040aaed
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xa0]
push 0x44
pop edi
push edi
push 0
push eax
xor bl, bl
call fcn.00457e10
push dword [ebp - 0x40]
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa0], edi
push str._applyupdate
push str._emupdater
push dword [0x4c2478]
push str._s__s__s___s_
push eax
call fcn.0040bead
mov edi, dword [ebp - 0x1c]
add esp, 0x24
test edi, edi
je 0x433f67
push 0x4acafc
lea ecx, [ebp - 0x28]
call fcn.0041cdf8
push edi
lea ecx, [ebp - 0x28]
call fcn.0041cdf8
test esi, esi
je 0x433fa7
lea ecx, [ebp - 0x1c]
call fcn.0040aaed
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x1c]
push esi
push str.__autoversion__u
push eax
call fcn.0040bead
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.0040be21
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
push dword [ebp - 0x2c]
push esi
push str.Going_to_apply_update_using_attached_updater_id:_u_from_file__s
call fcn.0041e1d8
push 0x4c2478
mov edx, 0x4c2580
lea ecx, [ebp - 0x1c]
call fcn.0041b04e
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
push eax
call fcn.0040951e
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040aacb
push ecx
mov edx, 0x4ad23c
lea ecx, [ebp - 0x14]
call fcn.0041edbf
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041b04e
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x38]
push eax
call fcn.0040951e
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], 9
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
call edi
test esi, esi
jne 0x434078
cmp eax, 0x20
je 0x434062
cmp eax, 5
jne 0x434142
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x1c], 1
jns 0x43403e
jmp 0x434142
xor eax, eax
mov dword [ebp - 0x1c], 9
inc eax
mov bl, al
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
call edi
test esi, esi
jne 0x434136
cmp eax, 0x20
je 0x4340a7
cmp eax, 5
jne 0x4340bb
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x1c], 1
push 1
pop eax
jns 0x434084
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x1c], 9
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
call edi
test esi, esi
jne 0x434132
cmp eax, 0x20
je 0x4340e8
cmp eax, 5
jne 0x4340f5
push 0xc8
call ebx
sub dword [ebp - 0x1c], 1
jns 0x4340c8
push 9
pop esi
xor eax, eax
inc eax
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x1c], eax
call edi
cmp dword [ebp - 0x1c], 0
jne 0x43412d
cmp eax, 0x20
je 0x43411d
cmp eax, 5
jne 0x434129
push 0xc8
call ebx
sub esi, 1
jns 0x4340f8
cmp dword [ebp - 0x1c], 0
sete bl
jmp 0x434142
xor bl, bl
jmp 0x434142
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040951e
mov eax, dword [ebp - 0x28]
xor esi, esi
inc esi
cmp dword [eax - 4], esi
jle 0x43415b
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call fcn.0040a3ce
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x434181
call edi
mov dword [ebp - 0x20], eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040d778
cmp dword [ebp - 0x20], 0
je 0x4341a8
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push str.Unable_to_execute__s__s_gle_u
call fcn.0041e1d8
mov eax, dword [ebp - 0x20]
jmp 0x4341d9
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x3c]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push str._s__s_exitcode_u
call fcn.0041e1d8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
add esp, 0x10
test eax, eax
je 0x434219
test bl, bl
je 0x434219
push 9
pop ebx
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
call edi
test esi, esi
jne 0x434219
cmp eax, 0x20
je 0x434206
cmp eax, 5
jne 0x434219
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
push 1
pop esi
jns 0x4341e7
mov ecx, dword [ebp - 0x38]
call fcn.004219c3
cmp dword [ebp - 0x20], 0
jne 0x43427c
call fcn.00434820
call fcn.0042141f
call fcn.004213ca
mov esi, dword [0x4c2554]
mov ecx, 0x4c2554
push dword [esi + 4]
push ecx
call fcn.0040c3dd
mov dword [esi + 4], esi
mov ecx, 0x4c255c
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [0x4c255c]
and dword [0x4c2558], 0
push dword [esi + 4]
push ecx
call fcn.0040c4d3
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
and dword [0x4c2560], 0
cmp dword [ebp - 0x4c], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x43428d
push dword [ebp - 0x4c]
call esi
cmp dword [ebp - 0x50], 0
je 0x434298
push dword [ebp - 0x50]
call esi
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x4342d9
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x21]
push eax
mov ecx, esi
call fcn.0042a783
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x34]
cmp dword [ecx - 0xc], 0
je 0x4342ed
cmp byte [ebp - 0x21], 0
jne 0x4342ed
call fcn.0041f00c
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0041e740
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040aacb
mov eax, esi
call fcn.00456974
ret