Function at 0x414150
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x48cf1e
mov eax, dword fs:[0]
push eax
mov eax, 0x1ab8
call fcn.00454d40
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x1ab4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x1acc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1adc]
mov eax, dword [esp + 0x1ae4]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
xor ebx, ebx
push 0x207
lea ecx, [esp + 0x16c5]
push ebx
mov dword [esp + 0x1adc], ebx
push ecx
mov byte [esp + 0x16cc], bl
call fcn.00456ba0
push 0x400
lea edx, [esp + 0x10c0]
push ebx
push edx
call fcn.00456ba0
add esp, 0x18
lea ecx, [esp + 0x10b0]
call fcn.0041cc00
lea eax, [esp + 0x10b0]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4141f2
push 0x108c
lea edx, [esp + 0x28]
push ebx
push edx
call fcn.00456ba0
mov edx, dword [esp + 0x1aec]
mov eax, dword [str.INST]
mov cl, byte [0x49a8e0]
push str.updateSoft_ft2_ocx
push edx
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], cl
call fcn.00450be7
add esp, 0x14
cmp eax, ebx
sete al
cmp al, bl
je 0x414258
mov eax, dword [str.ft2_ocx]
mov ecx, dword [0x4993e4]
mov esi, 1
mov dword [esp + 0xa8], 3
jmp 0x414295
mov edx, dword [esp + 0x1ae0]
push str.updateSoft_hb2_ocx
push edx
call fcn.00450be7
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x414653
mov eax, dword [str.hb2_ocx]
mov ecx, dword [0x4993f8]
mov esi, 4
mov dword [esp + 0xa8], 7
mov dword [esp + 0xb4], ecx
push str.__SP____VERYSILENT__norestart
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], eax
call fcn.00403280
push 0x1ff
lea edx, [esp + 0x18cd]
mov byte [esp + 0x1ad8], 1
push ebx
push edx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x18d4], bl
call fcn.00456ba0
push 0x103
lea eax, [esp + 0x14c9]
push ebx
push eax
mov byte [esp + 0x14d0], bl
call fcn.00456ba0
push 0x103
lea ecx, [esp + 0x15d9]
push ebx
push ecx
mov byte [esp + 0x15e0], bl
call fcn.00456ba0
mov edx, esi
imul edx, edx, 0x440
lea eax, [edx + str.ePsAcitveX.ocx]
lea esi, [esp + 0x15e0]
add esp, 0x24
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp cl, bl
jne 0x414325
lea eax, [edx + str.ePsAcitveX]
lea edx, [esp + 0x18c8]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x414340
lea edi, [esp + 0x14]
lea ecx, [esp + 0x18c8]
call fcn.0041d460
cmp dword [esp + 0x14], 1
jne 0x414393
lea edx, [esp + 0x18c8]
push edx
lea ecx, [esp + 0x14bc]
call fcn.0041d750
xor eax, eax
jmp 0x414380
mov cl, byte [esp + eax + 0x14b8]
mov byte [esp + eax + 0x16c0], cl
inc eax
cmp cl, bl
jne 0x414380
lea eax, [esp + 0x14b8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4143a0
sub eax, edx
cmp eax, 3
jae 0x4143ec
lea ecx, [esp + 0x16c0]
call fcn.0041cc00
lea eax, [esp + 0x15bc]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4143c3
lea edi, [esp + 0x16c0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4143d4
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 + 0x16c0]
mov byte [esp + 0x14b0], bl
mov dword [esp + 0x14b1], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414404
sub eax, edx
lea eax, [esp + eax + 0x16bd]
lea edx, [esp + 0x14b0]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x414420
mov edx, 0x49a8e4
lea ecx, [esp + 0x14b0]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x414456
cmp al, bl
je 0x414452
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x414456
add ecx, 2
add edx, 2
cmp al, bl
jne 0x414436
xor eax, eax
jmp 0x41445b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4144a9
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00405d50
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x1adc], 2
lea eax, [esp + 0x16c8]
mov ecx, esp
mov dword [esp + 0x14b8], esp
push eax
call fcn.00403280
push ebp
mov byte [esp + 0x1ae0], 1
call fcn.0040d320
jmp 0x41452c
push 0x103
lea ecx, [esp + 0x14bd]
push ebx
push ecx
mov byte [esp + 0x14c4], bl
call fcn.00456ba0
add esp, 0xc
lea ecx, [esp + 0x14b8]
call fcn.0041cc00
lea eax, [esp + 0x15bc]
mov ecx, eax
jmp 0x4144e0
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4144e0
lea edi, [esp + 0x14b8]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4144f3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, eax
lea edx, [esp + 0x14bc]
push edx
lea eax, [esp + 0x16c8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x14b8]
call fcn.00417cd0
lea ecx, [esp + 0x16c0]
lea edi, [esp + 0x18c8]
mov ebp, eax
call fcn.0041dad0
cmp ebp, ebx
jne 0x4145a5
push 0xb4
lea ecx, [esp + 0x14bc]
push ebx
push ecx
mov dword [esp + 0xb8], 1
call fcn.00456ba0
add esp, 0xc
mov esi, str.IDS_SIGN_CONTROL_INST_FAILED
mov ecx, str.CheckRes
call fcn.00420e20
lea edx, [esp + 0x14b8]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x414580
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x14b8]
mov byte [esp + eax + 0xb0], cl
inc eax
cmp cl, bl
jne 0x414590
jmp 0x4145ca
mov esi, str.IDS_SIGN_CONTROL_INST_OK
mov ecx, str.CheckRes
mov dword [esp + 0xac], ebx
call fcn.00420e20
lea edx, [esp + 0x14b8]
mov cl, byte [eax]
inc eax
inc edx
cmp cl, bl
jne 0x4145c2
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
call fcn.0041cab0
mov edx, dword [esp + 0x20]
add esp, 4
cmp edx, ebx
je 0x4145fa
lea eax, [esp + 0xb0]
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4145f0
mov byte [esp + 0x1ad4], 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 0x414621
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1ad4], 0xffffffff
mov eax, dword [esp + 0x1ae0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41464f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x414683
mov dword [esp + 0x1ad4], 0xffffffff
mov eax, dword [esp + 0x1ae0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414681
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1acc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ab4]
xor ecx, esp
call fcn.0044fdb2
add esp, 0x1ac4
ret 0xc