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

Disassembly:
push 0x98
mov eax, 0x480d4c
call fcn.00454305
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
call fcn.0040aa2d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0040aa2d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0040aa2d
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24]
push eax
push str.ApplyDirUpdate
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x25], 0
call fcn.0041e3a4
mov byte [ebp - 4], 3
test esi, esi
jne 0x433471
push 0x57
pop esi
jmp 0x433976
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a5c2
push 0x5c
pop esi
push esi
push 0x2f
lea ecx, [ebp - 0x38]
call fcn.00409396
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.004094f2
cmp ax, si
je 0x4334a6
push ecx
lea ecx, [ebp - 0x38]
call fcn.00409414
push 0x4951c0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x40]
call fcn.00409299
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
push eax
call fcn.0040943e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov ecx, dword [ebp - 0x44]
call fcn.0041facf
test al, al
jne 0x4334e3
push 0xd
jmp 0x43346b
cmp dword [0x4a748c], 4
je 0x433965
and dword [ebp - 0x18], 0
lea edx, [ebp - 0x38]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x40]
push 0x4a73b0
call fcn.0041ae36
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
push eax
call fcn.0040943e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov ecx, dword [ebp - 0x30]
call fcn.0041facf
test al, al
je 0x433562
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x18]
call fcn.004221d1
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x433979
mov edx, 0x4a7490
lea ecx, [ebp - 0x18]
call fcn.0041e96b
test eax, eax
jle 0x433965
mov al, 1
jmp 0x433568
mov esi, dword [ebp - 0x24]
mov al, byte [ebp - 0x19]
test esi, esi
jne 0x433979
test al, al
je 0x433965
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040aa2d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.0040aa2d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.0040aa2d
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xa4]
push 0x44
pop esi
push esi
push 0
push eax
mov byte [ebp - 0x19], 0
call fcn.004557e0
push dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa4], esi
push str._applyupdate
push str._emupdater
push dword [0x4a73b0]
push str._s__s__s___s_
push eax
call fcn.0040bd93
mov esi, dword [ebp - 0x20]
add esp, 0x24
test esi, esi
je 0x433602
push 0x4921a0
lea ecx, [ebp - 0x2c]
call fcn.0041cb18
push esi
lea ecx, [ebp - 0x2c]
call fcn.0041cb18
test ebx, ebx
je 0x433642
lea ecx, [ebp - 0x20]
call fcn.0040aa2d
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x20]
push ebx
push str.__autoversion__u
push eax
call fcn.0040bd93
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.0040bd07
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
push dword [ebp - 0x30]
push ebx
push str.Going_to_apply_update_using_attached_updater_id:_u_from_file__s
call fcn.0041defb
push 0x4a73b0
mov edx, 0x4a74a8
lea ecx, [ebp - 0x20]
call fcn.0041ae36
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x34]
push eax
call fcn.0040943e
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040aa0b
push ecx
mov edx, 0x4928dc
lea ecx, [ebp - 0x14]
call fcn.0041ea93
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041ae36
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.0040943e
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 9
pop ebx
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
call edi
test esi, esi
jne 0x433777
cmp eax, 0x20
je 0x4336f9
cmp eax, 5
jne 0x433709
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x4336d5
mov bl, byte [ebp - 0x19]
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 4], 1
jle 0x433723
push dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
call fcn.0040a31a
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x433749
call edi
mov dword [ebp - 0x24], eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040d63e
cmp dword [ebp - 0x24], 0
je 0x433845
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push str.Unable_to_execute__s__s_gle_u
call fcn.0041defb
mov eax, dword [ebp - 0x24]
jmp 0x433876
mov bl, 1
mov dword [ebp - 0x20], 9
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
call edi
test esi, esi
jne 0x433834
cmp eax, 0x20
je 0x4337a4
cmp eax, 5
jne 0x4337b5
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x20], 1
jns 0x433780
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x20], 9
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
call edi
test esi, esi
jne 0x43382d
cmp eax, 0x20
je 0x4337e2
cmp eax, 5
jne 0x4337ef
push 0xc8
call ebx
sub dword [ebp - 0x20], 1
jns 0x4337c2
push 9
pop esi
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x20], eax
call edi
cmp dword [ebp - 0x20], 0
jne 0x433825
cmp eax, 0x20
je 0x433815
cmp eax, 5
jne 0x433821
push 0xc8
call ebx
sub esi, 1
jns 0x4337f2
cmp dword [ebp - 0x20], 0
sete bl
jmp 0x43370c
xor bl, bl
jmp 0x43370c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040943e
jmp 0x43370c
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x40]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push str._s__s_exitcode_u
call fcn.0041defb
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
add esp, 0x10
test eax, eax
je 0x4338b4
test bl, bl
je 0x4338b4
push 9
pop ebx
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
call edi
test esi, esi
jne 0x4338b4
cmp eax, 0x20
je 0x4338a4
cmp eax, 5
jne 0x4338b4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x433884
mov ecx, dword [ebp - 0x3c]
call fcn.00421562
cmp dword [ebp - 0x24], 0
jne 0x433917
call fcn.00433ec7
call fcn.00421042
call fcn.00420fed
mov esi, dword [0x4a747c]
mov ecx, 0x4a747c
push dword [esi + 4]
push ecx
call fcn.0040c2c3
mov dword [esi + 4], esi
mov ecx, 0x4a7484
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [0x4a7484]
and dword [0x4a7480], 0
push dword [esi + 4]
push ecx
call fcn.0040c3b9
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
and dword [0x4a7488], 0
cmp dword [ebp - 0x50], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x433928
push dword [ebp - 0x50]
call esi
cmp dword [ebp - 0x54], 0
je 0x433933
push dword [ebp - 0x54]
call esi
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov esi, dword [ebp - 0x24]
jmp 0x433979
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x25]
push eax
mov ecx, ebx
call fcn.0042a13b
pop ecx
mov esi, eax
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x38]
cmp dword [ecx - 0xc], 0
je 0x433990
cmp byte [ebp - 0x25], 0
jne 0x433990
call fcn.0041ece0
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.0041e418
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0040aa0b
mov eax, esi
call fcn.004542b4
ret