Function at 0x411470
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov ecx, 0x69d248
push 0xa
mov dword [ebp - 0x3d0], edi
call fcn.00448400
push str.MYMC00000001
mov ebx, eax
mov ecx, 0x5b1a5c
push 0x80000002
mov dword [ebp - 0x3d8], ebx
call fcn.0040e310
mov dword [ebp - 0x3dc], eax
test eax, eax
jne 0x4114dc
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4
push esi
push 0x584770
push str..IniPROFILEID.ini
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
test eax, eax
je 0x411638
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR120.dll_memset
movzx ebx, byte [ebp + 8]
lea eax, [ebp - 0x1cc]
push ebx
push str.ACCOUNT_d
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
push str..IniPROFILEID.ini
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x1cc]
push str.UserName
push eax
call fcn.00565000
push 0x11
lea eax, [ebp - 0xcc]
push eax
lea esi, [edi + 0x7c]
push esi
call fcn.00518910
push str..IniPROFILEID.ini
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x1cc]
push str.PassWord
push eax
call fcn.00565000
add esp, 0x48
lea eax, [ebp - 0xcc]
add edi, 0x8d
push 0x11
push eax
push edi
call fcn.00518910
push 0x11
lea eax, [ebp - 0xcc]
push esi
push eax
call fcn.00518910
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
lea eax, [ebp - 0x1cc]
push ebx
push str.MSOMSO
push str._s_UserName__d
push eax
call esi
add esp, 0x28
lea eax, [ebp - 0xcc]
mov ecx, 0x5b1a5c
push eax
push 1
lea eax, [ebp - 0x1cc]
push eax
push str.MYMC00000001
call fcn.0040e400
push 0x11
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.00518910
push ebx
push str.MSOMSO
lea eax, [ebp - 0x1cc]
push str._s_PassWord__d
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0xcc]
mov ecx, 0x5b1a5c
push eax
push 1
lea eax, [ebp - 0x1cc]
push eax
push str.MYMC00000001
call fcn.0040e400
mov bl, byte [ebp + 8]
cmp bl, 3
jne 0x411630
push str..IniPROFILEID.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 0x3d0]
jmp 0x41163b
mov bl, byte [ebp + 8]
movzx eax, bl
mov ebx, dword [sym.imp.MSVCR120.dll_sprintf]
push eax
push str.MSOMSO
mov dword [ebp - 0x3d0], eax
lea eax, [ebp - 0x3cc]
push str._s_UserName__d
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x3cc]
mov ecx, 0x5b1a5c
lea esi, [edi + 0x7c]
push 0x11
push 1
push eax
push str.MYMC00000001
call fcn.0040e370
push eax
push esi
call fcn.00518910
push dword [ebp - 0x3d0]
lea eax, [ebp - 0x3cc]
push str.MSOMSO
push str._s_PassWord__d
push eax
call ebx
add esp, 0x1c
lea eax, [ebp - 0x3cc]
mov ecx, 0x5b1a5c
add edi, 0x8d
push 0x11
push 1
push eax
push str.MYMC00000001
call fcn.0040e370
push eax
push edi
call fcn.00518910
push 0xfe
lea eax, [ebp - 0x2cb]
mov byte [ebp - 0x2cc], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x18
mov byte [ebp - 0x3d2], 0xe6
mov byte [ebp - 0x3d3], 0xe6
mov ecx, 0x58497c
mov byte [ebp - 0x3d1], 0xe6
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411721
test dl, dl
je 0x41171d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411721
add eax, 2
add ecx, 2
test dl, dl
jne 0x411701
xor eax, eax
jmp 0x411726
sbb eax, eax
or eax, 1
test eax, eax
je 0x41180b
mov ecx, 0x58497c
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411755
test dl, dl
je 0x411751
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411755
add eax, 2
add ecx, 2
test dl, dl
jne 0x411735
xor eax, eax
jmp 0x41175a
sbb eax, eax
or eax, 1
test eax, eax
je 0x41180b
mov ecx, str.NULL
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411790
test dl, dl
je 0x41178c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411790
add eax, 2
add ecx, 2
test dl, dl
jne 0x411770
xor eax, eax
jmp 0x411795
sbb eax, eax
or eax, 1
test eax, eax
je 0x41180b
mov eax, str.NULL
mov edi, edi
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x4117c0
test cl, cl
je 0x4117bc
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x4117c0
add edi, 2
add eax, 2
test cl, cl
jne 0x4117a0
xor eax, eax
jmp 0x4117c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41180b
mov word [ebp - 0x3cf], 0xff82
lea ecx, [ebp - 0x2cc]
mov ax, word [ebp - 0x3cf]
sub ecx, esi
mov byte [ebp - 0x3d1], 0x82
mov word [ebp - 0x3d0], ax
nop
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4117f0
mov bh, byte [ebp - 0x3cf]
mov bl, byte [ebp - 0x3d0]
jmp 0x41183b
mov eax, dword [ebp - 0x3d0]
mov ecx, 0x6d43a8
inc eax
push eax
push 0xa4e
call fcn.004d43c0
push eax
lea eax, [ebp - 0x2cc]
push eax
call ebx
mov bl, byte [ebp - 0x3d2]
add esp, 0xc
mov bh, byte [ebp - 0x3d3]
push 0x118
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x411860
push 0x118
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
jmp 0x411862
xor esi, esi
lea ecx, [ebp - 0x2cc]
lea edx, [esi + 4]
mov eax, ecx
sub edx, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x411870
movzx ecx, bl
shl ecx, 8
movzx eax, bh
or ecx, eax
movzx eax, byte [ebp - 0x3d1]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x3d8]
add ecx, 0x934
push esi
mov eax, dword [ecx]
call dword [eax + 8]
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4