Function at 0x410969
Capabilities:
Copy file

Disassembly:
push 0x12c
mov eax, 0x602cbf
call fcn.004f0658
mov ebx, ecx
mov dword [ebp - 0xf4], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf0], eax
call fcn.00411ce5
xor edx, edx
cmp dword [esi + 0x10], edx
je 0x4111d4
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0x10], edx
je 0x4111d4
cmp dword [edi + 0x10], edx
je 0x4111d4
cmp dword [ebp - 0x100], edx
je 0x4111d4
mov ecx, dword [ebp - 0x104]
test ecx, ecx
je 0x4111d4
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x4111d4
push edx
push edx
push 1
mov byte [ecx], dl
push edx
mov byte [eax], dl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x4111d4
mov dword [ebx + 0x70], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x74]
movlpd qword [ebp - 0x24], xmm0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x6c], VariantTimeToDosDateTime
mov dword [ebp - 0x24], vtable.ClassPtr_class_WebClient_.0
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
call fcn.0045d0db
mov ebx, eax
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x410a5d
int3
mov edx, dword [eax]
push 0
push dword [ebp + 0x14]
mov esi, dword [edx + 0x30]
mov ecx, esi
push dword [ebp + 0x14]
call dword [0x62275c]
mov ecx, dword [ebp - 0x20]
call esi
mov esi, dword [ebp - 0xf4]
cmp dword [esi + 0x88], 0
je 0x410a9e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x410a8e
int3
lea eax, [esi + 0x90]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.0045f552
test ebx, ebx
js 0x41109f
cmp dword [ebp - 0x20], 0
jne 0x410aad
int3
mov eax, dword [ebp - 0xf8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x410abd
mov ecx, dword [eax]
mov esi, dword [ebp - 0xfc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x410acd
mov eax, dword [esi]
mov esi, dword [ebp - 0xf4]
push esi
push 1
push ecx
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0045d66d
mov ebx, eax
test ebx, ebx
js 0x41109f
push 0xdbba0
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, eax
xor eax, eax
test ebx, ebx
jne 0x411080
cmp dword [esi + 0x6c], eax
jl 0x411080
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x410b32
int3
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045e27b
mov ebx, eax
test ebx, ebx
js 0x41106e
xor ebx, ebx
mov dword [ebp - 0x48], 7
xor eax, eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
push edi
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call fcn.0040ca6e
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 4
push eax
call fcn.00460f69
cmp dword [ebp - 0x34], ebx
je 0x410e3b
lea eax, [ebp - 0x44]
mov dword [ebp - 0x74], ebx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.0040ca6e
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
call fcn.00460f69
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x410bc2
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0046100e
mov ebx, eax
mov byte [ebp - 4], 6
cmp dword [ebx + 0x14], 8
jb 0x410bdd
mov ebx, dword [ebx]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0046100e
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x410c01
mov eax, dword [eax]
push ebx
push eax
push ecx
call fcn.0040d9b1
lea ecx, [ebp - 0x138]
call fcn.00405795
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 5
call fcn.00405795
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x410c2b
int3
mov eax, dword [ecx]
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x30], 8
push edx
lea edx, [ebp - 0x19]
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push edx
push eax
push ecx
mov ecx, esi
call dword [0x62275c]
call esi
cmp dword [ebp - 0x4c], 0
mov ebx, eax
jne 0x410c61
mov ebx, 0xc02500b7
jmp 0x410e2a
test ebx, ebx
js 0x410e2a
mov esi, dword [ebp - 0x100]
lea ecx, [ebp - 0x5c]
push esi
call fcn.0040c3f0
mov ecx, dword [ebp - 0xf0]
xor al, 1
cmp dword [ebp - 0x48], 8
mov edx, esi
mov byte [ecx], al
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
cmp dword [esi + 0x14], 8
jb 0x410c97
mov edx, dword [esi]
push ecx
push edx
push eax
push ecx
mov edx, 0x3d7
call fcn.0040da6c
mov eax, dword [ebp - 0xf0]
cmp byte [eax], 0
je 0x410dc3
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x108]
call fcn.0041443c
mov ebx, eax
test ebx, ebx
js 0x410e2a
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x410cd6
mov ecx, dword [edi]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x410d5b
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.0040c350
mov ecx, dword [ebp - 0x104]
mov al, byte [ebp - 0x19]
mov byte [ecx], al
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x410d0f
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0046100e
mov esi, eax
mov byte [ebp - 4], 8
cmp dword [esi + 0x14], 8
jb 0x410d2a
mov esi, dword [esi]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0046100e
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x410d4e
mov eax, dword [eax]
push esi
push eax
push ecx
call fcn.0040db3b
jmp 0x410e14
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x410d79
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0046100e
mov esi, eax
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 8
jb 0x410d94
mov esi, dword [esi]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0046100e
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x410db8
mov eax, dword [eax]
push ebx
push esi
push eax
push ecx
call fcn.0040dbf6
jmp 0x410e14
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x410dcd
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0046100e
mov esi, eax
mov byte [ebp - 4], 0xc
cmp dword [esi + 0x14], 8
jb 0x410de8
mov esi, dword [esi]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0046100e
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x410e0c
mov eax, dword [eax]
push esi
push eax
push ecx
call fcn.0040dcc3
lea ecx, [ebp - 0x120]
call fcn.00405795
lea ecx, [ebp - 0x138]
call fcn.00405795
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00405795
jmp 0x410ff4
push 8
pop ebx
mov eax, edi
cmp dword [edi + 0x14], ebx
jb 0x410e47
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0046100e
mov esi, eax
mov byte [ebp - 4], 0xe
cmp dword [esi + 0x14], ebx
jb 0x410e61
mov esi, dword [esi]
cmp dword [ebp - 0x30], ebx
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0046100e
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], ebx
jb 0x410e83
mov eax, dword [eax]
push esi
push eax
push ecx
call fcn.0040dd7e
lea ecx, [ebp - 0x120]
call fcn.00405795
lea ecx, [ebp - 0x138]
call fcn.00405795
and dword [ebp - 0x2c], 0
push 0x48
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x10
push 0
push eax
call fcn.0041c790
mov ecx, dword [ebp - 0x108]
add esp, 0xc
push dword [ebp - 0x28]
call fcn.0041443c
mov ebx, eax
test ebx, ebx
js 0x410fe8
mov eax, dword [ebp - 0x28]
push 1
mov ecx, dword [eax]
mov esi, dword [ecx + 0x30]
lea ecx, [ebp - 0xec]
push ecx
push eax
mov ecx, esi
call dword [0x62275c]
call esi
mov ebx, eax
test ebx, ebx
js 0x410fe8
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x410f04
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push 0x1001
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
mov ebx, eax
test ebx, ebx
js 0x410fe8
mov eax, dword [ebp - 0x28]
push 0
push 0
push dword [ebp - 0xe0]
mov ecx, dword [eax]
push dword [ebp - 0xe4]
push dword [ebp - 0x2c]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
push eax
call dword [0x62275c]
call esi
mov ebx, eax
test ebx, ebx
js 0x410fe8
mov eax, dword [ebp - 0x2c]
push 0
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x62275c]
call esi
mov ebx, eax
test ebx, ebx
js 0x410fe8
lea ecx, [ebp - 0x2c]
call fcn.004144eb
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x19]
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
call fcn.0040fa28
mov ebx, eax
test ebx, ebx
js 0x410fe8
mov esi, dword [ebp - 0x100]
lea ecx, [ebp - 0x5c]
push esi
call fcn.0040c3f0
mov ecx, dword [ebp - 0xf0]
xor al, 1
cmp dword [ebp - 0x48], 8
mov edx, esi
mov byte [ecx], al
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
cmp dword [esi + 0x14], 8
jb 0x410fb9
mov edx, dword [esi]
push ecx
push edx
push eax
push ecx
mov edx, 0x419
call fcn.0040da6c
mov eax, dword [ebp - 0xf0]
cmp byte [eax], 0
je 0x410fe8
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.0040c350
mov ecx, dword [ebp - 0x104]
mov al, byte [ebp - 0x19]
mov byte [ecx], al
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040bd7a
test ebx, ebx
js 0x411055
cmp dword [ebp - 0x4c], 0
je 0x411055
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x411008
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0046100e
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x411021
mov eax, dword [eax]
mov esi, dword [ebp - 0xfc]
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x411031
mov edx, dword [esi]
mov esi, dword [ebp - 0xf8]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x411041
mov ecx, dword [esi]
push eax
push edx
push ecx
push ecx
call fcn.0040de39
lea ecx, [ebp - 0x120]
call fcn.00405795
lea ecx, [ebp - 0x8c]
call fcn.00405795
lea ecx, [ebp - 0x5c]
call fcn.00405795
mov esi, dword [ebp - 0xf4]
lea ecx, [ebp - 0x44]
call fcn.00405795
lea ecx, [ebp - 0x28]
call fcn.0040bd7a
jmp 0x41109f
push ecx
push ecx
mov ecx, esp
mov dword [ecx], vtable.ClassPtr_class_WebClient_.0
mov dword [ecx + 4], eax
push dword [ebp - 0x20]
call fcn.0040c68a
push ebx
mov ecx, esi
call fcn.004125be
mov ebx, eax
xor ecx, ecx
mov dword [ebp - 0x90], 7
lea eax, [esi + 0xa8]
mov dword [ebp - 0xa4], ecx
mov dword [eax], ecx
mov dword [ebp - 0x94], ecx
mov word [ebp - 0xa4], cx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x4110d2
int3
lea edx, [ebp - 0xa4]
push edx
push eax
call fcn.0045e328
cmp dword [esi + 0x70], 0
je 0x4110f2
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x70], 0
test ebx, ebx
jns 0x41114d
push 8
pop esi
cmp dword [edi + 0x14], esi
jb 0x411100
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x120]
push eax
call fcn.0046100e
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], esi
jb 0x411118
mov eax, dword [eax]
mov ecx, dword [ebp - 0xfc]
mov edx, ecx
cmp dword [ecx + 0x14], esi
jb 0x411127
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xf8]
cmp dword [ecx + 0x14], esi
jb 0x411134
mov ecx, dword [ecx]
push ebx
push eax
push edx
push ecx
push ecx
call fcn.0040df21
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0x12
call fcn.00405795
call fcn.004acb76
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1ec]
mov ecx, esi
call dword [0x62275c]
mov ecx, edi
call esi
test al, al
je 0x4111a7
mov eax, dword [ebp - 0xfc]
cmp dword [eax + 0x14], 8
jb 0x41117a
mov eax, dword [eax]
push 1
push str.UpdateXml
push eax
call fcn.004ae600
test al, al
je 0x4111a7
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x411193
int3
push dword [eax + 0xd0]
mov eax, dword [ebp - 0xf4]
push dword [eax + 0x6c]
call fcn.004129a6
lea ecx, [ebp - 0xa4]
call fcn.00405795
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x24]
push 0
mov dword [ebp - 0x24], vtable.ClassPtr_class_WebClient_.0
call fcn.0040c68a
mov eax, ebx
call fcn.004f0607
ret 0x20
push 0x80004005
call fcn.004056b0
int3