Function at 0x474e20
Capabilities:
Delete file
Identify system language via api
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f4c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1104
call fcn.004bdb50
mov eax, dword [0x571154]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push eax
push 0x560e30
mov esi, ecx
push 0x55c5a4
call fcn.004fb49a
push eax
mov dword [0x571154], eax
call fcn.004ad700
add esp, 4
call fcn.004ad750
mov eax, dword [0x57113c]
test eax, eax
je 0x474e8a
mov eax, dword [0x57114c]
test eax, eax
jne 0x474e8a
call fcn.004abb70
call fcn.004faff9
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x70]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004e1e9b
push 0x56423c
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.004d6ffb
or edi, 0xffffffff
cmp eax, edi
jle 0x474ec8
mov ecx, esi
call fcn.00477810
mov dword [ebp - 4], edi
jmp 0x4754e9
cmp dword [esi + 0xc0], 1
jne 0x474ffb
lea edx, [esi + 0xc4]
lea ecx, [ebp - 0x14]
push edx
call fcn.004e1b94
lea eax, [ebp - 0x18]
push 4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004d6e91
mov ecx, dword [eax]
push 0x55c7ec
push ecx
call fcn.004bda36
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
je 0x474f4b
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1114]
push edx
push 0x800
push eax
push 0x5705d0
push 0x55c7e4
push 0x55c7c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1114]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004e1fbe
push 0x564664
lea ecx, [ebp - 0x14]
call fcn.004d6ffb
cmp eax, edi
jg 0x474fef
push 0x564648
lea ecx, [ebp - 0x14]
call fcn.004d6ffb
cmp eax, edi
jg 0x474fef
push 0x564628
lea ecx, [ebp - 0x14]
call fcn.004d6ffb
cmp eax, edi
jg 0x474fef
push 0x564608
lea ecx, [ebp - 0x14]
call fcn.004d6ffb
cmp eax, edi
jg 0x474fef
push 0x5645e8
lea ecx, [ebp - 0x14]
call fcn.004d6ffb
cmp eax, edi
jg 0x474fef
push 0x5645d0
lea ecx, [ebp - 0x14]
call fcn.004d6ffb
cmp eax, edi
jg 0x474fef
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x57614c]
push edx
call fcn.00467c10
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x57614c]
push 0
push 0
push eax
push 2
push 1
call fcn.004476b0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004e1e27
mov dword [ebp - 4], edi
jmp 0x4754e9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004e1e27
lea ecx, [ebp - 0x18]
push ecx
call fcn.00425ea0
push eax
mov byte [ebp - 4], 2
call fcn.00428670
add esp, 8
lea ecx, [ebp - 0x18]
mov edi, eax
mov byte [ebp - 4], 0
call fcn.004e1e27
cmp edi, 2
je 0x4753e8
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x4753e8
cmp edi, 3
jne 0x475047
mov ecx, esi
call fcn.00477810
jmp 0x4754e2
cmp edi, 7
jne 0x475307
lea ecx, [ebp - 0x34]
call fcn.004db3a1
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 8
push edx
call fcn.00425ea0
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 9
call fcn.00428750
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004e1e27
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x47528f
mov eax, dword [0x57113c]
test eax, eax
je 0x475200
push 0x5645a4
lea ecx, [ebp - 0x14]
call fcn.004e1e9b
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov byte [ebp - 4], 0xa
call esi
cmp ax, 0x804
jne 0x4750dc
lea ecx, [ebp - 0x18]
push ecx
call fcn.00425ea0
lea edx, [ebp - 0x14]
push eax
push edx
mov byte [ebp - 4], 0xb
call fcn.004289c0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
jmp 0x475117
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004aed30
lea ecx, [ebp - 0x1c]
mov bl, 0xc
push ecx
mov byte [ebp - 4], bl
call fcn.00425ea0
lea edx, [ebp - 0x18]
push eax
push edx
mov byte [ebp - 4], 0xd
call fcn.004289c0
add esp, 0x14
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004e1e27
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call fcn.004e1e27
push 1
call fcn.00427350
mov eax, dword [0x57113c]
add esp, 4
test eax, eax
je 0x4751b9
lea eax, [ebp - 0x18]
push eax
call fcn.004b1390
add esp, 4
mov bl, 0x1a
mov byte [ebp - 4], bl
call esi
cmp ax, 0x804
jne 0x47517b
mov ecx, dword [ebp - 0x18]
push 0
push 0
push ecx
mov ecx, dword [0x57614c]
push 2
push 1
call fcn.004476b0
mov ecx, dword [0x57614c]
lea edx, [ebp - 0x14]
push edx
call fcn.004692d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
jmp 0x4751ea
lea eax, [ebp - 0x1c]
push eax
call fcn.00427100
mov ecx, eax
call fcn.00427430
mov eax, dword [eax]
mov ecx, dword [0x57614c]
push 0
push 0
push eax
push 2
push 1
mov byte [ebp - 4], 0x1b
call fcn.004476b0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004e1e27
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
jmp 0x4751ea
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00427100
mov ecx, eax
call fcn.00427430
mov eax, dword [eax]
mov ecx, dword [0x57614c]
push 0
push 0
push eax
push 2
push 1
mov byte [ebp - 4], 0x1c
call fcn.004476b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.004e1e27
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.004e1e27
jmp 0x4752f6
lea edx, [ebp - 0x1c]
push edx
call fcn.00427050
mov eax, dword [eax]
add esp, 4
push eax
push 0
push 0x5639ec
push 0x55c5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.004e1e27
test esi, esi
je 0x4752f6
lea eax, [ebp - 0x1c]
push eax
call fcn.00427100
mov ecx, eax
call fcn.00427430
mov eax, dword [eax]
mov ecx, dword [0x57614c]
push 0
push 0
push eax
push 2
push 1
mov byte [ebp - 4], 0x1d
call fcn.004476b0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004e1e27
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00425ea0
push eax
push 8
mov byte [ebp - 4], 0x1e
call fcn.004288c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004e1e27
jmp 0x4752f6
xor esi, esi
test eax, eax
jle 0x4752f6
mov bl, 0x1f
test esi, esi
jne 0x4752c5
lea edx, [ebp - 0x1c]
push esi
push edx
lea ecx, [ebp - 0x34]
call fcn.00402bb0
mov eax, dword [eax]
mov ecx, dword [0x57614c]
push eax
mov byte [ebp - 4], bl
call fcn.00467c10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004e1e27
lea eax, [ebp - 0x18]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00402bb0
mov ecx, dword [0x57614c]
push eax
mov byte [ebp - 4], 0x20
call fcn.004692d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004e1e27
mov eax, dword [ebp - 0x2c]
inc esi
cmp esi, eax
jl 0x475297
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004db3d4
jmp 0x4754e2
cmp edi, 8
jne 0x475351
mov bl, 0x21
mov byte [ebp - 4], bl
call fcn.00427100
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00427430
mov eax, dword [eax]
mov ecx, dword [0x57614c]
push 0
push 0
push eax
push 2
push 1
mov byte [ebp - 4], 0x22
call fcn.004476b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
jmp 0x4754dd
test edi, edi
jne 0x475375
mov edx, dword [0x57614c]
push edi
push 0x8004
push 0x111
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4754e2
cmp edi, 1
jne 0x47538a
mov ecx, dword [0x57614c]
call fcn.00447630
jmp 0x4754e2
cmp edi, 4
jne 0x4753a6
mov ecx, dword [0x57614c]
mov eax, dword [ecx + 0x7b4]
push eax
call fcn.00448530
jmp 0x4754e2
cmp edi, 5
jne 0x4754e2
mov ecx, dword [0x57614c]
push 0x55ee70
add ecx, 0x7b8
lea edx, [ebp - 0x1c]
push ecx
push edx
call fcn.004e20cc
mov eax, dword [eax]
mov ecx, dword [0x57614c]
push eax
mov byte [ebp - 4], 0x24
call fcn.00450460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
jmp 0x4754dd
lea edi, [esi + 0xe4]
push 0x561df0
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.004e20cc
mov eax, dword [esi + 0xcc]
mov bl, 3
test eax, eax
mov byte [ebp - 4], bl
je 0x475451
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x561e0c
lea edx, [ebp - 0x18]
push edi
push edx
call fcn.004e20cc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call fcn.004aaf40
add esp, 4
test eax, eax
je 0x475446
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.004e36f9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004e1e27
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1112]
mov word [ebp - 0x1114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1114]
push eax
push 0x800
push ecx
push 0
push 0x564598
push 0x561ddc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4754d6
push 0
lea ecx, [ebp - 0x114]
call fcn.00491c60
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.004dd5ee
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.0049c850
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 6
call fcn.004da1df
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], bl
call fcn.004dd134
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004e1e27
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret