Function at 0x10043b70
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x1058
call fcn.1007e4b0
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x1054], eax
xor ecx, ecx
xor eax, eax
push 0x206
push ecx
lea edx, [esp + 0x636]
push edx
mov word [esp + 0x10], ax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x638], cx
call fcn.1007dcf0
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + 0x100e08f8]
mov word [esp + eax + 0x62c], cx
add eax, 2
test cx, cx
jne 0x10043bc0
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe5e]
push ecx
mov word [esp + 0xe60], ax
call fcn.1007dcf0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x23a]
push eax
mov word [esp + 0x23c], dx
call fcn.1007dcf0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xc6e]
push edx
mov word [esp + 0xc70], cx
call fcn.1007dcf0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x45a]
push ecx
mov word [esp + 0x45c], ax
call fcn.1007dcf0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x56]
push eax
mov word [esp + 0x58], dx
call fcn.1007dcf0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x882]
push edx
mov word [esp + 0x884], cx
call fcn.1007dcf0
add esp, 0x48
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa4e]
push ecx
mov word [esp + 0xa50], ax
call fcn.1007dcf0
add esp, 0xc
mov esi, 5
lea edi, [esp + 0xc]
call fcn.100484d0
xor eax, eax
jmp 0x10043cc0
movzx ecx, word [esp + eax + 0x634]
mov word [esp + eax + 0x42c], cx
add eax, 2
test cx, cx
jne 0x10043cc0
lea eax, [esp + 0x42c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10043ce2
mov edx, dword [str.360se6]
mov ecx, dword [0x100a1d00]
mov dword [eax], edx
mov edx, dword [0x100a1d04]
mov dword [eax + 4], ecx
mov ecx, dword [0x100a1d08]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
xor eax, eax
jmp 0x10043d20
movzx ecx, word [esp + eax + 0x42c]
mov word [esp + eax + 0x1c], cx
add eax, 2
test cx, cx
jne 0x10043d20
lea edi, [esp + 0x1c]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10043d40
mov ecx, 6
mov esi, str.Application
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0x1c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10043d61
mov edx, dword [0x1009f590]
lea eax, [esp + 0x1c]
mov dword [edi], edx
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10043d80
mov ecx, dword [0x100a1de4]
mov edx, dword [0x100a1de8]
mov dword [eax], ecx
mov ecx, dword [0x100a1dec]
mov dword [eax + 4], edx
mov edx, dword [0x100a1df0]
mov dword [eax + 8], ecx
mov ecx, dword [0x100a1df4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [esp + eax + 0x1c]
mov word [esp + eax + 0x83c], cx
add eax, 2
test cx, cx
jne 0x10043dc0
lea edx, [esp + 0x83c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10043dff
push 1
push 1
lea ecx, [esp + 0x844]
call fcn.10013f20
test eax, eax
jne 0x10044379
mov eax, dword [0x100d81d0]
mov ecx, dword [0x100d9234]
mov edx, dword [str.v_ds_dr_dd_d]
push eax
push 0
push 0x1b9
push ecx
push edx
xor ecx, ecx
call fcn.1002d3f0
add esp, 0x14
xor eax, eax
jmp 0x10043e30
movzx ecx, word [esp + eax + 0x634]
mov word [esp + eax + 0x224], cx
add eax, 2
test cx, cx
jne 0x10043e30
lea eax, [esp + 0x224]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10043e52
mov ecx, dword [0x100a1d04]
mov edx, dword [0x100a1d08]
push ebx
mov ebx, dword [str.360se6]
mov dword [eax], ebx
push ebp
mov ebp, dword [0x100a1d00]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x14]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10043e90
lea edi, [esp + 0x22c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x10043eb0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10043eb0
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 edi, [esp + 0x22c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10043ed6
mov ecx, 6
mov esi, str.Application
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x63c]
movsw word es:[edi], word [esi]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10043f00
mov ecx, dword [0x100a1d04]
mov edx, dword [0x100a1d08]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x14]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10043f30
lea edi, [esp + 0x63c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x10043f50
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10043f50
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]
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0x22c]
mov word [esp + eax + 0xc54], cx
add eax, 2
test cx, cx
jne 0x10043f70
lea eax, [esp + 0xc54]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10043f92
mov ecx, dword [str.360se.exe]
mov edx, dword [0x100a1dfc]
mov dword [eax], ecx
mov ecx, dword [0x100a1e00]
mov dword [eax + 4], edx
mov edx, dword [0x100a1e04]
mov dword [eax + 8], ecx
mov ecx, dword [0x100a1e08]
mov dword [eax + 0xc], edx
mov dx, word [0x100a1e0c]
lea edi, [esp + 0x22c]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10043fe0
mov ebx, dword [0x1009f590]
mov dword [edi], ebx
xor eax, eax
jmp 0x10044000
movzx ecx, word [esp + eax + 0x22c]
mov word [esp + eax + 0xe5c], cx
add eax, 2
test cx, cx
jne 0x10044000
lea edi, [esp + 0x22c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10044022
mov ecx, 8
mov esi, str.unpack_360se.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0xe5c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10044046
push 0x208
lea eax, [esp + 0x28]
push 0
mov ecx, 7
mov esi, str.new_360se.exe
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1007dcf0
add esp, 0xc
xor eax, eax
jmp 0x10044080
movzx ecx, word [esp + eax + 0x434]
mov word [esp + eax + 0x24], cx
add eax, 2
test cx, cx
jne 0x10044080
lea edi, [esp + 0x24]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100440a0
mov ecx, 6
mov esi, str.Application
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0x24]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100440c1
mov dword [edi], ebx
lea edi, [esp + 0x24]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100440d6
mov ecx, 8
mov esi, str.unpack_360se.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
jmp 0x10044100
movzx ecx, word [esp + eax + 0x434]
mov word [esp + eax + 0xa4c], cx
add eax, 2
test cx, cx
jne 0x10044100
lea edi, [esp + 0xa4c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10044122
mov ecx, 6
mov esi, str.Application
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0xa4c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10044146
mov dword [edi], ebx
lea edi, [esp + 0xa4c]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10044160
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 7
mov esi, str.new_360se.exe
rep movsd dword es:[edi], dword [esi]
xor edi, edi
or ebp, 0xffffffff
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x24]
push ecx
call esi
test eax, eax
jne 0x100441a2
lea edx, [esp + 0xa4c]
push edx
call esi
test eax, eax
je 0x100441f1
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebp
call fcn.100259d0
add esp, 4
test eax, eax
je 0x100441c8
mov eax, dword [esp + 0x10]
cmp eax, 3
je 0x100441c8
cmp eax, ebp
jne 0x10044203
lea ecx, [esp + 0xa4c]
push ecx
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebp
call fcn.100259d0
add esp, 4
test eax, eax
je 0x100441f1
mov eax, dword [esp + 0x10]
cmp eax, 3
je 0x100441f1
cmp eax, ebp
jne 0x10044203
push 0x3e8
call ebx
inc edi
cmp edi, 0x78
jl 0x10044183
jmp 0x1004432c
lea edx, [esp + 0x63c]
push edx
lea ecx, [esp + 0x438]
call fcn.10043900
push 0
call fcn.100317f0
add esp, 8
test eax, eax
je 0x100442e7
mov eax, dword [0x100d81d0]
mov ecx, dword [0x100d9234]
mov edx, dword [str.v_ds_dr_dd_d]
push eax
push 0
push 0x1b7
push ecx
push edx
xor ecx, ecx
call fcn.1002d3f0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
lea eax, [esp + 0x22c]
push eax
call esi
test eax, eax
je 0x10044279
lea ecx, [esp + 0x22c]
push ecx
lea edi, [esp + 0xc58]
call fcn.1000db90
add esp, 4
lea edx, [esp + 0xe5c]
push edx
call esi
test eax, eax
je 0x1004429e
lea eax, [esp + 0xe5c]
push eax
lea edi, [esp + 0xc58]
call fcn.1000db90
add esp, 4
lea ecx, [esp + 0x844]
push ecx
call esi
test eax, eax
je 0x10044315
push 1
push 1
lea ecx, [esp + 0x84c]
call fcn.10013f20
test eax, eax
je 0x10044315
mov edx, dword [0x100d81d0]
mov eax, dword [0x100d9234]
mov ecx, dword [str.v_ds_dr_dd_d]
push edx
push 0
push 0x1b8
push eax
push ecx
xor ecx, ecx
call fcn.1002d3f0
add esp, 0x14
jmp 0x10044315
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
lea edx, [esp + 0xc58]
push edx
lea eax, [esp + 0x234]
push eax
call esi
push 1
lea ecx, [esp + 0xc58]
push ecx
lea edx, [esp + 0xe64]
push edx
call esi
lea eax, [esp + 0x434]
push eax
lea ecx, [esp + 0x640]
call fcn.10043900
add esp, 4
lea ecx, [esp + 0x844]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebp
pop ebx
test eax, eax
je 0x10044379
push 1
push 1
lea ecx, [esp + 0x844]
call fcn.10013f20
test eax, eax
je 0x10044379
mov edx, dword [0x100d81d0]
mov eax, dword [0x100d9234]
mov ecx, dword [str.v_ds_dr_dd_d]
push edx
push 0
push 0x1ba
push eax
push ecx
xor ecx, ecx
call fcn.1002d3f0
add esp, 0x14
mov ecx, dword [esp + 0x105c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10079a05
add esp, 0x1058
ret