Function at 0x406db0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ca80
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x43a00c]
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
cmp dword [0x43bea8], 0
jne 0x406e62
cmp dword [0x43ba80], 0
je 0x4070d0
lea ecx, [ebp - 0x250]
call fcn.004011a0
cmp dword [eax + 0x14], 0x10
jb 0x406e07
mov eax, dword [eax]
push 0x2a6
push str.D:qianliu_agentworkspace0mq_gitlab7538NetProxyInstCa_firefox_ca.cpp
push eax
push str._DEBUG___s__s:_d_tlist_is_empty__no_need_to_save._n
push dword [0x43ba80]
call fcn.00402120
add esp, 0x14
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x4070d0
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4070c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072ff
jmp 0x4070c6
push 0x43bec0
push str._s_firefox_profile_list.txt
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.004092c0
push 0x43bec0
push str._s_firefox_profile_list.txt.tmp
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004092c0
lea eax, [ebp - 0x220]
push 0x435fdc
push eax
call fcn.004192d0
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x406f40
cmp dword [0x43ba80], eax
je 0x4072f7
lea ecx, [ebp - 0x250]
call fcn.004011a0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x406ed7
mov esi, dword [esi]
call fcn.00414e02
push dword [eax]
lea eax, [ebp - 0x220]
push eax
push 0x2b4
push str.D:qianliu_agentworkspace0mq_gitlab7538NetProxyInstCa_firefox_ca.cpp
push esi
push str._DEBUG___s__s:_d_tfopen__s_failed__errno_d_n
push dword [0x43ba80]
call fcn.00402120
mov edx, dword [ebp - 0x23c]
add esp, 0x1c
cmp edx, 0x10
jb 0x4072f7
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4072ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407304
jmp 0x4072ed
mov eax, dword [0x43bea4]
mov esi, dword [eax]
cmp esi, eax
je 0x406fb4
nop dword [eax + eax]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x406f5b
mov eax, dword [eax]
push eax
push 0x435fe0
push edi
call fcn.00402120
mov eax, dword [esi + 8]
add esp, 0xc
cmp byte [eax + 0xd], 0
je 0x406f94
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x406f90
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x406f90
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x406f80
mov esi, eax
jmp 0x406fac
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x406fac
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x406fa0
cmp esi, dword [0x43bea4]
jne 0x406f50
push edi
call fcn.0041967f
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x228], 0
add esp, 4
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406fe1
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.004022a0
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
push 0
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.0041918f
add esp, 8
test eax, eax
jne 0x407037
lea eax, [ebp - 0x118]
push eax
call fcn.00419f02
add esp, 4
test eax, eax
je 0x407037
mov bl, 1
jmp 0x407039
xor bl, bl
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x407073
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407309
push edx
push ecx
call fcn.0040f6ee
add esp, 8
test bl, bl
je 0x4070ee
cmp dword [0x43ba80], 0
je 0x4070d0
lea ecx, [ebp - 0x250]
call fcn.004011a0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x407095
mov esi, dword [esi]
call fcn.00414e02
push dword [eax]
lea eax, [ebp - 0x118]
push eax
push 0x2c2
push str.D:qianliu_agentworkspace0mq_gitlab7538NetProxyInstCa_firefox_ca.cpp
push esi
push str._DEBUG___s__s:_d_tunlink__s_failed__errno_d_n
push dword [0x43ba80]
call fcn.00402120
add esp, 0x1c
jmp 0x406e25
push edx
push ecx
call fcn.0040f6ee
add esp, 8
xor eax, eax
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.0040f469
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x250], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407112
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.004022a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x228], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407160
sub ecx, edx
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.004022a0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 5
nop word [eax + eax]
cmp dword [ebp - 0x23c], 0x10
lea ecx, [ebp - 0x250]
lea eax, [ebp - 0x238]
cmovae ecx, dword [ebp - 0x250]
cmp dword [ebp - 0x224], 0x10
push ecx
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.00419703
add esp, 8
test eax, eax
je 0x4071d9
dec esi
test esi, esi
jle 0x4071d4
push 0x3e8
call edi
jmp 0x407190
or esi, 0xffffffff
jmp 0x4071db
xor esi, esi
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x407215
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40720b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072ff
push edx
push ecx
call fcn.0040f6ee
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
cmp edx, 0x10
jb 0x407271
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407267
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072ff
push edx
push ecx
call fcn.0040f6ee
add esp, 8
test esi, esi
je 0x4070d0
cmp dword [0x43ba80], 0
je 0x4072f7
lea ecx, [ebp - 0x268]
call fcn.004011a0
cmp dword [eax + 0x14], 0x10
jb 0x407295
mov eax, dword [eax]
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push 0x2c7
push str.D:qianliu_agentworkspace0mq_gitlab7538NetProxyInstCa_firefox_ca.cpp
push eax
push str._DEBUG___s__s:_d_ttry_rename__s_to__s_failed_n
push dword [0x43ba80]
call fcn.00402120
mov edx, dword [ebp - 0x254]
add esp, 0x1c
cmp edx, 0x10
jb 0x4072f7
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4072ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072ff
push edx
push ecx
call fcn.0040f6ee
add esp, 8
or eax, 0xffffffff
jmp 0x4070d2
call fcn.00415003
call fcn.00415003
call fcn.00415003
int3