Function at 0x40eb00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599205
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x528], edi
mov dword [ebp - 0x524], 0
mov ebx, dword [edi + 0x24]
mov dword [ebp - 0x52c], ebx
mov edx, dword [ebx + 0x110]
mov ecx, dword [ebx + 0x10c]
cmp ecx, edx
je 0x40eb97
nop dword [eax]
cmp dword [ecx], edi
je 0x40eb6b
add ecx, 4
cmp ecx, edx
jne 0x40eb60
cmp ecx, edx
je 0x40eb97
cmp dword [ebx + 0x118], 0
je 0x40eb80
mov dword [ecx], 0
jmp 0x40eb97
lea eax, [ecx + 4]
sub edx, eax
push edx
push eax
push ecx
call fcn.0056f160
add esp, 0xc
add dword [ebx + 0x110], 0xfffffffc
mov ecx, dword [ebp + 8]
mov dword [edi + 0x24], 0
cmp ecx, 0xc73d
jg 0x40ee1b
cmp ecx, 0xc73c
jge 0x40ed0e
cmp ecx, 0x8ca3
jg 0x40ecc3
je 0x40ec12
sub ecx, 0x8ca0
je 0x40ebeb
sub ecx, 1
jne case.default.0x40ee2a
push ecx
lea edx, [edi + 0x18]
mov ecx, ebx
call fcn.00420cb0
add esp, 4
jmp 0x40f5a1
mov ecx, dword [edi + 8]
lea esi, [edi + 0x18]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push 1
mov edx, esi
mov ecx, ebx
call fcn.00420cb0
mov ecx, dword [edi + 8]
add esp, 4
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x40f5a1
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x524]
lea edx, [edi + 0x18]
push eax
call fcn.00421520
mov edi, eax
add esp, 4
test edi, edi
je 0x40f5a1
mov esi, dword [ebp - 0x524]
xor eax, eax
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea ecx, [ebp - 0x45c]
mov dword [ebp - 4], 0x1c
call fcn.0041da60
test al, al
je 0x40eca8
cmp esi, 0xffffffff
jne 0x40ec96
mov esi, dword [edi + 0x24]
sub esi, dword [edi + 0x20]
sar esi, 2
push esi
push edi
lea edx, [ebp - 0x45c]
mov ecx, ebx
call fcn.004209f0
add esp, 8
lea ecx, [ebp - 0x450]
call fcn.00405c10
lea ecx, [ebp - 0x45c]
call fcn.0041bd00
jmp 0x40f5a1
lea eax, [ecx - 0xc738]
cmp eax, 2
ja case.default.0x40ee2a
cmp ecx, 0xc738
jne 0x40ece1
mov edx, 3
jmp 0x40ecf3
xor edx, edx
cmp ecx, 0xc739
setne dl
lea edx, [edx*2 + 6]
mov ecx, dword [edi + 4]
lea eax, [edi + 0x18]
push edx
mov edx, dword [edi + 0xc]
push eax
push dword [edi + 0x10]
call fcn.00420b10
add esp, 0xc
jmp 0x40f5a1
mov eax, dword [edi + 0x1c]
mov ebx, dword [edi + 0x18]
sub eax, ebx
sar eax, 2
cmp eax, 1
je 0x40ed82
cmp dword [0x61a268], 1
jne 0x40ed68
cmp dword [0x61a250], 3
jg 0x40ed68
push 3
push 0x90
push str.f:my_lab_tabexplorerextab_master_srcchrome_bookmark_bookmark_context_menu_controller_views.cc
lea ecx, [ebp - 0xc0]
call fcn.0046c100
mov dword [ebp - 4], 0
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_false.
mov dword [ebp - 0x524], ebx
call fcn.00403840
jmp 0x40ed6e
mov ebx, dword [ebp - 0x524]
test bl, 1
je 0x40f5a1
lea ecx, [ebp - 0xc0]
jmp 0x40f59c
mov ebx, dword [ebx]
cmp dword [ebx + 0xcc], 0
jne 0x40edeb
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push ecx
lea eax, [ebp - 0x434]
mov dword [ebp - 4], 1
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push eax
push dword [edi + 0x14]
call fcn.00410140
add esp, 0xc
lea ecx, [ebp - 0x42c]
call fcn.0040ff10
jmp 0x40f5a1
mov esi, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 0x20
call fcn.00550175
add esp, 4
mov dword [ebp - 0x528], eax
push 1
push 0xffffffffffffffff
push ebx
push esi
push edi
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00413d50
jmp 0x40f5a1
add ecx, 0xffff38c2
cmp ecx, 6
ja case.default.0x40ee2a
jmp dword [ecx*4 + 0x40f5cc]
mov ecx, dword [edi + 8]
lea ebx, [edi + 0x18]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
test eax, eax
je 0x40ee80
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ebx]
mov eax, dword [eax + edi*4]
push eax
mov esi, dword [eax + 0x1c]
mov ecx, esi
call fcn.0040f890
mov ecx, dword [ebp - 0x52c]
push eax
push esi
call fcn.00418f50
mov eax, dword [ebx + 4]
inc edi
sub eax, dword [ebx]
sar eax, 2
cmp edi, eax
jb 0x40ee50
mov edi, dword [ebp - 0x528]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebx]
mov dword [ebx + 4], eax
jmp 0x40f5a1
call fcn.0042dcd0
mov ecx, eax
call fcn.00427610
mov esi, eax
test esi, esi
je 0x40f5a1
lea ecx, [esi + 0x70]
push ecx
lea ecx, [ebp - 0x48c]
call fcn.00405a50
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x4a4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [ebp - 0x508]
mov byte [ebp - 4], 4
call fcn.00551750
push 0xfde9
lea edx, [ebp - 0x48c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x474]
call fcn.00472c20
add esp, 4
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x508]
call fcn.00551a40
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x460]
cmp edx, 0x10
jb 0x40ef4c
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5bf
push edx
push ecx
call fcn.0055053d
add esp, 8
lea ecx, [ebp - 0x434]
call fcn.0040fed0
lea eax, [ebp - 0x508]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x434], 1
call fcn.005514f0
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x28]
call fcn.00405a50
mov byte [ebp - 4], 9
lea eax, [ebp - 0x8c]
mov esi, dword [ebp - 0x428]
push eax
cmp dword [ebp - 0x424], esi
je 0x40efcd
mov ecx, esi
mov dword [ebp - 0x528], esi
call fcn.005514f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x64]
call fcn.00405a50
mov byte [ebp - 4], 9
add dword [ebp - 0x428], 0x7c
jmp 0x40efd9
push esi
lea ecx, [ebp - 0x42c]
call fcn.0040fab0
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
sub eax, edx
mov ecx, dword [edi + 0x14]
and eax, 0xfffffffc
cmp eax, 4
jne 0x40eff8
mov eax, dword [edx]
cmp dword [eax + 0xcc], 0
cmovne ecx, eax
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0x434]
push ecx
push eax
push ecx
mov ecx, dword [edi + 4]
call fcn.00410140
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00405c10
lea ecx, [ebp - 0x8c]
call fcn.0040a130
lea ecx, [ebp - 0x42c]
call fcn.0040ff10
lea ecx, [ebp - 0x508]
call fcn.0040a130
lea ecx, [ebp - 0x4a4]
call fcn.00405c10
lea ecx, [ebp - 0x48c]
call fcn.00405c10
jmp 0x40f5a1
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x528]
lea edx, [edi + 0x18]
push eax
call fcn.00421520
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
push 0
push dword [ebp - 0x528]
push eax
call fcn.00413cf0
add esp, 0x10
jmp 0x40f5a1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f6e0
push 0x58
lea eax, [ebp - 0x4fc]
push 0
push eax
call fcn.0056f6e0
mov eax, dword [edi + 4]
add esp, 0x18
mov dword [ebp - 0x4f8], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x4e0], eax
lea eax, [ebp - 0x4fc]
mov dword [ebp - 0x4fc], 0x58
push eax
mov dword [ebp - 0x4dc], 0x208
mov dword [ebp - 0x4f0], 0x5c91f8
mov dword [ebp - 0x4e4], 1
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4c8], 0x12
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
cmp eax, 1
jne 0x40f5a1
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.Bookmarks
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 4], 0xc
call fcn.0040fa30
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x438]
call fcn.004771f0
push eax
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0xe
call fcn.004059e0
lea ecx, [ebp - 0x450]
call fcn.00405c10
lea ecx, [ebp - 0x4a4]
call fcn.00405c10
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x218]
push 0
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x438]
call fcn.00405c10
jmp 0x40f5a1
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0056f6e0
push 0x58
lea eax, [ebp - 0x4fc]
push 0
push eax
call fcn.0056f6e0
mov eax, dword [edi + 4]
add esp, 0x18
mov dword [ebp - 0x4f8], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x4e0], eax
lea eax, [ebp - 0x4fc]
mov dword [ebp - 0x4fc], 0x58
push eax
mov dword [ebp - 0x4dc], 0x208
mov dword [ebp - 0x4f0], 0x5c91f8
mov dword [ebp - 0x4e4], 1
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4c8], 0x1800
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
cmp eax, 1
jne 0x40f5a1
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x474]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.Bookmarks
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0xf
call fcn.0040fa30
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x474]
call fcn.004771f0
push eax
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x11
call fcn.004059e0
lea ecx, [ebp - 0x520]
call fcn.00405c10
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0xf
call fcn.00405c10
cmp dword [ebp - 0x460], 8
lea eax, [ebp - 0x474]
push 0
cmovae eax, dword [ebp - 0x474]
push eax
push dword [ebp - 0x4e0]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.0040fa30
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x450]
call fcn.00405a50
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x14
call fcn.00405c10
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00477e40
push 0x5c9234
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x15
call fcn.0040fa30
lea edx, [ebp - 0x438]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x48c]
call fcn.00471250
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x18
call fcn.00405c10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x520]
call fcn.0040fa30
lea eax, [ebp - 0x520]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x438]
call fcn.00405a50
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00478940
lea ecx, [ebp - 0x438]
call fcn.00405c10
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0x18
call fcn.00405c10
push ecx
lea edx, [ebp - 0x430]
mov word [ebp - 0x430], 0
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 0x42e], 0
mov dword [ebp - 0x42c], 0
mov byte [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
call fcn.00476730
add esp, 4
call fcn.0042dcd0
test eax, eax
je 0x40f44f
mov byte [0x61a150], 1
call fcn.0042da10
mov edx, dword [ebp - 0x478]
cmp edx, 0x10
jb 0x40f489
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f47f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5c4
push edx
push ecx
call fcn.0055053d
add esp, 8
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
call fcn.00477ed0
lea ecx, [ebp - 0x450]
call fcn.00405c10
lea ecx, [ebp - 0x474]
call fcn.00405c10
jmp 0x40f5a1
mov ecx, dword [edi + 0xc]
call fcn.00421320
jmp 0x40f5a1
call fcn.0042dcd0
test eax, eax
jne 0x40f5a1
cmp dword [0x61a268], 1
jne 0x40f52e
cmp dword [0x61a250], 3
jg 0x40f52e
push 3
push 0x122
push str.f:my_lab_tabexplorerextab_master_srcchrome_bookmark_bookmark_context_menu_controller_views.cc
lea ecx, [ebp - 0xc0]
call fcn.0046c100
mov dword [ebp - 4], 0x1b
lea ecx, [eax + 8]
mov ebx, 2
mov edx, str.Check_failed:_false.
mov dword [ebp - 0x524], ebx
call fcn.00403840
jmp 0x40f534
mov ebx, dword [ebp - 0x524]
test bl, 2
je 0x40f5a1
lea ecx, [ebp - 0xc0]
jmp 0x40f59c
cmp dword [0x61a268], 1
jne 0x40f58b
cmp dword [0x61a250], 3
jg 0x40f58b
push 3
push 0x13c
push str.f:my_lab_tabexplorerextab_master_srcchrome_bookmark_bookmark_context_menu_controller_views.cc
lea ecx, [ebp - 0x5dc]
call fcn.0046c100
mov dword [ebp - 4], 0x1d
lea ecx, [eax + 8]
mov ebx, 4
mov edx, str.Check_failed:_false.
mov dword [ebp - 0x524], ebx
call fcn.00403840
jmp 0x40f591
mov ebx, dword [ebp - 0x524]
test bl, 4
je 0x40f5a1
lea ecx, [ebp - 0x5dc]
call fcn.0046c520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 4
call fcn.00572795
call fcn.00572795
nop dword [eax]
xor esi, ebp
inc eax
add byte [edx + 0x530040ee], dl
invalid