Function at 0x100368c1
Capabilities:
Copy file

Disassembly:
mov eax, 0x100ba379
call fcn.100a0664
sub esp, 0x84
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 4], esi
call fcn.10001a56
cmp dword [ebx + 0x78], esi
je 0x10036c4a
cmp dword [ebx + 0xac], esi
je 0x10036c4a
push str.SwitchHolderWindow
push edi
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x1003694a
mov eax, dword [ebx + 0xac]
add eax, 0x30
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10036937
push dword [ebp + 0xc]
mov eax, dword [ebx + 0xac]
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_SetParent]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push str.ExternalLoadDone
push edi
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10036970
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
mov ecx, dword [ebx + 0xac]
push dword [eax]
call fcn.1003fbe5
jmp 0x10036937
push str.Banner_refresh
push edi
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10036b89
push 0x1010dc04
lea ecx, [ebp + 8]
call fcn.1005d077
push esi
lea edi, [ebx + 0x84]
push str.http:__
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x10036aac
push esi
push 0x100c54a0
mov ecx, edi
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x10036aac
push str.about:blank
mov ecx, edi
call fcn.1000272b
cmp eax, esi
je 0x10036aac
lea eax, [ebp - 0x1c]
push eax
call fcn.10044b9e
pop ecx
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001ccd
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.100449b3
pop ecx
pop ecx
push edi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.10004f80
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.100046db
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001ccd
push 1
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x20]
push eax
call fcn.10044b9e
pop ecx
push eax
lea eax, [ebp - 0x24]
push str.file:__
push eax
mov byte [ebp - 4], 7
call fcn.1000c548
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.100046db
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001ccd
push edi
lea ecx, [ebp + 8]
call fcn.1000c714
mov edi, dword [ebp + 8]
push edi
call fcn.1009e314
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x78]
push 0xfde9
lea ecx, [eax + 0xb8]
mov eax, dword [ecx]
push 1
lea edx, [ebp - 0x14]
push edx
call dword [eax + 0xbc]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x6c]
call fcn.1000b246
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0xa
cmp dword [ebp + 0xc], esi
je 0x10036b1f
push str.m_Second
push dword [ebp + 0xc]
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10036b1f
mov eax, dword [ebx + 0xac]
cmp byte [eax + 0x69], 0
jne 0x10036b1f
mov byte [eax + 0x68], 1
mov eax, dword [ebx + 0xac]
mov byte [eax + 0x69], 0
mov eax, dword [ebx + 0xac]
add eax, 0x74
mov eax, dword [eax]
cmp eax, esi
jne 0x10036b42
push 0x80004003
call fcn.1009f210
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0xd0]
mov ebx, dword [ebx + 0x78]
push dword [ebp - 0x14]
lea ecx, [ebx + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0x6c]
push eax
call esi
lea ecx, [edi - 0x10]
call fcn.10001ccd
jmp 0x10036937
push str.Banner_navigate
push edi
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10036be4
mov ebx, dword [ebx + 0xac]
add ebx, 0x74
mov ebx, dword [ebx]
cmp ebx, esi
je 0x10036b38
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.1000274d
mov eax, dword [eax]
mov byte [ebp - 4], 0xb
cmp eax, esi
je 0x10036bc2
mov eax, dword [eax]
jmp 0x10036bc4
xor eax, eax
mov ecx, dword [ebx]
push esi
push esi
push esi
push esi
push eax
push ebx
call dword [ecx + 0x2c]
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
je 0x10036937
call fcn.10003043
jmp 0x10036937
push str.OnDownloadComplete
push edi
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10036cba
mov dword [ebp + 0xc], esi
mov eax, dword [ebx + 0xac]
mov esi, dword [eax + 0x74]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call fcn.1000b49d
push eax
push esi
call fcn.1004b3d1
pop ecx
test eax, eax
mov eax, dword [ebp + 0xc]
pop ecx
jge 0x10036c33
test eax, eax
mov byte [ebp - 4], 0
je 0x10036c2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffff9
jmp 0x10036c4c
test eax, eax
sete cl
test cl, cl
je 0x10036c52
test eax, eax
mov byte [ebp - 4], 0
je 0x10036c4a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffffd
pop eax
jmp 0x10036939
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x6c]
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.1002cc43
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.DocumentComplete
mov byte [ebp - 4], 0xe
call fcn.100057f4
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x1360]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0x54]
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0xc]
test eax, eax
mov byte [ebp - 4], 0
je 0x10036937
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10036937
mov esi, str.OnBeforeNavigate
push esi
push edi
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10036d31
xor edi, edi
cmp dword [ebx + 0xac], edi
je 0x10036937
push esi
lea ecx, [ebx + 0x90]
call fcn.1000272b
cmp eax, edi
jne 0x10036937
lea esi, [ebx + 0x8c]
push 0x100c503c
mov ecx, esi
call fcn.1000272b
cmp eax, edi
je 0x10036d1f
mov esi, dword [esi]
mov ecx, dword [ebx + 0x78]
push edi
push esi
add ecx, 0x1364
call fcn.10002fb2
cmp eax, 0xffffffff
je 0x10036937
push edi
mov eax, dword [ebx]
push str.Banner_refresh
mov ecx, ebx
call dword [eax + 0x58]
jmp 0x10036937
mov esi, str.OnDocumentComplete
push esi
push edi
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10036e34
push esi
lea ecx, [ebx + 0x90]
call fcn.1000272b
xor edi, edi
cmp eax, edi
jne 0x10036d9d
cmp dword [ebx + 0xac], edi
je 0x10036937
lea esi, [ebx + 0x8c]
push 0x100c503c
mov ecx, esi
call fcn.1000272b
cmp eax, edi
je 0x10036d96
mov esi, dword [esi]
mov ecx, dword [ebx + 0x78]
push edi
push esi
add ecx, 0x1364
call fcn.10002fb2
cmp eax, 0xffffffff
je 0x10036937
push str.m_Second
jmp 0x10036d20
mov dword [ebp + 0xc], edi
mov eax, dword [ebx + 0xac]
mov esi, dword [eax + 0x74]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xf
call fcn.1000b49d
push eax
push esi
call fcn.1004b3d1
pop ecx
cmp eax, edi
mov eax, dword [ebp + 0xc]
pop ecx
jge 0x10036dcc
cmp eax, edi
jmp 0x10036c23
cmp eax, edi
sete cl
test cl, cl
je 0x10036ddc
cmp eax, edi
jmp 0x10036c3e
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x6c]
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.1002cc43
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.DocumentComplete
mov byte [ebp - 4], 0x11
call fcn.100057f4
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x1360]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0x10
call dword [ecx + 0x54]
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0xc]
cmp eax, edi
jmp 0x10036ca5
push str.OnTimer
push edi
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10036937
cmp dword [ebx + 0x9c], eax
jg 0x10036e5b
mov eax, 0xfffffe6f
jmp 0x10036939
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
call fcn.100a3585
lea eax, [ebp - 0x24]
push eax
call fcn.100a4959
push 9
mov esi, eax
mov eax, dword [ebx + 0x9c]
pop ecx
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
add dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
push eax
call fcn.100a4718
add esp, 0xc
cmp eax, 0xffffffff
je 0x10036937
push dword [ebp - 0x18]
push eax
call fcn.100a44a5
fcomp qword [0x100cb978]
pop ecx
pop ecx
fnstsw ax
test ah, 5
jp 0x10036937
mov eax, dword [ebx + 0xac]
add eax, 0x74
xor edi, edi
cmp dword [eax], edi
sete al
test al, al
sete al
test al, al
je 0x10036937
mov eax, dword [ebp - 0x18]
push 0x1010dc04
lea ecx, [ebp + 0xc]
mov dword [ebx + 0xa8], eax
call fcn.1005d077
push edi
lea esi, [ebx + 0x84]
push str.http:__
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x10036fef
push edi
push 0x100c54a0
mov ecx, esi
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x10036fef
push str.about:blank
mov ecx, esi
call fcn.1000272b
cmp eax, edi
je 0x10036fef
lea eax, [ebp - 0x20]
push eax
call fcn.10044b9e
pop ecx
push esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x13
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x15
call fcn.10001ccd
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.100449b3
pop ecx
pop ecx
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x16
call fcn.10004f80
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x17
call fcn.100046db
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x15
call fcn.10001ccd
push 1
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x28]
push eax
call fcn.10044b9e
pop ecx
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x18
call fcn.100046db
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.10001ccd
push esi
lea ecx, [ebp + 0xc]
call fcn.1000c714
push dword [ebp + 0xc]
call fcn.1009e314
pop ecx
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x78]
push 0xfde9
lea ecx, [eax + 0xb8]
mov eax, dword [ecx]
push 1
lea edx, [ebp + 8]
push edx
call dword [eax + 0xbc]
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.100049c6
mov eax, dword [ebx + 0x78]
push dword [ebp + 8]
lea ecx, [eax + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
push edi
lea ecx, [ebp + 0xc]
call fcn.10003413
push eax
lea ecx, [ebp - 0x6c]
call fcn.1000b246
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebx + 0xac]
mov byte [eax + 0x69], 0
mov ebx, dword [ebx + 0xac]
add ebx, 0x74
mov ebx, dword [ebx]
mov byte [ebp - 4], 0x1a
cmp ebx, edi
je 0x10036b38
mov eax, dword [ebx]
lea ecx, [ebp - 0x5c]
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
call dword [eax + 0xd0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0x6c]
push eax
call esi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
jmp 0x10036b7f