Function at 0x414a50
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x48f92e
mov eax, dword fs:[0]
push eax
mov eax, 0x16b8
call fcn.00456080
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x16b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afa68]
xor eax, esp
push eax
lea eax, [esp + 0x16cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x16dc]
mov eax, dword [esp + 0x16e4]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
xor ebx, ebx
push 0x207
lea ecx, [esp + 0x12c5]
push ebx
mov dword [esp + 0x16dc], ebx
push ecx
mov byte [esp + 0x12cc], bl
call fcn.00457ee0
push 0x104
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.00457ee0
add esp, 0x18
lea ecx, [esp + 0x24]
call fcn.0041e150
lea eax, [esp + 0x24]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x414af0
mov ecx, dword [str.Options.ini]
mov edx, dword [0x49a784]
mov dword [eax], ecx
mov ecx, dword [0x49a788]
mov dword [eax + 4], edx
push 0x108c
lea edx, [esp + 0x12c]
push ebx
push edx
mov dword [eax + 8], ecx
call fcn.00457ee0
mov edx, dword [esp + 0x16ec]
mov eax, dword [str.INST]
mov cl, byte [0x49c96c]
push str.updateSoft_ft1_ocx
push edx
mov dword [esp + 0x13c], eax
mov byte [esp + 0x140], cl
call fcn.0045203c
add esp, 0x14
cmp eax, ebx
sete al
cmp al, bl
je 0x414b79
mov eax, dword [str.ft1_ocx]
mov ecx, dword [0x49b554]
xor esi, esi
mov dword [esp + 0x1ac], 2
jmp 0x414c2c
mov edx, dword [esp + 0x16e0]
push str.updateSoft_ft2_ocx
push edx
call fcn.0045203c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x414bb4
mov eax, dword [str.ft2_ocx]
mov ecx, dword [0x49b568]
mov esi, 1
mov dword [esp + 0x1ac], 3
jmp 0x414c2c
mov edx, dword [esp + 0x16e0]
push str.updateSoft_jd1_ocx
push edx
call fcn.0045203c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x414bef
mov eax, dword [str.jd1_ocx]
mov ecx, dword [0x49b57c]
mov esi, 2
mov dword [esp + 0x1ac], 4
jmp 0x414c2c
mov edx, dword [esp + 0x16e0]
push str.updateSoft_hb2_ocx
push edx
call fcn.0045203c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x414fe4
mov eax, dword [str.hb2_ocx]
mov ecx, dword [0x49b590]
mov esi, 4
mov dword [esp + 0x1ac], 7
mov dword [esp + 0x1b8], ecx
push str.__SP____VERYSILENT__norestart
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1b8], eax
call fcn.004031c0
push 0x1ff
lea edx, [esp + 0x14cd]
mov byte [esp + 0x16d8], 1
push ebx
push edx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x14d4], bl
call fcn.00457ee0
push 0x103
lea eax, [esp + 0x11cd]
push ebx
push eax
mov byte [esp + 0x11d4], bl
call fcn.00457ee0
push 0x103
lea ecx, [esp + 0x41]
push ebx
push ecx
mov byte [esp + 0x48], bl
call fcn.00457ee0
mov edx, esi
imul edx, edx, 0x440
lea eax, [edx + str.ePsAcitveX.ocx]
lea esi, [esp + 0x48]
add esp, 0x24
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp cl, bl
jne 0x414cb3
lea eax, [edx + str.ePsAcitveX]
lea edx, [esp + 0x14c8]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x414cd0
lea edi, [esp + 0x14]
lea ecx, [esp + 0x14c8]
call fcn.0041ed10
cmp dword [esp + 0x14], 1
jne 0x414d23
lea edx, [esp + 0x14c8]
push edx
lea ecx, [esp + 0x11c0]
call fcn.0041eef0
xor eax, eax
jmp 0x414d10
mov cl, byte [esp + eax + 0x11bc]
mov byte [esp + eax + 0x12c0], cl
inc eax
cmp cl, bl
jne 0x414d10
lea eax, [esp + 0x11bc]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414d30
sub eax, edx
cmp eax, 3
jae 0x414d79
lea ecx, [esp + 0x12c0]
call fcn.0041e150
lea eax, [esp + 0x24]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414d50
lea edi, [esp + 0x12c0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x414d61
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x12c0]
mov byte [esp + 0x11b4], bl
mov dword [esp + 0x11b5], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414d91
sub eax, edx
lea eax, [esp + eax + 0x12bd]
lea edx, [esp + 0x11b4]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x414db0
mov ecx, 0x49c970
lea eax, [esp + 0x11b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414de6
cmp dl, bl
je 0x414de2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414de6
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x414dc6
xor eax, eax
jmp 0x414deb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x414e39
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.0040bac0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x16dc], 2
lea eax, [esp + 0x12c8]
mov ecx, esp
mov dword [esp + 0x11bc], esp
push eax
call fcn.004031c0
push ebp
mov byte [esp + 0x16e0], 1
call fcn.0040dd00
jmp 0x414eb9
push 0x103
lea ecx, [esp + 0x11c1]
push ebx
push ecx
mov byte [esp + 0x11c8], bl
call fcn.00457ee0
add esp, 0xc
lea ecx, [esp + 0x11bc]
call fcn.0041e150
lea eax, [esp + 0x24]
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x414e68
lea edi, [esp + 0x11bc]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x414e80
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x414e80
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, eax
lea edx, [esp + 0x11c0]
push edx
lea eax, [esp + 0x12c8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x11bc]
call fcn.00418ed0
lea ecx, [esp + 0x12c0]
lea edi, [esp + 0x14c8]
mov ebp, eax
call fcn.0041f270
cmp ebp, ebx
jne 0x414f35
push 0xb4
lea ecx, [esp + 0x11c0]
push ebx
push ecx
mov dword [esp + 0x1bc], 1
call fcn.00457ee0
add esp, 0xc
mov esi, str.IDS_SIGN_CONTROL_INST_FAILED
mov ecx, str.CheckRes
call fcn.00422410
lea edx, [esp + 0x11bc]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x414f10
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x11bc]
mov byte [esp + eax + 0x1b4], cl
inc eax
cmp cl, bl
jne 0x414f20
jmp 0x414f5a
mov esi, str.IDS_SIGN_CONTROL_INST_OK
mov ecx, str.CheckRes
mov dword [esp + 0x1b0], ebx
call fcn.00422410
lea edx, [esp + 0x11bc]
mov cl, byte [eax]
inc eax
inc edx
cmp cl, bl
jne 0x414f52
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x128]
push edx
call fcn.0041e000
mov edx, dword [esp + 0x24]
add esp, 4
cmp edx, ebx
je 0x414f8b
lea eax, [esp + 0x1b4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x414f81
mov byte [esp + 0x16d4], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414fb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x16d4], 0xffffffff
mov eax, dword [esp + 0x16e0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414fe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x415014
mov dword [esp + 0x16d4], 0xffffffff
mov eax, dword [esp + 0x16e0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x16cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16b4]
xor ecx, esp
call fcn.004512da
add esp, 0x16c4
ret 0xc