Function at 0x431970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
push ebx
push edi
mov edi, ecx
mov ecx, 0x6d3af8
push 0xa
mov dword [ebp - 4], edi
call fcn.00466730
push str.MYMC00000001
mov ebx, eax
mov ecx, 0x6c3ac8
push 0x80000002
mov dword [ebp - 0x10], ebx
call fcn.0042e9f0
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4319bf
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 8]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push 0x593530
push str..IniPROFILEID.ini
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
test eax, eax
je 0x431b18
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.MSVCR120.dll_memset
movzx ebx, byte [ebp + 8]
lea eax, [ebp - 0x1d8]
push ebx
push str.ACCOUNT_d
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
push str..IniPROFILEID.ini
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x1d8]
push str.UserName
push eax
call fcn.00576fc0
push 0x11
lea eax, [ebp - 0xd8]
push eax
lea esi, [edi + 0x7c]
push esi
call fcn.0052dc60
push str..IniPROFILEID.ini
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x1d8]
push str.PassWord
push eax
call fcn.00576fc0
add esp, 0x48
lea eax, [ebp - 0xd8]
add edi, 0x8d
push 0x11
push eax
push edi
call fcn.0052dc60
push 0x11
lea eax, [ebp - 0xd8]
push esi
push eax
call fcn.0052dc60
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
lea eax, [ebp - 0x1d8]
push ebx
push str.MSOMSO
push str._s_UserName__d
push eax
call esi
add esp, 0x28
lea eax, [ebp - 0xd8]
mov ecx, 0x6c3ac8
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
push str.MYMC00000001
call fcn.0042eab0
push 0x11
lea eax, [ebp - 0xd8]
push edi
push eax
call fcn.0052dc60
push ebx
push str.MSOMSO
lea eax, [ebp - 0x1d8]
push str._s_PassWord__d
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0xd8]
mov ecx, 0x6c3ac8
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
push str.MYMC00000001
call fcn.0042eab0
mov bl, byte [ebp + 8]
cmp bl, 3
jne 0x431b13
push str..IniPROFILEID.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 4]
jmp 0x431b1b
mov bl, byte [ebp + 8]
movzx eax, bl
mov ebx, dword [sym.imp.MSVCR120.dll_sprintf]
push eax
push str.MSOMSO
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3d8]
push str._s_UserName__d
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x3d8]
mov ecx, 0x6c3ac8
lea esi, [edi + 0x7c]
push 0x11
push 1
push eax
push str.MYMC00000001
call fcn.0042ea50
push eax
push esi
call fcn.0052dc60
push dword [ebp - 4]
lea eax, [ebp - 0x3d8]
push str.MSOMSO
push str._s_PassWord__d
push eax
call ebx
add esp, 0x1c
lea eax, [ebp - 0x3d8]
mov ecx, 0x6c3ac8
add edi, 0x8d
push 0x11
push 1
push eax
push str.MYMC00000001
call fcn.0042ea50
push eax
push edi
call fcn.0052dc60
push 0xfe
lea eax, [ebp - 0x2d7]
mov byte [ebp - 0x2d8], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x18
mov byte [ebp - 6], 0xe6
mov byte [ebp - 5], 0xe6
mov ecx, 0x597c60
mov byte [ebp + 0xb], 0xe6
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x431bf2
test dl, dl
je 0x431bee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x431bf2
add eax, 2
add ecx, 2
test dl, dl
jne 0x431bd2
xor eax, eax
jmp 0x431bf7
sbb eax, eax
or eax, 1
test eax, eax
je 0x431cc8
mov ecx, 0x597c60
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x431c26
test dl, dl
je 0x431c22
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x431c26
add eax, 2
add ecx, 2
test dl, dl
jne 0x431c06
xor eax, eax
jmp 0x431c2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x431cc8
mov ecx, str.NULL
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x431c60
test dl, dl
je 0x431c5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x431c60
add eax, 2
add ecx, 2
test dl, dl
jne 0x431c40
xor eax, eax
jmp 0x431c65
sbb eax, eax
or eax, 1
test eax, eax
je 0x431cc8
mov eax, str.NULL
mov edi, edi
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x431c90
test cl, cl
je 0x431c8c
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x431c90
add edi, 2
add eax, 2
test cl, cl
jne 0x431c70
xor eax, eax
jmp 0x431c95
sbb eax, eax
or eax, 1
test eax, eax
je 0x431cc8
mov word [ebp - 3], 0xff82
lea ecx, [ebp - 0x2d8]
mov ax, word [ebp - 3]
sub ecx, esi
mov byte [ebp + 0xb], 0x82
mov word [ebp - 4], ax
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x431cb3
mov bh, byte [ebp - 3]
mov bl, byte [ebp - 4]
jmp 0x431cef
mov eax, dword [ebp - 4]
mov ecx, 0x6de098
inc eax
push eax
push 0xa4e
call fcn.004ebdb0
push eax
lea eax, [ebp - 0x2d8]
push eax
call ebx
mov bl, byte [ebp - 6]
add esp, 0xc
mov bh, byte [ebp - 5]
push 0x118
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x431d14
push 0x118
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
jmp 0x431d16
xor esi, esi
lea ecx, [ebp - 0x2d8]
lea edx, [esi + 4]
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x431d23
movzx ecx, bl
shl ecx, 8
movzx eax, bh
or ecx, eax
movzx eax, byte [ebp + 0xb]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x934
push esi
mov eax, dword [ecx]
call dword [eax + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4