Function at 0x403100
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40795f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
push esi
push esi
mov eax, dword [edi + 0x140]
push 0x1004
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x4031ff
jmp 0x40315e
mov edi, dword [esp + 0x10]
push esi
lea ecx, [edi + 0x120]
call sub.MFC42.DLL_CListCtrl::GetItemData
mov edi, eax
mov eax, dword [esp + 0x1c]
cmp edi, eax
je 0x4031aa
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x2c]
push esi
push ecx
lea ecx, [edx + 0x120]
call sub.MFC42.DLL_CListCtrl::GetItemText
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.00406f44
mov dword [esp + 0x1c], edi
jmp 0x4031c1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
push esi
add ecx, 0x120
call sub.MFC42.DLL_CListCtrl::GetCheck
test eax, eax
je 0x4031dc
mov ecx, dword [esp + 0x20]
add ebp, ecx
inc ebx
mov edx, dword [esp + 0x10]
push 0
push 0
push 0x1004
mov eax, dword [edx + 0x140]
inc esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
jl 0x40315a
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push 0x40b288
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push str.file
sub esi, ebp
sub edi, ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x70]
push edi
push ecx
call fcn.00401750
add esp, 0xc
push eax
push str._in
push ecx
mov edi, 1
mov ecx, esp
mov dword [esp + 0x38], esp
push str.byte
mov dword [esp + 0x8c], edi
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x74]
push esi
push edx
call fcn.00401750
add esp, 0xc
push eax
push 0x40b26c
push ecx
mov byte [esp + 0x90], 2
mov ecx, esp
mov dword [esp + 0x40], esp
push str.file
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x78]
push ebx
push eax
call fcn.00401750
add esp, 0xc
push eax
push str._in
push ecx
mov byte [esp + 0x98], 3
mov ecx, esp
mov dword [esp + 0x48], esp
push str.byte
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x7c]
push ebp
push ecx
call fcn.00401750
add esp, 0xc
push eax
push 0x40b268
push ecx
mov byte [esp + 0xa0], 4
mov ecx, esp
mov dword [esp + 0x50], esp
push str.file
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x80]
push edx
push eax
call fcn.00401750
add esp, 0xc
push eax
push str._in
push ecx
mov byte [esp + 0xa8], 5
mov ecx, esp
mov dword [esp + 0x58], esp
push str.byte
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.00401750
add esp, 0xc
mov esi, eax
push str.Wasted
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 6
call sub.MFC42.DLL_CString::CString_2
push esi
push eax
lea eax, [esp + 0x80]
mov byte [esp + 0xac], 7
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x74]
push eax
push ecx
mov byte [esp + 0xac], 8
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x6c]
push eax
push edx
mov byte [esp + 0xa8], 9
call sub.MFC42.DLL_operator_1
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0xa4], 0xa
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0xa0], 0xb
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x54]
push eax
push edx
mov byte [esp + 0x9c], 0xc
call sub.MFC42.DLL_operator_2
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x98], 0xd
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x94], 0xe
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0x90], 0xf
call sub.MFC42.DLL_operator_1
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x8c], 0x10
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x88], 0x11
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x84], 0x12
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0x25
call fcn.00406f44
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0x24
call fcn.00406f44
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 0x23
call fcn.00406f44
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 0x22
call fcn.00406f44
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0x21
call fcn.00406f44
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0x20
call fcn.00406f44
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 0x1f
call fcn.00406f44
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 0x1e
call fcn.00406f44
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0x1d
call fcn.00406f44
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 0x1c
call fcn.00406f44
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 0x1b
call fcn.00406f44
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 0x1a
call fcn.00406f44
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 0x19
call fcn.00406f44
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 0x18
call fcn.00406f44
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 0x17
call fcn.00406f44
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 0x16
call fcn.00406f44
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 0x15
call fcn.00406f44
lea ecx, [esp + 0x68]
mov byte [esp + 0x78], 0x14
call fcn.00406f44
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x6c], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 0
call fcn.00406f44
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 4