Function at 0x4b7e90
Capabilities:
Create thread
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57a778
push eax
mov eax, dword [0x5eab80]
mov dword fs:[0], esp
sub esp, 0x130
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x4b898f
mov ebp, dword [esp + 0x150]
xor esi, esi
test ebp, ebp
jne 0x4b7ed2
mov eax, dword [0x5eab7c]
mov esi, dword [eax]
jmp 0x4b7f03
lea ebx, [eax - 1]
xor edi, edi
test ebx, ebx
jl 0x4b7f03
mov ecx, dword [0x5eab7c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x4b7efe
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4b7f03
inc edi
cmp edi, ebx
jle 0x4b7edb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
cmp eax, 0x10
jne 0x4b898f
xor edi, edi
cmp esi, edi
je 0x4b898f
mov eax, dword [0x5eacdc]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x18], ecx
je 0x4b7f4f
push 0x5eacdc
lea ecx, [esp + 0x1c]
call fcn.00493590
cmp eax, edi
jge 0x4b7f4b
cmp eax, 0x80004002
je 0x4b7f4b
push eax
call fcn.00565a92
mov ecx, dword [esp + 0x18]
cmp ecx, edi
mov dword [esp + 0x148], edi
je 0x4b7f5f
mov edx, dword [ecx]
call dword [edx + 0x40]
push 0x5eacdc
lea ecx, [esp + 0x1c]
mov dword [0x5eacdc], esi
call fcn.00493590
cmp eax, edi
jge 0x4b7f84
cmp eax, 0x80004002
je 0x4b7f84
push eax
call fcn.00565a92
cmp dword [esp + 0x18], edi
je 0x4b898f
cmp dword [0x5eab5c], edi
jne 0x4b81a6
push str.LoadCurrentTheme
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
push edi
push eax
mov byte [esp + 0x150], 1
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 0
call sub.MFC42.DLL_CString::CString
push str.PLopen
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5eab64]
lea edx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x154], 2
call fcn.00564cce
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 3
call fcn.00436700
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x150], 2
call dword [edx + 0x54]
push str.PLcycle
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x5eab58]
lea edx, [esp + 0x28]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x154], 4
call fcn.00564cce
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 5
call fcn.00436700
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x150], 4
call dword [edx + 0x64]
push str.PLmode
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x5eab60]
mov bl, 6
cmp eax, 1
mov byte [esp + 0x148], bl
jne 0x4b80bf
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5cf990
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x154], 7
call fcn.00564cce
mov byte [esp + 0x150], 8
jmp 0x4b8127
push ecx
cmp eax, 2
mov ecx, esp
jne 0x4b80f8
mov dword [esp + 0x18], esp
push 0x5d0970
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x154], 9
call fcn.00564cce
mov byte [esp + 0x150], 0xa
jmp 0x4b8127
mov dword [esp + 0x18], esp
push 0x5cf478
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x154], 0xb
call fcn.00564cce
mov byte [esp + 0x150], 0xc
lea ecx, [esp + 0x20]
call fcn.00436700
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x150], bl
call dword [edx + 0x5c]
push 0x5dad8c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
push 1
push eax
mov byte [esp + 0x150], 0xd
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0
call sub.MFC42.DLL_CString::CString
push str.LoadCurrentTheme_OpenTheme
lea ecx, [esp + 0x20]
mov dword [0x5eab5c], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
push edi
push ecx
mov byte [esp + 0x150], 0xe
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jne 0x4b81f7
push 0x80004003
call fcn.00565a92
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x3c]
push str.LoadCurrentTheme_OpenTheme_Over
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
push 1
push eax
mov byte [esp + 0x150], 0xf
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x5eab6c]
push 0x5e5830
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
add esp, 8
test eax, eax
je 0x4b844f
push 0x5eab6c
lea ecx, [esp + 0x14]
call fcn.00564cce
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0x10
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [esp + 0x14]
push 0x5914dc
push eax
mov byte [esp + 0x150], 0x11
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4b842d
push 0x5dad2c
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esp + 0x1c]
push edi
push ecx
mov byte [esp + 0x150], 0x12
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0x11
call sub.MFC42.DLL_CString::CString
push edi
push edi
push edi
push 0x4b7e30
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call ebp
push 0x5dad04
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x1c]
push 1
push edx
mov byte [esp + 0x150], 0x13
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0x11
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x24], edi
mov bl, 0x14
push 0x5d2bd4
mov byte [esp + 0x14c], bl
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4b8368
push 0x5d2bd4
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
mov edi, 1
test esi, esi
je 0x4b83df
push 0x5d58b0
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
jne 0x4b8385
test edi, edi
je 0x4b83df
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x4b83df
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0x15
push ecx
push 0x5d58a0
call eax
test eax, eax
jge 0x4b83bc
mov eax, dword [esp + 0x28]
mov byte [esp + 0x148], bl
test eax, eax
je 0x4b83df
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4b83df
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
push edx
push 0x5cf998
mov ecx, dword [eax]
push eax
call dword [ecx]
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], bl
call fcn.004f3790
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b841b
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x24]
push 0x5cf990
push str.DAILY.VASTSTORM_POSTERSHOW
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [esp + 0x24]
push 0x5cf990
push str.DAILY.VASTSTORM_USED
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x148], 0x11
je 0x4b842d
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [str.StormPlayer_Box_641AB5BD_C49D_4992_A84B_AA0F4BBFD336]
xor edi, edi
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x4b87c5
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
je 0x4b8483
mov edi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push esi
call ebp
test edi, edi
je 0x4b87c5
mov ecx, dword [0x5eacdc]
test ecx, ecx
je 0x4b852a
mov edx, dword [ecx]
push 0
call dword [edx + 0x1c]
xor ecx, ecx
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x10], ecx
je 0x4b84d4
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.00516510
test eax, eax
jge 0x4b84d0
cmp eax, 0x80004002
je 0x4b84d0
push eax
call fcn.00565a92
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov byte [esp + 0x148], 0x16
je 0x4b8522
mov edx, dword [ecx]
call dword [edx + 0x60]
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x148], 0
call fcn.004f3790
test esi, esi
je 0x4b852a
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4b852a
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x5eacc8]
sub ebx, ecx
add ebx, eax
jmp 0x4b8530
mov byte [esp + 0x148], 0
mov ebx, dword [0x5eacd0]
mov eax, dword [0x5eab6c]
mov edi, dword [0x5eaccc]
push 0x5e5830
push eax
mov dword [esp + 0x18], edi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4b8723
mov esi, dword [0x5eab6c]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
mov dword [esp + 0x14], ecx
lea edx, [ecx + esi - 1]
cmp edx, esi
je 0x4b858b
mov al, byte [edx]
cmp al, 0x2e
jne 0x4b8582
mov ebp, edx
sub ebp, esi
jmp 0x4b8586
cmp al, 0x5c
je 0x4b858b
dec edx
cmp edx, esi
jne 0x4b8576
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp edx, esi
stosb byte es:[edi], al
je 0x4b863f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b863f
sub ebp, edx
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
lea esi, [esi + ebp - 1]
test esi, esi
mov dword [esp + 0x1c], esi
jl 0x4b85d2
lea eax, [esp + 0x1c]
mov eax, dword [eax]
inc edx
push eax
push edx
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
mov edi, 0x5dacfc
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3c]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x3c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5d54c0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x5eab7c]
mov esi, dword [eax]
test esi, esi
je 0x4b87c5
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
push 0x5dace0
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x17
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
push 0
push edx
mov byte [esp + 0x150], 0x18
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0x17
call sub.MFC42.DLL_CString::CString
push 0x5dacd4
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x4b86ca
cmp dword [0x5ea8a4], 1
jne 0x4b86ca
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
push ebx
push 0x5da8a8
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x4b86dc
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
lea ecx, [esp + 0x40]
push ebx
push ecx
mov ecx, esi
call dword [edx + 0x4c]
push 0x5dacb4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
push 1
push edx
mov byte [esp + 0x150], 0x19
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0x17
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x148], 0
lea ecx, [esp + 0x1c]
jmp 0x4b87c0
mov eax, dword [0x5eab7c]
mov esi, dword [eax]
test esi, esi
je 0x4b87c5
push 0x5dace0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
push 0
push ecx
mov byte [esp + 0x150], 0x1a
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call sub.MFC42.DLL_CString::CString
cmp dword [0x5ea8a4], 1
jne 0x4b8781
mov edx, dword [esi]
push edi
push ebx
push str.MovieBox_deep
mov ecx, esi
call dword [edx + 0x4c]
jmp 0x4b878f
mov eax, dword [esi]
push edi
push ebx
push str.default.bfsk
mov ecx, esi
call dword [eax + 0x4c]
push 0x5dacb4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
push 1
push ecx
mov byte [esp + 0x150], 0x1b
call fcn.00454ac0
add esp, 8
mov byte [esp + 0x148], 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x5eacdc]
xor edi, edi
cmp ecx, edi
je 0x4b883f
mov edx, dword [ecx]
push edi
call dword [edx + 0x1c]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x4b8808
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.00516510
cmp eax, edi
jge 0x4b8804
cmp eax, 0x80004002
je 0x4b8804
push eax
call fcn.00565a92
mov ecx, dword [esp + 0x10]
cmp ecx, edi
mov byte [esp + 0x148], 0x1c
je 0x4b8837
mov edx, dword [ecx]
call dword [edx + 0x60]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, edi
mov byte [esp + 0x148], 0
je 0x4b8831
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], esi
jmp 0x4b8843
mov byte [esp + 0x148], 0
mov dword [esp + 0x10], edi
mov edx, dword [0x5ed8e0]
mov ecx, 0x5ed8e0
mov dword [esp + 0x14], ecx
call dword [edx + 4]
mov eax, dword [0x5e5d38]
mov bl, 0x1d
cmp eax, edi
mov byte [esp + 0x148], bl
jne 0x4b893c
cmp dword [0x5e5d34], edi
jne 0x4b893c
push 0x13e4
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
mov byte [esp + 0x148], 0x1e
je 0x4b88ae
mov ecx, esi
call fcn.005274b0
mov dword [esi], vtable.CComObjectNoRef_class_CMPSContainer_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CMPSContainer_.0
mov eax, esi
jmp 0x4b88b0
xor eax, eax
mov ebp, dword [0x5cf9c0]
mov dword [0x5e5d34], eax
mov eax, dword [0x5eafa8]
xor edi, edi
dec eax
mov byte [esp + 0x148], bl
test eax, eax
mov ebx, 0x41dae0
jl 0x4b88f2
mov ecx, dword [0x5eafa4]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 4]
cmp ebp, edx
jge 0x4b88ee
inc edi
add ecx, 8
cmp edi, eax
jle 0x4b88d9
test eax, eax
jge 0x4b8903
push 1
push ebp
push ebx
push edi
mov ecx, 0x5eafa0
call fcn.00417f10
jmp 0x4b8932
xor esi, esi
test eax, eax
jle 0x4b8932
mov eax, dword [0x5eafa4]
cmp dword [eax + esi*8], 0x41dae0
je 0x4b8932
push 1
push ebp
push ebx
push edi
mov ecx, 0x5eafa0
call fcn.00417f10
mov ecx, dword [0x5eafa8]
inc esi
dec ecx
cmp esi, ecx
jl 0x4b8909
mov dword [0x5e5d38], 1
mov edx, dword [0x5ed8e0]
mov esi, dword [0x5e5d34]
mov ecx, 0x5ed8e0
mov byte [esp + 0x148], 0
call dword [edx + 8]
mov eax, dword [esi + 0x13d4]
cmp eax, 0xffffffff
je 0x4b896f
mov ecx, dword [esp + 0x10]
push 1
push eax
call fcn.00514da0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x148], 0xffffffff
test eax, eax
je 0x4b8988
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
jmp 0x4b8991
xor eax, eax
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x13c
ret