Function at 0x446f6a
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ee25a
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x90]
test eax, eax
je 0x446f84
mov eax, 0xf
jmp 0x4474fd
push 0x64
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x3c], ebx
je 0x446fbf
lea ecx, [esi - 0x14]
test ecx, ecx
je 0x446fb3
lea edx, [esi + 0xcc]
mov ecx, eax
push edx
call fcn.004ab540
jmp 0x446fc1
xor edx, edx
mov ecx, eax
push edx
call fcn.004ab540
jmp 0x446fc1
xor eax, eax
mov dword [esi + 0x158], eax
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ebx
je 0x446ffa
lea edx, [esp + 0x44]
lea ecx, [esp + 0x18]
push edx
call fcn.004a4a10
cmp eax, ebx
jge 0x446ffa
cmp eax, 0x80004002
je 0x446ffa
push eax
call fcn.004e2fd8
lea eax, [esi - 0x14]
mov dword [esp + 0x3c], 1
neg eax
sbb eax, eax
and eax, esi
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.004817a0
lea edi, [esi - 0x14]
add esp, 8
lea ebp, [esi + 0x1b0]
mov dword [edi + 0x170], ebx
mov dword [edi + 0x188], 0x190
mov dword [edi + 0x18c], 0x12c
mov dword [edi + 0x174], ebx
mov dword [edi + 0x178], ebx
mov dword [edi + 0x17c], ebx
mov dword [edi + 0x180], ebx
mov dword [edi + 0x184], ebx
mov dword [edi + 0x190], ebx
mov dword [edi + 0x194], ebx
mov dword [edi + 0x198], ebx
mov dword [edi + 0x1b8], 0x3e8
mov eax, dword [esi + 0xf8]
mov ecx, ebp
push eax
call fcn.004c8dd0
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xfc]
push eax
mov ecx, ebp
call fcn.004c8dd0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x860a0000
call fcn.004831a0
cmp eax, dword [esi + 0x158]
je 0x4470c0
test byte [esi + 0xd8], 0x20
je 0x4470c0
mov dword [esp + 0x10], 0x960a0000
test byte [esi + 0xd8], 0x40
jne 0x4470d1
or dword [esp + 0x10], 0x8000000
cmp dword [esi + 0x148], ebx
je 0x4470e1
or dword [esp + 0x10], 0xc50000
cmp dword [esi + 0x14c], ebx
je 0x4470f1
or dword [esp + 0x10], 0x840000
mov ecx, dword [esi + 0x11c]
lea eax, [esi + 0x128]
cmp eax, ebx
mov dword [esi + 0x1c8], ecx
jne 0x44710b
xor eax, eax
jmp 0x44710e
mov eax, dword [eax + 4]
push ebx
push ebx
push ebx
push ebx
push eax
lea ebp, [esi + 0x1cc]
call dword [sym.imp.USER32.dll_CopyImage]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
cmp ebp, ebx
mov dword [esp + 0x20], 0x40000
je 0x447150
cmp dword [ebp + 4], ebx
je 0x447150
mov edx, dword [esi + 0x1c8]
push 1
push edx
push ebp
call fcn.00421fa0
add esp, 0xc
cmp eax, ebx
je 0x447163
jmp 0x44715a
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x7e
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov cl, byte [0x541d18]
test cl, 1
jne 0x4471b9
mov dl, cl
push eax
push 2
or dl, 1
push 0x7f00
push ebx
mov byte [0x541d18], dl
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push 3
call sub.MFC42.DLL_AfxRegisterWndClass
push eax
mov ecx, 0x541d14
call sub.MFC42.DLL_CString::CString_2
push 0x447520
call fcn.004e2b9d
add esp, 4
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x3e7
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esi + 0x1a8]
call sub.MFC42.DLL_CMenu::Attach
call fcn.004831a0
mov ecx, dword [esi + 0x158]
mov dword [esp + 0x28], eax
cmp eax, ecx
je 0x4471f0
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x1c4]
push eax
mov dword [esp + 0x20], ebx
call fcn.004c7ae0
test eax, eax
jl 0x447282
cmp dword [esp + 0x1c], ebx
je 0x447282
mov eax, dword [edi + 0x28]
mov ebp, ebx
dec eax
mov dword [esp + 0x24], eax
js 0x447282
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x14], ebx
lea eax, [ecx + ebp*4]
mov ecx, dword [ecx + ebp*4]
cmp ecx, ebx
je 0x447246
push eax
lea ecx, [esp + 0x18]
call fcn.004a4a10
cmp eax, ebx
jge 0x447246
cmp eax, 0x80004002
je 0x447246
push eax
call fcn.004e2fd8
mov eax, dword [esp + 0x14]
mov byte [esp + 0x3c], 2
cmp eax, ebx
je 0x44726b
lea ecx, [esp + 0x14]
call fcn.0040f9c0
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xc4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.00460b90
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jle 0x44721a
mov ecx, edi
call fcn.00449130
mov eax, dword [esi + 0xf0]
cmp dword [eax - 8], ebx
je 0x4472a4
push eax
lea ecx, [esi + 0x1b0]
call fcn.004c8dd0
mov ebp, eax
jmp 0x4472a8
mov ebp, dword [esp + 0x48]
mov eax, dword [esi + 0xf4]
cmp dword [eax - 8], ebx
je 0x4472c1
push eax
lea ecx, [esi + 0x1b0]
call fcn.004c8dd0
jmp 0x4472c5
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
jne 0x4472d1
xor ecx, ecx
jmp 0x4472d4
mov ecx, dword [ecx + 0x20]
mov edx, dword [esp + 0x2c]
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [0x541d14]
push eax
mov eax, dword [0x53a37c]
push ebp
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x158]
push edx
call sub.MFC42.DLL_CWnd::CreateEx
cmp eax, ebx
je 0x4474e5
call fcn.004831a0
cmp eax, dword [esi + 0x158]
jne 0x447344
mov ecx, edi
call fcn.0044b5f0
test byte [esi + 0xd8], 0x20
je 0x447344
mov eax, dword [esi + 0x158]
cmp eax, ebx
jne 0x447338
xor eax, eax
jmp 0x44733b
mov eax, dword [eax + 0x20]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x158]
lea ecx, [esi + 0x3c]
push ecx
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esi + 0x84], 1
mov eax, dword [esi + 0x158]
cmp eax, ebx
je 0x44736f
mov ebx, dword [eax + 0x20]
push 3
push 0xffffffffffffffe6
push ebx
call dword [sym.imp.USER32.dll_SetClassLongA]
mov eax, dword [esi + 0x120]
lea ebx, [esi + 0x1b0]
push eax
mov ecx, ebx
call fcn.004c8dd0
mov dword [esi + 0x174], eax
mov eax, dword [esi + 0x124]
push eax
mov ecx, ebx
call fcn.004c8dd0
mov dword [esi + 0x178], eax
mov ebx, dword [edi + 0x28]
dec ebx
mov ebp, 0
js 0x4473fd
mov eax, dword [edi + 0x24]
mov dword [esp + 0x48], 0
lea edx, [esp + 0x48]
mov eax, dword [eax + ebp*4]
push edx
push 0x531950
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x4473f8
test edi, edi
je 0x4473e1
lea eax, [edi + 0x14]
jmp 0x4473e3
xor eax, eax
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
cmp eax, 0xe
jne 0x4473f8
mov dword [edi + 0x184], 1
inc ebp
cmp ebp, ebx
jle 0x4473b3
mov eax, dword [edi + 0xe0]
lea ecx, [edi + 0xe0]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x158]
call sub.MFC42.DLL_CWnd::SetFocus
mov eax, dword [esi + 0x13c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x447430
push eax
lea ecx, [esi + 0x1b0]
call fcn.004c8df0
mov eax, dword [esi + 0x158]
test eax, eax
je 0x44743d
mov eax, dword [eax + 0x20]
push edi
push eax
call dword [sym.imp.ole32.dll_RegisterDragDrop]
mov esi, dword [esi + 0x158]
call fcn.004831a0
cmp eax, esi
jne 0x4474c8
test esi, esi
jne 0x44745c
xor ebx, ebx
jmp 0x44745f
mov ebx, dword [esi + 0x20]
mov eax, dword [str.StormPlayer_PrcoShareHwndName_gbhgferereeEE98721eha]
push eax
push 0
push 6
mov edi, eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
jne 0x4474a5
push edi
push 4
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x4474c8
push esi
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4474c8
push eax
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x4474c8
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4474c1
push eax
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
test eax, eax
je 0x4474de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0xf
jmp 0x4474fd
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
je 0x4474fb
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc