Function at 0x415040
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x48f8d3
mov eax, dword fs:[0]
push eax
mov eax, 0x17b0
call fcn.00456080
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x17ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afa68]
xor eax, esp
push eax
lea eax, [esp + 0x17c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x17d4]
mov ebp, dword [esp + 0x17dc]
mov dword [esp + 0x1c], eax
xor ebx, ebx
push 0x207
lea ecx, [esp + 0x13bd]
push ebx
mov dword [esp + 0x17d4], ebx
push ecx
mov byte [esp + 0x13c4], bl
call fcn.00457ee0
push 0x104
lea edx, [esp + 0x30]
push ebx
push edx
call fcn.00457ee0
add esp, 0x18
lea ecx, [esp + 0x20]
call fcn.0041e150
lea eax, [esp + 0x20]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4150d5
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 + 0x128]
push ebx
push edx
mov dword [eax + 8], ecx
call fcn.00457ee0
mov edx, dword [esp + 0x17e4]
mov eax, dword [str.INST]
mov cl, byte [0x49c96c]
push str.updateSoft_ge1_ocx
push edx
mov dword [esp + 0x138], eax
mov byte [esp + 0x13c], cl
call fcn.0045203c
add esp, 0x14
cmp eax, ebx
sete al
cmp al, bl
je 0x415168
mov eax, dword [str.ge1_ocx]
mov ecx, dword [0x49b4f4]
xor esi, esi
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
jmp 0x415279
mov edx, dword [esp + 0x17d8]
push str.updateSoft_ge2_ocx
push edx
call fcn.0045203c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x4151b0
mov eax, dword [str.ge2_ocx]
mov ecx, dword [0x49b504]
mov esi, 1
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
jmp 0x415279
mov edx, dword [esp + 0x17d8]
push str.updateSoft_cryptokit_dll
push edx
call fcn.0045203c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x415214
mov eax, dword [str.cryptokit_dll]
mov ecx, dword [0x49b51c]
mov edx, dword [0x49b520]
mov dword [esp + 0x1b0], eax
mov ax, word [0x49b524]
mov esi, 2
mov dword [esp + 0x1a8], 8
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], edx
mov word [esp + 0x1bc], ax
jmp 0x415279
mov ecx, dword [esp + 0x17d8]
push str.updateSoft_npkoalii_dll
push ecx
call fcn.0045203c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x4154e4
mov edx, dword [str.npkoalii_dll]
mov eax, dword [0x49b538]
mov ecx, dword [0x49b53c]
mov dword [esp + 0x1b0], edx
mov dl, byte [0x49b540]
mov esi, 3
mov dword [esp + 0x1a8], 9
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], ecx
mov byte [esp + 0x1bc], dl
push str.__SP____VERYSILENT__norestart
lea ecx, [esp + 0x1c]
call fcn.004031c0
push 0x1ff
lea eax, [esp + 0x15c5]
mov byte [esp + 0x17d0], 1
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x15cc], bl
call fcn.00457ee0
push 0x103
lea ecx, [esp + 0x12c5]
push ebx
push ecx
mov byte [esp + 0x12cc], bl
call fcn.00457ee0
push 0x103
lea edx, [esp + 0x3d]
push ebx
push edx
mov byte [esp + 0x44], bl
call fcn.00457ee0
lea edx, [esi + esi*4]
shl edx, 7
lea eax, [edx + str.SignX_ZJRCU.ocx]
lea esi, [esp + 0x44]
add esp, 0x24
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp cl, bl
jne 0x4152f0
lea eax, [edx + str.SignX_ZJRCU]
lea edx, [esp + 0x15c0]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x415310
lea edi, [esp + 0x14]
lea ecx, [esp + 0x15c0]
call fcn.0041ed10
cmp dword [esp + 0x14], 1
jne 0x415363
lea eax, [esp + 0x15c0]
push eax
lea ecx, [esp + 0x12b8]
call fcn.0041eef0
xor eax, eax
jmp 0x415350
mov cl, byte [esp + eax + 0x12b4]
mov byte [esp + eax + 0x13b8], cl
inc eax
cmp cl, bl
jne 0x415350
lea eax, [esp + 0x12b4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415370
sub eax, edx
cmp eax, 3
jae 0x4153b9
lea ecx, [esp + 0x13b8]
call fcn.0041e150
lea eax, [esp + 0x20]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415390
lea edi, [esp + 0x13b8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4153a1
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]
push 0x103
lea ecx, [esp + 0x11b5]
push ebx
push ecx
mov byte [esp + 0x11bc], bl
call fcn.00457ee0
add esp, 0xc
lea ecx, [esp + 0x11b0]
call fcn.0041e150
lea eax, [esp + 0x20]
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4153e8
lea edi, [esp + 0x11b0]
sub eax, ecx
mov esi, ecx
dec edi
jmp 0x415400
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x415400
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, eax
lea edx, [esp + 0x11b4]
push edx
lea eax, [esp + 0x13c0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x11b0]
call fcn.00418ed0
lea ecx, [esp + 0x13b8]
lea edi, [esp + 0x15c0]
mov esi, eax
call fcn.0041f270
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp esi, ebx
sete cl
lea edx, [esp + 0x124]
push edx
mov dword [esp + 0x1b0], ecx
call fcn.0041e000
add esp, 4
cmp ebp, ebx
je 0x41548b
lea eax, [esp + 0x1b0]
mov edx, ebp
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x415481
mov byte [esp + 0x17cc], 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 0x4154b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x17cc], 0xffffffff
mov eax, dword [esp + 0x17d8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4154e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x415514
mov dword [esp + 0x17cc], 0xffffffff
mov eax, dword [esp + 0x17d8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415512
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x17c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x17ac]
xor ecx, esp
call fcn.004512da
add esp, 0x17bc
ret 0xc