Function at 0x41a838
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc24
mov eax, dword [0x6ffe74]
xor eax, esp
mov dword [esp + 0xc20], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x69]
push esi
push edi
push 0x3e7
push 0
push eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x7c], 0
call fcn.006390b0
mov esi, str._accounts.dat
mov byte [esp + 0x84c], 0
lea edi, [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x841]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x3e7
push esi
push 0
push eax
call fcn.006390b0
add esp, 0xc
mov byte [esp + 0x458], 0
lea eax, [esp + 0x459]
push esi
push 0
push eax
call fcn.006390b0
and dword [esp + 0x18], 0
add esp, 0xc
and dword [esp + 0x10], 0
test ebx, ebx
je 0x41a916
push ebx
call fcn.00643470
pop ecx
cmp eax, 1
jb 0x41a916
push ebx
inc esi
lea eax, [esp + 0x74]
push esi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [esp + 0x70]
push eax
call fcn.00643470
pop ecx
cmp byte [esp + eax + 0x6f], 0x5c
jne 0x41a94a
lea eax, [esp + 0x70]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, esi
jae 0x41ac55
xor ebx, ebx
mov byte [esp + eax + 0x70], bl
jmp 0x41a94c
lea eax, [esp + 0x70]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x41ac36
push 0x6c9c44
mov esi, 0x3e8
lea eax, [esp + 0x74]
push esi
push eax
call fcn.006500a8
add esp, 0xc
jmp 0x41a94c
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x74]
push esi
push eax
call fcn.006500a8
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.00405670
test eax, eax
je 0x41ac36
lea eax, [esp + 0x840]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
cdq
mov ecx, 0x186a0
idiv ecx
lea eax, [esp + 0x840]
push edx
push eax
push str._semacc__d
lea eax, [esp + 0x464]
push esi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [esp + 0x458]
push ebx
push eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41a9d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x70]
jmp 0x41a9d7
lea ecx, [esp + 0x458]
push ebx
push 1
lea edx, [esp + 0x14]
call fcn.004bffc8
pop ecx
pop ecx
test eax, eax
jne 0x41ac3c
push 8
pop ecx
lea eax, [esp + 0x2c]
mov esi, str.select_key__value_from_Accounts
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00643470
pop ecx
push ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push ebx
push 0x80
push eax
call fcn.0049d467
mov ebx, dword [esp + 0x24]
add esp, 0x14
test eax, eax
jne 0x41aae6
test ebx, ebx
je 0x41aae6
push ebx
call fcn.0047234d
pop ecx
cmp eax, 0x65
je 0x41aa76
mov edi, dword [esp + 0x18]
cmp eax, 0x64
jne 0x41aa76
push 1
push ebx
call fcn.004727c0
push 1
push ebx
mov esi, eax
call fcn.004727e7
add esp, 0x10
mov ecx, edi
push eax
push esi
call fcn.0041a44b
push ebx
call fcn.0047234d
pop ecx
cmp eax, 0x65
jne 0x41aa47
mov esi, dword [ebx]
mov ecx, ebx
call fcn.00471953
test eax, eax
je 0x41aa8f
mov ecx, 0x15fb2
call fcn.004c0852
jmp 0x41aae6
cmp dword [esi + 0xc], 0
je 0x41aa9f
push dword [esi + 0xc]
call dword [0x70f168]
pop ecx
cmp dword [ebx + 0x8c], 0
jl 0x41aabc
jg 0x41aab3
cmp dword [ebx + 0x88], 0
jbe 0x41aabc
mov edx, ebx
mov ecx, esi
call fcn.00471970
mov ecx, ebx
call fcn.0047035b
mov ecx, ebx
mov edi, eax
call fcn.004704f6
cmp byte [esi + 0x57], 0
jne 0x41aad6
test edi, edi
je 0x41aadf
mov edx, edi
mov ecx, esi
call fcn.00451a83
mov ecx, esi
call fcn.004be94a
and dword [esp + 0x14], 0
lea eax, [esp + 0x4c]
push 9
pop ecx
mov esi, str.select_key__value_from_AccountsJson
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00643470
pop ecx
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x54]
push 0
push 0x80
push eax
call fcn.0049d467
add esp, 0x14
test eax, eax
jne 0x41ac1b
mov edi, dword [esp + 0x14]
test edi, edi
je 0x41ac1b
push edi
call fcn.0047234d
pop ecx
cmp eax, 0x65
je 0x41ab89
mov ebx, dword [esp + 0x18]
cmp eax, 0x64
jne 0x41ab85
push 1
push edi
call fcn.004728b2
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41ab79
push esi
call fcn.00643470
pop ecx
cmp eax, 0x2710
jbe 0x41ab71
mov byte [esi + 0x2328], 0
push esi
mov ecx, ebx
call fcn.0041a5c9
push edi
call fcn.0047234d
pop ecx
cmp eax, 0x65
jne 0x41ab47
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x41abfd
mov esi, dword [ebx]
mov ecx, ebx
call fcn.00471953
test eax, eax
je 0x41aba6
mov ecx, 0x15fb2
call fcn.004c0852
jmp 0x41abfd
cmp dword [esi + 0xc], 0
je 0x41abb6
push dword [esi + 0xc]
call dword [0x70f168]
pop ecx
cmp dword [ebx + 0x8c], 0
jl 0x41abd3
jg 0x41abca
cmp dword [ebx + 0x88], 0
jbe 0x41abd3
mov edx, ebx
mov ecx, esi
call fcn.00471970
mov ecx, ebx
call fcn.0047035b
mov ecx, ebx
mov edi, eax
call fcn.004704f6
cmp byte [esi + 0x57], 0
jne 0x41abed
test edi, edi
je 0x41abf6
mov edx, edi
mov ecx, esi
call fcn.00451a83
mov ecx, esi
call fcn.004be94a
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.004be7da
lea ecx, [esp + 0x458]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
inc eax
jmp 0x41ac3e
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.004be7da
lea eax, [esp + 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x41ac3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [esp + 0xc2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006122f0
mov esp, ebp
pop ebp
ret 4
call fcn.00612782
int3