Function at 0x41e9a0
Capabilities:
Delete file
Get file size
Read .ini file
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x958
mov eax, dword [0x4bc4a0]
xor eax, esp
mov dword [esp + 0x954], eax
mov eax, dword [esp + 0x960]
mov dword [esp + 4], eax
mov dword [eax], 0xffffffff
mov eax, dword [0x4bdcf8]
push edi
mov edi, dword [esp + 0x960]
add eax, 0x16e
push eax
mov dword [esp + 0x20], edi
call fcn.0040d740
add esp, 4
test al, al
jne 0x41e9fe
pop edi
mov ecx, dword [esp + 0x954]
xor ecx, esp
call fcn.00466555
add esp, 0x958
ret
xor eax, eax
push ebx
push ebp
push esi
push 0x103
push eax
lea ecx, [esp + 0x69]
push ecx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov word [esp + 0x45], ax
mov byte [esp + 0x47], al
mov byte [esp + 0x48], al
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov byte [esp + 0x6c], al
call fcn.00466720
push 0x7ff
lea edx, [esp + 0x175]
push 0
push edx
mov byte [esp + 0x17c], 0
call fcn.00466720
mov eax, dword [0x4bdcf8]
add esp, 0x18
add eax, 0x28c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4bdcf8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add ecx, 0x16e
push ecx
push 0x10
lea edx, [esp + 0x34]
push edx
push 0x49c432
push str.AppNum
push 0x49e238
call esi
test eax, eax
je 0x41eacc
lea edx, [esp + 0x2c]
push edx
call fcn.00467557
mov ebx, eax
add esp, 4
test ebx, ebx
jg 0x41eb04
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]
jmp 0x41ecc3
xor ebp, ebp
push 0xa
lea edx, [esp + 0x30]
push edx
push ebp
call fcn.004688e8
mov eax, dword [0x4bdcf8]
add esp, 0xc
add eax, 0x16e
push eax
push 0x104
lea ecx, [esp + 0x68]
push ecx
push 0x49c432
push str.file
lea edx, [esp + 0x40]
push edx
call esi
test eax, eax
je 0x41eb9d
lea ecx, [edi + 8]
lea eax, [esp + 0x60]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41eb67
test dl, dl
je 0x41eb63
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41eb67
add eax, 2
add ecx, 2
test dl, dl
jne 0x41eb47
xor eax, eax
jmp 0x41eb6c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41eb9d
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
push 0x800
lea ecx, [esp + 0x16c]
push ecx
push 0x49c432
push 0x49e11c
lea edx, [esp + 0x40]
push edx
call esi
test eax, eax
jne 0x41ebab
inc ebp
cmp ebp, ebx
jl 0x41eb06
jmp 0x41ecc3
lea ecx, [edi + 0x210]
lea eax, [esp + 0x164]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41ebd8
test dl, dl
je 0x41ebd4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41ebd8
add eax, 2
add ecx, 2
test dl, dl
jne 0x41ebb8
xor eax, eax
jmp 0x41ebdd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41ebe6
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
mov dword [eax], ebp
mov ecx, dword [0x4bdcf8]
add ecx, 0x16e
push ecx
push 0x20
lea edx, [esp + 0x16c]
push edx
push 0x49c432
push str.size
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
je 0x41ecc3
lea ecx, [esp + 0x164]
push ecx
call fcn.0046756d
add esp, 4
mov dword [esp + 0x20], edx
mov edx, dword [0x4bdcf8]
add edx, 0x16e
push edx
push 0x104
mov dword [esp + 0x24], eax
lea eax, [esp + 0x68]
push eax
push 0x49c432
push 0x49e20c
lea ecx, [esp + 0x40]
push ecx
call esi
test eax, eax
je 0x41ecc3
mov edx, dword [0x4bdcf8]
add edx, 0x16e
push edx
push 0x10
lea eax, [esp + 0x16c]
push eax
push 0x49c432
push 0x49e210
lea ecx, [esp + 0x40]
push ecx
call esi
test eax, eax
je 0x41ecc3
lea edx, [esp + 0x164]
push edx
call fcn.00467557
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [0x4bdcf8]
add eax, 0x16e
push eax
push 0x21
lea ecx, [esp + 0x44]
push ecx
push 0x49c432
push 0x49e214
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [0x4bdcf8]
add eax, 0x28c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
cmp dword [ecx], 0xffffffff
je 0x41eee0
cmp byte [esp + 0x13], 0
je 0x41eee0
cmp dword [esp + 0x20], 0
jl 0x41eee0
jg 0x41ed04
cmp dword [esp + 0x1c], 0
jbe 0x41eee0
cmp dword [esp + 0x18], 0
jle 0x41eee0
mov edx, dword [0x4bdcf8]
add edx, 0x28c
push edx
xor bl, bl
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
push 0x80
push 3
push ebp
push 1
push accept
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x185
push str...p2psrc_src_resume.cpp
lea ecx, [esp + 0x68]
push ecx
mov esi, eax
push esi
push str.__file_in:_0x_x:_s__file:__s:_u
call fcn.00416770
add esp, 0x14
cmp esi, 0xffffffff
je 0x41ee7c
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x41ee7c
cmp edi, 0xffffffff
je 0x41ee7c
push edi
call fcn.0042ec9d
push 0x18d
mov ebp, eax
push str...p2psrc_src_resume.cpp
push ebp
push str.__new:_0x_x__file:__s:_u
call fcn.004166d0
add esp, 0x14
push 0
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ee7c
cmp edi, dword [esp + 0x14]
jne 0x41ee7c
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edi
push ebp
call fcn.0040b410
add esp, 0xc
test al, al
je 0x41ee7c
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0xa18]
push 0x195
push str...p2psrc_src_resume.cpp
push edx
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
mov eax, dword [ebx + 0xa18]
add esp, 0x10
test eax, eax
je 0x41ee24
push eax
call fcn.0042ec92
add esp, 4
mov dword [ebx + 0xa18], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [ebx + 0xa18], eax
mov dword [ebx + 0xa64], edx
lea eax, [esp + 0x3c]
mov dword [ebx + 0xa60], ecx
lea edx, [ebx + 0xba8]
mov ecx, eax
mov dword [ebx + 0xa14], edi
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41ee56
lea eax, [esp + 0x60]
lea edx, [ebx + 0x10c]
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41ee70
mov bl, 1
mov edx, dword [0x4bdcf8]
add edx, 0x28c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 0xffffffff
je 0x41eeb7
push 0x1a1
push str...p2psrc_src_resume.cpp
push esi
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
add esp, 0x10
test esi, esi
je 0x41eeb7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1a3
push str...p2psrc_src_resume.cpp
push ebp
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
add esp, 0x10
test ebp, ebp
je 0x41eedc
push ebp
call fcn.0042ec92
add esp, 4
mov al, bl
jmp 0x41eee2
xor al, al
mov ecx, dword [esp + 0x964]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.00466555
add esp, 0x958
ret