Function at 0x4bb7a0
Capabilities:
Accept command line arguments
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4fa196
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3e0
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00423740
lea ecx, [esp + 0x14c]
call fcn.004212d0
push 0
push 0
push str.Config.ini
mov dword [esp + 0x404], 0
call fcn.00422e30
add esp, 4
lea ecx, [esp + 0x154]
push eax
call fcn.004213a0
push 1
push str.active
push str.CONFIG
lea ecx, [esp + 0x158]
call fcn.00421430
call fcn.004235f0
call fcn.004232c0
cmp eax, 0x80030002
jne 0x4bb860
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x3f8], 1
je 0x4bb847
mov ecx, eax
call fcn.004c71e0
jmp 0x4bb849
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x3fc], 0
mov dword [esi + 0xd8], eax
call fcn.004e1ea0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebx, 2
mov dword [esp + 0x14], eax
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [str.StormPlayer_PrcoShareIDName_gbhgferereeEE98721eha]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push 0
push 6
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
test edi, edi
jne 0x4bb8cf
push esi
push 4
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x4bb8f2
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4bb8f2
push eax
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x4bb8f2
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4bb8eb
push eax
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x1c], 0x544f40
call dword [eax + 4]
mov eax, dword [0x53d630]
mov byte [esp + 0x3f8], bl
test eax, eax
jne 0x4bb973
mov eax, dword [0x53d62c]
test eax, eax
jne 0x4bb973
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x3f8], 3
je 0x4bb945
push 0
mov ecx, eax
call fcn.00403840
jmp 0x4bb947
xor eax, eax
mov ecx, dword [0x52e7f4]
mov byte [esp + 0x3f8], bl
push ecx
push 0x403810
mov ecx, 0x542398
mov dword [0x53d62c], eax
call fcn.004021a0
mov dword [0x53d630], 1
mov edx, dword [0x544f40]
mov esi, dword [0x53d62c]
mov ecx, 0x544f40
mov byte [esp + 0x3f8], 0
call dword [edx + 8]
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x1c0]
call fcn.0047a950
test eax, eax
je 0x4bbe8c
push 0
call fcn.0047a460
add esp, 4
test eax, eax
je 0x4bbe8c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4bba03
xor ecx, ecx
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [eax + eax + 2]
add esp, 4
mov dword [esp + 0x24], edx
call fcn.004831a0
test eax, eax
je 0x4bb9f3
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.004831a0
test eax, eax
jne 0x4bba10
xor ebp, ebp
jmp 0x4bba13
mov ebp, dword [eax + 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 0x4bba59
push edi
push 4
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x4bba7c
push esi
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4bba7c
push eax
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x4bba7c
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4bba75
push eax
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.update.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Init_Update
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4bba9b
push 0
call eax
call fcn.004dc960
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x1c], 0x544f40
call dword [eax + 4]
mov eax, dword [0x53d630]
mov byte [esp + 0x3f8], 4
test eax, eax
jne 0x4bbb35
mov eax, dword [0x53d62c]
test eax, eax
jne 0x4bbb35
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x3f8], 5
je 0x4bbb06
push 0
mov ecx, eax
call fcn.00403840
jmp 0x4bbb08
xor eax, eax
mov ecx, dword [0x52e7f4]
mov byte [esp + 0x3f8], 4
push ecx
push 0x403810
mov ecx, 0x542398
mov dword [0x53d62c], eax
call fcn.004021a0
mov dword [0x53d630], 1
mov edx, dword [0x544f40]
mov ebp, dword [0x53d62c]
mov ecx, 0x544f40
mov byte [esp + 0x3f8], 0
call dword [edx + 8]
test ebp, ebp
mov dword [esp + 0x30], ebp
je 0x4bbb60
mov eax, dword [ebp]
push ebp
call dword [eax + 4]
test ebp, ebp
mov byte [esp + 0x3f8], 6
je 0x4bbd87
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, dword [ebp]
push edx
push ebp
call dword [ecx + 0x1b4]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4bbbe9
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push ebp
call dword [eax + 0x1ac]
xor esi, esi
mov edi, 0x539ce0
mov ebx, 0x8054
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
cmp edx, eax
jne 0x4bbbdd
mov dword [0x5317d8], ebx
call fcn.004831a0
mov edx, dword [eax + 0x20]
lea ecx, [esi - 0x7fab]
and ecx, 0xffff
push 0
push ecx
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
add edi, 4
inc esi
cmp edi, str.StormPlayer_PrcoPreDownInfo_80975583_A502_4303_83A0_49DF050EEDB7
jl 0x4bbbaa
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [eax + 0x1e8]
mov dword [esp + 0x18], 0
mov edx, dword [0x544f00]
mov ecx, 0x544f00
mov byte [esp + 0x3f8], 7
mov dword [esp + 0x10], ecx
call dword [edx + 4]
mov eax, dword [0x53d63c]
xor edi, edi
mov bl, 8
cmp eax, edi
mov byte [esp + 0x3f8], bl
jne 0x4bbc8a
cmp dword [0x53d638], edi
jne 0x4bbc8a
push 0xf8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov byte [esp + 0x3f8], 9
je 0x4bbc5d
push edi
mov ecx, eax
call fcn.00404dd0
jmp 0x4bbc5f
xor eax, eax
mov dword [0x53d638], eax
mov eax, dword [0x52ed10]
push eax
push 0x404da0
mov ecx, 0x542398
mov byte [esp + 0x400], bl
call fcn.004021a0
mov dword [0x53d63c], 1
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
mov ecx, 0x544f00
mov byte [esp + 0x3f8], 7
call dword [edx + 8]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.004515f0
test eax, eax
jl 0x4bbd2f
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4bbd33
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x530870
push eax
mov byte [esp + 0x404], 0xa
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [esp + 0x10]
jl 0x4bbd1d
cmp eax, edi
je 0x4bbd1d
mov ecx, dword [esp + 0x1c]
mov word [esp + 0x20], 3
mov dword [esp + 0x28], ecx
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push edi
push ecx
push str.Globle.NoADVideo
push eax
mov byte [esp + 0x408], 0xb
call dword [edx + 0x30]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x10]
cmp eax, edi
mov byte [esp + 0x3f8], 7
je 0x4bbd2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
cmp dword [0x54237c], edi
jne 0x4bbd75
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
mov edx, dword [ebp]
push eax
push ebp
call dword [edx + 0x218]
cmp dword [esp + 0x10], edi
je 0x4bbd71
call fcn.004831a0
cmp eax, edi
je 0x4bbd71
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
call fcn.004b9890
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x3f8], 6
je 0x4bbd87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x38]
call fcn.004212d0
push 0
mov bl, 0xc
push 0
push str.Config.ini
mov byte [esp + 0x404], bl
call fcn.00422e30
add esp, 4
lea ecx, [esp + 0x40]
push eax
call fcn.004213a0
push 0
push 0x53a548
push str.UPDATE
lea ecx, [esp + 0x44]
call fcn.00421410
test eax, eax
jle 0x4bbe31
push 0
push str.warn
push str.UPDATE
lea ecx, [esp + 0x44]
call fcn.00421410
cmp eax, 1
je 0x4bbe31
push 0
lea ecx, [esp + 0x264]
call fcn.004d9a60
lea ecx, [esp + 0x260]
mov byte [esp + 0x3f8], 0xd
call sub.MFC42.DLL_CDialog::DoModal
push 1
push str.warn
push str.UPDATE
lea ecx, [esp + 0x44]
call fcn.00421430
lea ecx, [esp + 0x260]
mov byte [esp + 0x3f8], bl
call fcn.004d9da0
push 0x4bc5a0
push 0xea60
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x38]
mov dword [0x543364], eax
mov byte [esp + 0x3f8], 6
call fcn.00421350
test ebp, ebp
mov byte [esp + 0x3f8], 0
je 0x4bbe6e
mov edx, dword [ebp]
push ebp
call dword [edx + 8]
lea ecx, [esp + 0x14c]
mov dword [esp + 0x3f8], 0xffffffff
call fcn.00421350
mov eax, 1
jmp 0x4bbeb7
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea ecx, [esp + 0x14c]
mov dword [esp + 0x3f8], 0xffffffff
call fcn.00421350
xor eax, eax
mov ecx, dword [esp + 0x3f0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3ec
ret