Function at 0x4051ef
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44771b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov dword [ebp - 0xb4], ecx
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00401690
add eax, 0xc0
push eax
lea ecx, [ebp - 0x94]
call fcn.0043b78f
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00401660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00401660
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x9a]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x9c]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x9e]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0xa2]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0xa4]
and edx, 0xffff
push edx
push str._04d_02d_02d__02d_02d
lea eax, [ebp - 0x78]
push eax
call fcn.00435d47
add esp, 0x1c
lea ecx, [ebp - 0x78]
push ecx
push 0x459a04
lea edx, [ebp - 0xa8]
push edx
call fcn.0043bd23
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x94]
call fcn.0043be1d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.0043ba1a
push 0
lea ecx, [ebp - 0x94]
call fcn.00401680
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x90]
call fcn.0043bba3
push 0x5c
lea ecx, [ebp - 0x90]
call fcn.004359d8
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xffffffff
je 0x4053c0
lea ecx, [ebp - 0x90]
call fcn.004042d0
sub eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x90]
call fcn.004358e4
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x90]
call fcn.0043bb53
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0043ba1a
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x94]
call fcn.0043be1d
push 0
lea ecx, [ebp - 0x94]
call fcn.00401680
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x459a08
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.0043bcaf
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x78]
call fcn.0043bb53
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.0043ba1a
push str.Account.stg
lea ecx, [ebp - 0x78]
call fcn.0043bdf6
push 1
lea ecx, [ebp - 0x78]
call fcn.00401680
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x88]
call fcn.0043c505
mov byte [ebp - 4], 6
push 0
push 0x8002
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
call fcn.0043c617
test eax, eax
je 0x4054d3
mov dword [ebp - 0x8c], 0
jmp 0x405472
mov ecx, dword [ebp - 0x8c]
add ecx, 1
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x28
jg 0x405488
mov edx, dword [ebp - 0x8c]
mov byte [ebp + edx - 0x74], 0
jmp 0x405463
push 0
push 0xf89
lea ecx, [ebp - 0x88]
call fcn.0043c7b9
push 0x27
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x88]
call fcn.0043c76e
lea ecx, [ebp - 0x88]
call fcn.0043c832
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x8a0]
add edx, 1
mov eax, dword [ebp - 0xb4]
mov dword [eax + 0x8a0], edx
jmp 0x4054e9
push 0x30
mov ecx, dword [ebp + 8]
push ecx
push 0x459a18
mov ecx, dword [ebp - 0xb4]
call fcn.00439c5d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.0043c55a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0043ba1a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.0043ba1a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0043ba1a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8