Function at 0x4238c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4915a3
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
xor ebp, ebp
push 0x103
lea eax, [esp + 0x3d]
push ebp
push eax
mov dword [esp + 0x154], ebp
mov byte [esp + 0x44], 0
call fcn.004453c0
mov edi, dword [esp + 0x160]
mov eax, dword [esi + 0x24]
add esp, 0xc
cmp edi, ebp
je 0x423935
add eax, 8
jmp 0x42393a
add eax, 0x210
push ebp
push ebp
push 0x104
lea ecx, [esp + 0x44]
push ecx
or ebx, 0xffffffff
push ebx
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, str.updatecfg.xml
cmp edi, ebp
jne 0x423961
mov eax, str.mobilemgrupdatecfg.xml
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423963
lea edi, [esp + 0x38]
sub eax, edx
add edi, ebx
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x423972
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x38]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x423c71
push 0x48
call fcn.00439350
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x148], 1
cmp eax, ebp
je 0x4239cb
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.00431050
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x4239d1
mov dword [esp + 0x20], ebp
mov edi, ebp
mov byte [esp + 0x148], 0
cmp edi, ebp
je 0x423c8b
push ebp
mov ecx, edi
call fcn.00432b10
test al, al
jne 0x423a0b
mov eax, dword [esp + 0x150]
add eax, 0xfffffff0
mov dword [esp + 0x148], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
jmp 0x423ca4
mov ecx, edi
call fcn.0042fea0
cmp eax, ebp
jne 0x423a27
lea ecx, [esp + 0x150]
call fcn.0040da40
jmp 0x423cb2
mov ecx, eax
call fcn.0042fea0
mov edx, dword [0x4b5e2c]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4b5e2c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [0x4b5e2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x148], 2
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov edx, dword [0x4b5e2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x148], 3
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov edx, dword [0x4b5e2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x148], 4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov bl, 5
mov byte [esp + 0x148], bl
cmp esi, ebp
je 0x423c40
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x423ac0
push 0x4958e0
mov ecx, esi
call fcn.00430d70
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0040e1c0
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 6
call fcn.0040e410
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x148], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423b13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.subkey
mov ecx, esi
call fcn.00430d70
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0040e1c0
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 7
call fcn.0040e410
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x148], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423b66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.value
mov ecx, esi
call fcn.00430d70
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040e1c0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 8
call fcn.0040e410
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x148], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423bb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040e410
mov edi, dword [esp + 0x24]
push str.path
push edi
call fcn.00447566
add esp, 8
test eax, eax
jne 0x423c16
cmp dword [esp + 0x154], eax
je 0x423bf2
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x24]
add eax, 8
jmp 0x423bfe
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
add eax, 0x210
mov ecx, dword [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x1c]
push 0x49516c
push edx
call fcn.0040ebe0
add esp, 0x10
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edi
push edx
call ebp
mov ecx, esi
call fcn.0042ff10
mov esi, eax
test esi, esi
jne 0x423ac0
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea ecx, [esp + 0x14]
call fcn.0040da40
lea ecx, [esp + 0x18]
call fcn.0040da40
lea ecx, [esp + 0x24]
call fcn.0040da40
lea ecx, [esp + 0x1c]
call fcn.0040da40
or ebx, 0xffffffff
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x423c8b
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x150]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov dword [esp + 0x148], ebx
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x423cb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004453a3
add esp, 0x138
ret 8