Function at 0x42ea30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
push ebx
push edi
mov edi, ecx
mov ecx, 0x6d0af0
push 0xa
mov dword [ebp - 4], edi
call fcn.00463800
push str.MYMC00000001
mov ebx, eax
mov ecx, 0x6c0ac0
push 0x80000002
mov dword [ebp - 0x10], ebx
call fcn.0042bad0
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42ea7f
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 0x590510
push str..IniPROFILEID.ini
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
test eax, eax
je 0x42ebd8
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.00574670
push 0x11
lea eax, [ebp - 0xd8]
push eax
lea esi, [edi + 0x7c]
push esi
call fcn.0052b190
push str..IniPROFILEID.ini
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x1d8]
push str.PassWord
push eax
call fcn.00574670
add esp, 0x48
lea eax, [ebp - 0xd8]
add edi, 0x8d
push 0x11
push eax
push edi
call fcn.0052b190
push 0x11
lea eax, [ebp - 0xd8]
push esi
push eax
call fcn.0052b190
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, 0x6c0ac0
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
push str.MYMC00000001
call fcn.0042bb90
push 0x11
lea eax, [ebp - 0xd8]
push edi
push eax
call fcn.0052b190
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, 0x6c0ac0
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
push str.MYMC00000001
call fcn.0042bb90
mov bl, byte [ebp + 8]
cmp bl, 3
jne 0x42ebd3
push str..IniPROFILEID.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 4]
jmp 0x42ebdb
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, 0x6c0ac0
lea esi, [edi + 0x7c]
push 0x11
push 1
push eax
push str.MYMC00000001
call fcn.0042bb30
push eax
push esi
call fcn.0052b190
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, 0x6c0ac0
add edi, 0x8d
push 0x11
push 1
push eax
push str.MYMC00000001
call fcn.0042bb30
push eax
push edi
call fcn.0052b190
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, 0x5947a0
mov byte [ebp + 0xb], 0xe6
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42ecb2
test dl, dl
je 0x42ecae
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42ecb2
add eax, 2
add ecx, 2
test dl, dl
jne 0x42ec92
xor eax, eax
jmp 0x42ecb7
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ed88
mov ecx, 0x5947a0
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42ece6
test dl, dl
je 0x42ece2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42ece6
add eax, 2
add ecx, 2
test dl, dl
jne 0x42ecc6
xor eax, eax
jmp 0x42eceb
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ed88
mov ecx, str.NULL
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42ed20
test dl, dl
je 0x42ed1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42ed20
add eax, 2
add ecx, 2
test dl, dl
jne 0x42ed00
xor eax, eax
jmp 0x42ed25
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ed88
mov eax, str.NULL
mov edi, edi
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x42ed50
test cl, cl
je 0x42ed4c
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x42ed50
add edi, 2
add eax, 2
test cl, cl
jne 0x42ed30
xor eax, eax
jmp 0x42ed55
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ed88
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 0x42ed73
mov bh, byte [ebp - 3]
mov bl, byte [ebp - 4]
jmp 0x42edaf
mov eax, dword [ebp - 4]
mov ecx, 0x6db090
inc eax
push eax
push 0xa4e
call fcn.004e9380
push eax
lea eax, [ebp - 0x2d8]
push eax
call ebx
mov bl, byte [ebp - 6]
add esp, 0xc
mov bh, byte [ebp - 5]
push pe_nt_image_headers32
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x42edd4
push pe_nt_image_headers32
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
jmp 0x42edd6
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 0x42ede3
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