Function at 0x47ce90
Capabilities:
Delete file
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e6af4
push eax
mov eax, 0x1100
mov dword fs:[0], esp
call fcn.004ae580
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x54], ebp
mov edi, dword [esp + 0x1120]
mov dword [esp + 0x1118], 1
cmp edi, 0x81e3
jne 0x47cf0b
mov eax, dword [ebp + 0x1e4]
test eax, eax
je 0x47ceef
mov eax, dword [esp + 0x1124]
push eax
call fcn.00440530
jmp 0x47d7de
mov ecx, dword [esp + 0x1130]
mov edx, dword [esp + 0x1124]
push ecx
push edx
mov ecx, ebp
call fcn.004792f0
jmp 0x47d7de
cmp edi, 0x81e5
jne 0x47cf34
push ecx
lea eax, [esp + 0x1130]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004c54fc
call fcn.004177c0
add esp, 4
jmp 0x47d7de
mov ecx, dword [esp + 0x1124]
mov esi, dword [esp + 0x1130]
push ecx
push esi
call fcn.0043c790
mov edx, dword [0x52251c]
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
xor ebx, ebx
mov byte [esp + 0x1118], 2
push ebx
push esi
call dword [sym.imp.USER32.dll_GetMenuItemID]
mov esi, eax
lea eax, [esp + 0x28]
sub esi, 0x6100
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.0045c540
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push 0x527034
push edx
call fcn.004c59b6
mov eax, dword [str.state]
mov cx, word [0x51c894]
mov edx, dword [str.name]
mov dword [esp + 0x38], eax
mov al, byte [0x51c88c]
mov word [esp + 0x3c], cx
mov ecx, dword [0x51c884]
mov dword [esp + 0x2c], edx
mov edx, dword [str.download]
mov byte [esp + 0x30], al
mov eax, dword [0x51c87c]
mov dword [esp + 0x1c], ecx
mov cl, byte [0x51c880]
cmp edi, 0x81ea
mov byte [esp + 0x1118], 3
mov dword [esp + 0x3e], ebx
mov dword [esp + 0x31], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov byte [esp + 0x4c], cl
mov dword [esp + 0x4d], ebx
jg 0x47d5b1
je 0x47d521
sub edi, 0x81e6
je 0x47d224
dec edi
jne 0x47d7bc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x30]
push 0xa
push edx
push eax
call fcn.004b0136
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x110]
lea eax, [esp + 0x2c]
push ecx
push 0x800
push edx
push ebx
push eax
push 0x51c870
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47d083
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0x112c]
call fcn.004c5910
push ebx
lea ecx, [esp + 0x6c]
call fcn.00437570
mov edx, dword [0x52251c]
mov dword [esp + 0x14], edx
mov eax, dword [0x52700c]
mov byte [esp + 0x1118], 5
cmp eax, ebx
push 0xef6f
je 0x47d0bc
lea eax, [esp + 0x18]
push eax
call fcn.00417b10
add esp, 8
jmp 0x47d0c5
lea ecx, [esp + 0x18]
call fcn.004c681c
push 0x51c3b4
lea ecx, [esp + 0x18]
call fcn.004c5b63
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10c]
call fcn.004c58c0
lea edx, [esp + 0x1128]
lea ecx, [esp + 0x10c]
push edx
call fcn.004c58c0
lea ecx, [esp + 0x68]
call fcn.004c14be
cmp eax, 1
jne 0x47d1c6
mov eax, dword [esp + 0x10c]
cmp dword [eax - 8], ebx
je 0x47d1c6
mov edi, dword [esp + 0x1128]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x47d145
test cl, cl
je 0x47d141
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x47d145
add eax, 2
add edi, 2
test cl, cl
jne 0x47d121
xor eax, eax
jmp 0x47d14a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x47d1c6
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push 0xa
push eax
push ecx
call fcn.004b0136
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x118]
add esp, 0xc
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
push 0x51c870
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [esp + 0x10c]
lea ecx, [esp + 0x1128]
push edx
call fcn.004c58c0
lea eax, [esp + 0x1128]
mov ecx, ebp
push eax
call fcn.0047b5e0
push ecx
lea edx, [esp + 0x112c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004c54fc
mov eax, dword [esp + 0x1128]
push eax
call fcn.004180c0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x1118], 4
call fcn.004c5787
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1118], 8
call fcn.004c5787
lea ecx, [esp + 0x108]
mov byte [esp + 0x1118], 7
call fcn.004c5787
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1118], 6
call fcn.004d064c
mov byte [esp + 0x1118], 3
lea ecx, [esp + 0x68]
jmp 0x47d7b7
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ebx, [ecx + 1]
lea edx, [esp + 0x3d]
push 0xa
push edx
push ebx
call fcn.004b0136
lea eax, [esp + 0x3c]
push 0xa
push eax
push ebx
call fcn.004b0136
lea ecx, [esp + 0x37]
push 0xa
push ecx
push ebx
call fcn.004b0136
lea edx, [esp + 0x70]
push 0xa
push edx
push ebx
call fcn.004b0136
mov eax, dword [esp + 0x40]
add esp, 0x30
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x910]
push eax
push 0x800
push ecx
lea edx, [esp + 0x28]
push 0
push edx
push 0x51c870
call edi
test eax, eax
mov dword [esp + 0x24], eax
je 0x47d3ca
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x110]
push eax
push 0x800
push ecx
lea edx, [esp + 0x38]
push 0
push edx
push 0x51c870
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x3c]
push 1
push ecx
push 0x51c870
call edi
mov edx, dword [esp + 0x10]
mov esi, eax
push edx
lea eax, [esp + 0x48]
push 0xffffffffffffffff
push eax
push 0x51c870
call edi
lea ecx, [esp + 0x3d]
lea edi, [ebx - 1]
push 0xa
push ecx
push edi
mov dword [esp + 0x24], eax
call fcn.004b0136
lea edx, [esp + 0x3c]
push 0xa
push edx
push edi
call fcn.004b0136
lea eax, [esp + 0x37]
push 0xa
push eax
push edi
call fcn.004b0136
lea ecx, [esp + 0x70]
push 0xa
push ecx
push edi
call fcn.004b0136
mov edx, dword [esp + 0x40]
add esp, 0x30
lea eax, [esp + 0x110]
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
push 0x51c870
call ebp
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x910]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
push 0x51c870
call ebp
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x38]
neg esi
sbb esi, esi
push edx
not esi
and esi, 0x51d614
push esi
push eax
push 0x51c870
call ebp
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x47d3ae
lea ecx, [esp + 0x58]
push 0xa
push ecx
push eax
call fcn.004b01e9
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x58]
lea ecx, [esp + 0x44]
push edx
push eax
push ecx
push 0x51c870
call ebp
mov esi, dword [esp + 0x14]
jmp 0x47d50f
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push edx
push 0
push eax
push 0x51c870
call ebp
mov esi, dword [esp + 0x14]
jmp 0x47d50f
cmp ebx, 1
jne 0x47d3e6
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0x51c870
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
jmp 0x47d46c
lea edx, [esp + 0x3d]
lea edi, [ebx - 1]
push 0xa
push edx
push edi
call fcn.004b0136
lea eax, [esp + 0x3c]
push 0xa
push eax
push edi
call fcn.004b0136
lea ecx, [esp + 0x37]
push 0xa
push ecx
push edi
call fcn.004b0136
lea edx, [esp + 0x70]
push 0xa
push edx
push edi
call fcn.004b0136
mov eax, dword [esp + 0x40]
add esp, 0x30
lea ecx, [esp + 0x2c]
push eax
push 0
push ecx
push 0x51c870
call ebp
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push 0
push eax
push 0x51c870
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
push 0
push edx
push 0x51c870
call ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push eax
push 0
push ecx
push 0x51c870
call ebp
mov edi, dword [esp + 0x1124]
mov edx, dword [esp + 0x1130]
push 0
push edi
push edx
call fcn.004a3930
mov eax, dword [esp + 0x113c]
add esp, 0xc
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x1e4]
test eax, eax
je 0x47d50f
mov ecx, dword [0x52790c]
call fcn.00455190
mov edx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push edx
call edi
push eax
call fcn.004c677c
mov edx, dword [eax + 4]
lea ecx, [esi + 4]
push ecx
push edx
call edi
push eax
call fcn.004c677c
mov edi, eax
test edi, edi
je 0x47d50f
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x1130]
cmp eax, ecx
je 0x47d50f
mov ecx, dword [esp + 0x1124]
push 0
push ecx
push eax
call fcn.004a3930
mov edx, dword [esp + 0x1130]
mov eax, dword [edi + 4]
add esp, 0xc
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [esp + 0x24]
inc ebx
test eax, eax
jne 0x47d231
jmp 0x47d7bc
push ebx
mov ecx, ebp
call fcn.004d0b16
mov edi, eax
cmp edi, ebx
je 0x47d7bc
cmp dword [edi + 0xf8], ebx
je 0x47d7bc
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1f]
push 0xa
push ecx
push edx
call fcn.004b0136
mov eax, dword [edi + 0xf8]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x1c]
mov eax, dword [eax + 0x200]
push ecx
push eax
push edx
push 0x51c870
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp + 0x1c]
push ebx
push ebx
push 0x1f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [edi + 0xf8]
push ecx
add edx, 0x200
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004c54fc
mov eax, dword [esp + 0x1128]
push eax
call fcn.00418150
add esp, 8
jmp 0x47d7bc
cmp edi, 0x81eb
je 0x47d63e
cmp edi, 0xefcf
jne 0x47d7bc
push 0x51da78
lea ecx, [esp + 0x112c]
call fcn.004c5b63
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x112c]
call fcn.004c5b9f
push 0x52191c
lea ecx, [esp + 0x112c]
call fcn.004c5b63
mov edx, dword [esp + 0x1128]
push ebx
push 0x24
push edx
call fcn.00419540
add esp, 0xc
cmp eax, 6
jne 0x47d7bc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0x1c]
push ebx
push ebx
push 0x1f
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ecx, ebp
call fcn.0045c620
jmp 0x47d7bc
push ebx
lea ecx, [esp + 0x6c]
call fcn.00437570
mov edx, dword [0x52251c]
mov dword [esp + 0x14], edx
mov eax, dword [0x52700c]
mov byte [esp + 0x1118], 0xa
cmp eax, ebx
push 0xef70
je 0x47d677
lea eax, [esp + 0x18]
push eax
call fcn.00417b10
add esp, 8
jmp 0x47d680
lea ecx, [esp + 0x18]
call fcn.004c681c
push 0x51c3b4
lea ecx, [esp + 0x18]
call fcn.004c5b63
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10c]
call fcn.004c58c0
lea edx, [esp + 0x112c]
lea ecx, [esp + 0x10c]
push edx
call fcn.004c58c0
lea ecx, [esp + 0x68]
call fcn.004c14be
cmp eax, 1
jne 0x47d75e
mov eax, dword [esp + 0x10c]
cmp dword [eax - 8], ebx
je 0x47d75e
mov edi, dword [esp + 0x112c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x47d700
test cl, cl
je 0x47d6fc
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x47d700
add eax, 2
add edi, 2
test cl, cl
jne 0x47d6dc
xor eax, eax
jmp 0x47d705
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x47d75e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1f]
push 0xa
push eax
push ecx
call fcn.004b0136
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x118]
add esp, 0xc
lea ecx, [esp + 0x1c]
push edx
push eax
push ecx
push 0x51c870
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
lea edx, [esp + 0x110]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004c54fc
mov eax, dword [esp + 0x1128]
push eax
call fcn.00418150
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x1118], 9
call fcn.004c5787
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1118], 0xd
call fcn.004c5787
lea ecx, [esp + 0x108]
mov byte [esp + 0x1118], 0xc
call fcn.004c5787
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1118], 0xb
call fcn.004d064c
mov byte [esp + 0x1118], 3
lea ecx, [esp + 0x68]
call fcn.004c10bb
lea ecx, [esp + 0x10]
mov byte [esp + 0x1118], 2
call fcn.004c5787
lea ecx, [esp + 0x28]
mov byte [esp + 0x1118], 1
call fcn.004c5787
lea ecx, [esp + 0x1128]
mov byte [esp + 0x1118], 0
call fcn.004c5787
lea ecx, [esp + 0x112c]
mov dword [esp + 0x1118], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x1110]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x110c
ret 0x14