Function at 0x41dd00
Capabilities:
Delete file
Read .ini file
Write file on windows

Disassembly:
sub esp, 0x824
mov eax, dword [0x4bc4a0]
xor eax, esp
mov dword [esp + 0x820], eax
mov eax, dword [0x4bdcf8]
push esi
mov esi, dword [esp + 0x82c]
add eax, 0x16e
push eax
mov dword [esp + 8], esi
call fcn.0040d740
add esp, 4
test al, al
jne 0x41dd4d
pop esi
mov ecx, dword [esp + 0x820]
xor ecx, esp
call fcn.00466555
add esp, 0x824
ret
xor eax, eax
push 0x7ff
push eax
lea ecx, [esp + 0x2d]
push ecx
mov byte [esp + 0x20], 0
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov word [esp + 0x2d], ax
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], al
call fcn.00466720
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41dd85
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
sub eax, edx
mov edx, dword [0x4bdcf8]
add edx, 0x16e
push edx
push 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push 0x49c432
push str.AppNum
push 0x49e238
call edi
test eax, eax
je 0x41ddd7
lea eax, [esp + 0x18]
push eax
call fcn.00467557
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jg 0x41de11
mov ecx, dword [0x4bdcf8]
add ecx, 0x16e
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [0x4bdcf8]
add edx, 0x16e
push edx
push 0x49e2a4
push str.AppNum
push 0x49e238
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x41e388
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
push 0xa
lea eax, [esp + 0x24]
push eax
push ebp
call fcn.004688e8
push 0xa70
call fcn.0042ec63
add esp, 0x10
test eax, eax
je 0x41de66
mov dword [eax], 0
mov byte [eax + 4], 0
mov byte [eax + 0x804], 0
mov byte [eax + 0x824], 0
mov byte [eax + 0x845], 0
mov byte [eax + 0x865], 0
mov byte [eax + 0x969], 0
mov esi, eax
jmp 0x41de68
xor esi, esi
push 0x32
push str...p2psrc_src_resume.cpp
push esi
push str.__new:_0x_x__file:__s:_u
call fcn.004166d0
mov ecx, dword [0x4bdcf8]
add esp, 0x10
add ecx, 0x16e
push ecx
push 0x800
lea edx, [esp + 0x38]
push edx
push 0x49c432
push 0x49e11c
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
je 0x41e070
test esi, esi
je 0x41deca
lea eax, [esp + 0x30]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 4]
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41dec0
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
push 0x20
lea ecx, [esp + 0x38]
push ecx
push 0x49c432
push str.size
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
je 0x41e070
test esi, esi
je 0x41df1a
lea eax, [esp + 0x30]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x804]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41df10
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
push 0x10
lea ecx, [esp + 0x38]
push ecx
push 0x49c432
push 0x49e210
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
je 0x41e070
test esi, esi
je 0x41df6a
lea eax, [esp + 0x30]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x845]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41df60
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
push 0x104
lea ecx, [esp + 0x38]
push ecx
push 0x49c432
push str.file
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
je 0x41e070
test esi, esi
je 0x41dfba
lea eax, [esp + 0x30]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x865]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41dfb0
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
push 0x104
lea ecx, [esp + 0x38]
push ecx
push 0x49c432
push 0x49e20c
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
je 0x41e070
test esi, esi
je 0x41e00a
lea eax, [esp + 0x30]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x969]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41e000
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00468f0d
add esp, 0xc
test eax, eax
jne 0x41e070
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
push 0x21
lea ecx, [esp + 0x38]
push ecx
push 0x49c432
push 0x49e214
lea edx, [esp + 0x34]
push edx
call edi
test esi, esi
je 0x41e06a
lea eax, [esp + 0x30]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x824]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41e060
mov dword [esi], ebx
mov ebx, esi
jmp 0x41e092
push 0x7b
push str...p2psrc_src_resume.cpp
push esi
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
add esp, 0x10
test esi, esi
je 0x41e092
push esi
call fcn.0042ec92
add esp, 4
inc ebp
cmp ebp, dword [esp + 0x18]
jl 0x41de17
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x4bdcf8]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
add ecx, 0x16e
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [0x4bdcf8]
push 0x82
push str...p2psrc_src_resume.cpp
add edx, 0x16e
push edx
mov ebp, eax
push ebp
push str.__file_in:_0x_x:_s__file:__s:_u
call fcn.00416770
add esp, 0x14
cmp ebp, 0xffffffff
je 0x41e386
xor edi, edi
mov eax, ebx
test ebx, ebx
je 0x41e11f
nop
mov eax, dword [eax]
inc edi
test eax, eax
jne 0x41e110
mov dword [esp + 0x18], edi
test edi, edi
jne 0x41e152
push 0x90
push str...p2psrc_src_resume.cpp
push ebp
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
add esp, 0x10
test ebp, ebp
je 0x41e142
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
jmp 0x41e343
push edi
push str.AppNum
push 0x49e238
lea ecx, [esp + 0x3c]
push str.__s__r_n_s_d_r_n_r_n
push ecx
call fcn.0046759c
lea eax, [esp + 0x44]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e176
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, edx
push 0
lea edx, [esp + 0x14]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x3c]
push eax
push ebp
call ebx
test eax, eax
je 0x41e302
cmp esi, dword [esp + 0x10]
jne 0x41e302
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test edi, edi
jle 0x41e2dd
lea ecx, [ecx]
test esi, esi
je 0x41e2dd
mov ecx, dword [esp + 0x14]
push 0x49e11c
push ecx
lea edx, [esp + 0x38]
push str.__d__r_n_s
push edx
call fcn.0046759c
lea eax, [esp + 0x40]
add esp, 0x10
lea edx, [eax + 1]
jmp 0x41e1f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e1f0
sub eax, edx
push 0
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x3c]
push ecx
push ebp
call ebx
test eax, eax
je 0x41e2dd
cmp edi, dword [esp + 0x10]
jne 0x41e2dd
lea edx, [esi + 4]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e225
sub eax, edi
push 0
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
push edx
push ebp
call ebx
test eax, eax
je 0x41e2dd
cmp edi, dword [esp + 0x10]
jne 0x41e2dd
lea ecx, [esi + 0x969]
push ecx
push 0x49e20c
lea edx, [esi + 0x865]
push edx
push str.file
lea eax, [esi + 0x845]
push eax
push 0x49e210
lea ecx, [esi + 0x824]
push ecx
push 0x49e214
lea edx, [esi + 0x804]
push edx
push str.size
lea eax, [esp + 0x58]
push str._r_n_s_s_r_n_s_s_r_n_s_s_r_n_s_s_r_n_s_s_r_n_r_n
push eax
call fcn.0046759c
lea eax, [esp + 0x60]
add esp, 0x30
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e2a3
push 0
sub eax, edx
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
push edi
lea edx, [esp + 0x3c]
push edx
push ebp
call ebx
test eax, eax
je 0x41e2dd
cmp edi, dword [esp + 0x10]
jne 0x41e2dd
mov eax, dword [esp + 0x14]
mov esi, dword [esi]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x41e1c0
push 0xc2
push str...p2psrc_src_resume.cpp
push ebp
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
add esp, 0x10
test ebp, ebp
je 0x41e358
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41e358
push 0x9b
push str...p2psrc_src_resume.cpp
push ebp
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
add esp, 0x10
test ebp, ebp
je 0x41e325
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x4bdcf8]
add ecx, 0x16e
push ecx
push 0x49e2a4
push str.AppNum
push 0x49e238
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x41e386
mov edi, dword [esi]
push 0xca
push str...p2psrc_src_resume.cpp
push esi
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
push esi
call fcn.0042ec92
add esp, 0x14
mov esi, edi
test edi, edi
jne 0x41e360
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.00466555
add esp, 0x824
ret