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

Disassembly:
push 0xffffffffffffffff
push 0x56d771
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa04
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x158]
mov dword [esp + 0x30], ebx
mov dword [ebx + 0x108], 1
call fcn.00447620
push 0
push 0
push str.Config.ini
mov dword [esp + 0xa28], 0
call fcn.0044d260
add esp, 4
lea ecx, [esp + 0x160]
push eax
call fcn.004476f0
push 1
push str.active
push str.CONFIG
lea ecx, [esp + 0x164]
call fcn.004477d0
push 0x5c6688
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
push 0
push eax
mov byte [esp + 0xa24], 1
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xa1c], 0
call sub.MFC42.DLL_CString::CString
call fcn.0044d9f0
push 0x5c6678
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
push 1
push ecx
mov byte [esp + 0xa24], 2
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xa1c], 0
call sub.MFC42.DLL_CString::CString
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
mov dword [esp + 0x38], eax
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 0x50f618
push esi
push 4
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x50f63b
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x50f63b
push eax
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x50f63b
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x50f634
push eax
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0xa1c], 4
mov dword [esp + 0x10], 0x5d2a60
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov byte [esp + 0xa1c], 5
cmp eax, edi
jne 0x50f6cd
cmp dword [0x5cb0c8], edi
jne 0x50f6cd
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0xa1c], 6
je 0x50f69f
mov ecx, eax
call fcn.0045e9d0
jmp 0x50f6a1
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0xa24], 5
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0xa1c], 4
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x50f71b
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x50f71b
push 0x5b6738
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00423a70
mov eax, dword [esp + 0x20]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push 0x5c6658
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
push edi
push edx
mov byte [esp + 0xa24], 7
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xa1c], 4
call sub.MFC42.DLL_CString::CString
push 1
mov ecx, ebx
call fcn.00510370
push 0x5c663c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
push 1
push eax
mov byte [esp + 0xa24], 8
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xa1c], 4
call sub.MFC42.DLL_CString::CString
push 0x5c6628
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
push edi
push ecx
mov byte [esp + 0xa24], 9
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xa1c], 4
call sub.MFC42.DLL_CString::CString
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
push 0x7ffff
push eax
lea ecx, [esp + 0x610]
mov dword [esp + 0x38], edi
call fcn.00544690
push 1
push 0x5c5970
push 0x5c5968
lea ecx, [esp + 0x610]
mov byte [esp + 0xa28], 0xa
call fcn.00544a70
mov eax, dword [esp + 0xa08]
cmp eax, 0x200
mov eax, dword [esp + 0xa04]
ja 0x50f81d
lea eax, [esp + 0x604]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x50fc5a
cmp dword [esp + 0x2c], 1
jle 0x50fc4b
mov edi, dword [esp + 0x14]
push 0xc
mov esi, dword [edi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xa1c], 0xb
je 0x50f86d
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x50f86f
xor esi, esi
test esi, esi
mov byte [esp + 0xa1c], 0xa
mov dword [esp + 0x10], esi
jne 0x50f889
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0xa1c], 0xc
je 0x50f89e
mov ecx, esi
call fcn.004127c0
jmp 0x50f8a0
xor eax, eax
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x5c57f8
push eax
call ebp
add esp, 8
mov byte [esp + 0xa1c], 0xa
test eax, eax
sete bl
test esi, esi
je 0x50f8c9
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x50f8dd
cmp dword [esp + 0x2c], 2
jle 0x50fc4b
jmp 0x50fc41
mov esi, dword [edi + 4]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xa1c], 0xd
je 0x50f906
push esi
mov ecx, eax
call fcn.00412730
mov esi, eax
jmp 0x50f908
xor esi, esi
test esi, esi
mov byte [esp + 0xa1c], 0xa
mov dword [esp + 0x10], esi
jne 0x50f922
push 0x8007000e
call fcn.005505fa
test esi, esi
mov byte [esp + 0xa1c], 0xe
je 0x50f937
mov ecx, esi
call fcn.004127c0
jmp 0x50f939
xor eax, eax
push str._openboxfile_playnow
push eax
call ebp
add esp, 8
mov byte [esp + 0xa1c], 0xa
test eax, eax
sete bl
xor ebp, ebp
cmp esi, ebp
je 0x50f95e
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x50fb7b
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebp
mov eax, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0xa1c], 0x10
mov dword [esp + 0x10], 0x5d2a60
call dword [eax + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x11
cmp eax, ebp
mov byte [esp + 0xa1c], bl
jne 0x50f9f6
cmp dword [0x5cb0c8], ebp
jne 0x50f9f6
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0xa1c], 0x12
je 0x50f9c8
mov ecx, eax
call fcn.0045e9d0
jmp 0x50f9ca
xor eax, eax
mov ecx, dword [0x5b5c48]
mov byte [esp + 0xa1c], bl
push ecx
push 0x41ebd0
mov ecx, 0x5d0190
mov dword [0x5cb0c8], eax
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0xa1c], 0x10
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x50fb42
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x50fb46
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
mov edx, dword [eax]
push ecx
push 0x5b7820
push eax
call dword [edx]
cmp esi, ebp
je 0x50fa52
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x10], ebp
je 0x50fb42
cmp dword [esp + 0x2c], 4
jle 0x50fb42
mov eax, dword [esp + 0x14]
push 0xc
mov edi, dword [eax + 0xc]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebp
mov byte [esp + 0xa1c], 0x13
je 0x50fac4
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x50fac6
cmp edi, ebp
je 0x50fac6
push 0x8007000e
call fcn.005505fa
jmp 0x50fac6
xor esi, esi
cmp esi, ebp
mov byte [esp + 0xa1c], 0x10
mov dword [esp + 0x24], esi
jne 0x50fae0
push 0x8007000e
call fcn.005505fa
cmp esi, ebp
mov byte [esp + 0xa1c], 0x14
je 0x50fb13
cmp dword [esi + 4], ebp
jne 0x50fb0e
mov ecx, dword [esi]
push ecx
call fcn.0055071c
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x50fb0e
cmp dword [esi], ebp
je 0x50fb0e
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x50fb15
xor eax, eax
push str._from
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
sete bl
cmp esi, ebp
je 0x50fb34
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x50fb42
mov dword [0x5d013c], 1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xa1c], 0xf
cmp ecx, ebp
je 0x50fb60
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0xa1c], 0xa
je 0x50fc4b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x50fc4b
mov edx, dword [esp + 0x14]
push 0xc
mov edi, dword [edx + 4]
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebp
mov byte [esp + 0xa1c], 0x15
je 0x50fbc5
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x50fbc7
cmp edi, ebp
je 0x50fbc7
push 0x8007000e
call fcn.005505fa
jmp 0x50fbc7
xor esi, esi
cmp esi, ebp
mov byte [esp + 0xa1c], 0xa
mov dword [esp + 0x24], esi
jne 0x50fbe1
push 0x8007000e
call fcn.005505fa
cmp esi, ebp
mov byte [esp + 0xa1c], 0x16
je 0x50fc14
cmp dword [esi + 4], ebp
jne 0x50fc0f
mov eax, dword [esi]
push eax
call fcn.0055071c
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x50fc0f
cmp dword [esi], ebp
je 0x50fc0f
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x50fc16
xor eax, eax
push str._tag
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
mov byte [esp + 0xa1c], 0xa
test eax, eax
setne bl
cmp esi, ebp
je 0x50fc3d
mov ecx, esi
call fcn.00412770
test bl, bl
je 0x50fc4b
mov dword [0x5d013c], 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [esp + 0x30]
push 0x5c6618
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x10]
push 1
push edx
mov byte [esp + 0xa24], 0x17
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa1c], 0xa
call sub.MFC42.DLL_CString::CString
push 0x5c6604
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
push 0
push eax
mov byte [esp + 0xa24], 0x18
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa1c], 0xa
call sub.MFC42.DLL_CString::CString
call fcn.004b12a0
push 0x5c65f0
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
push 0
push ecx
mov byte [esp + 0xa24], 0x19
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa1c], 0xa
call sub.MFC42.DLL_CString::CString
push 0x5c65cc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x10]
push 0
push edx
mov byte [esp + 0xa24], 0x1a
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa1c], 0xa
call sub.MFC42.DLL_CString::CString
push 0
call fcn.004afc10
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
push 0x5c65ac
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
push 0
push eax
mov byte [esp + 0xa24], 0x1b
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa1c], 0xa
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x5102e2
test edi, edi
je 0x5102e2
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x50fdb1
call fcn.004bbc90
test eax, eax
je 0x50fda1
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xfc2
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0
push 0
push ebx
push 0x50d110
call sub.MFC42.DLL_AfxBeginThread
call fcn.004bbc90
test eax, eax
jne 0x50fdd1
xor ebx, ebx
jmp 0x50fdd4
mov ebx, dword [eax + 0x20]
mov eax, dword [str.StormPlayer_PrcoShareHwndName_gbhgferereeEE98721eha]
xor ebp, ebp
push eax
push ebp
push 6
mov edi, eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
cmp esi, ebp
jne 0x50fe1b
push edi
push 4
push ebp
push 4
push ebp
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebp
je 0x50fe3b
push ebp
push ebp
push ebp
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebp
je 0x50fe3b
push eax
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x50fe3b
push ebp
push ebp
push ebp
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebp
je 0x50fe34
push eax
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Load_and_Init_update.dll_Begin
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
push ebp
push ecx
mov byte [esp + 0xa24], 0x1c
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa1c], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26e]
mov word [esp + 0x26c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea edx, [esp + 0x26c]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x26c]
push str...update.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Init_Update
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x50feda
push ebp
call eax
push str.Load_and_Init_update.dll_End
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x10]
push 1
push edx
mov byte [esp + 0xa24], 0x1d
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa1c], 0xa
call sub.MFC42.DLL_CString::CString
call fcn.0044d1e0
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0xa1c], 0x1f
mov dword [esp + 0x24], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov bl, 0x20
cmp eax, ebp
mov byte [esp + 0xa1c], bl
jne 0x50ffb3
cmp dword [0x5cb0c8], ebp
jne 0x50ffb3
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov byte [esp + 0xa1c], 0x21
je 0x50ff86
mov ecx, eax
call fcn.0045e9d0
jmp 0x50ff88
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0xa24], bl
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0xa1c], 0x1f
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [eax + 8]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x510086
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
je 0x510086
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov edx, dword [eax]
push ecx
push 0x5b7820
push eax
call dword [edx]
cmp esi, edi
je 0x510017
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
cmp dword [esp + 0x10], edi
je 0x510086
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
xor esi, esi
mov edi, 0x5c5274
mov ebx, 0x8054
mov eax, dword [esp + 0x30]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x51007a
mov dword [0x5bae40], ebx
call fcn.004bbc90
mov edx, dword [eax + 0x20]
lea ecx, [esi - 0x7fab]
and ecx, 0xffff
push 0
push ecx
push 0x111
push edx
call ebp
add edi, 4
inc esi
cmp edi, 0x5c5290
jl 0x51004b
lea ecx, [esp + 0x44]
call fcn.00447620
push 0
mov bl, 0x22
push 0
push str.Config.ini
mov byte [esp + 0xa28], bl
call fcn.0044d260
add esp, 4
lea ecx, [esp + 0x4c]
push eax
call fcn.004476f0
push 0
push 0x5c6540
push str.UPDATE
lea ecx, [esp + 0x50]
call fcn.004477b0
test eax, eax
jle 0x510130
push 0
push str.warn
push str.UPDATE
lea ecx, [esp + 0x50]
call fcn.004477b0
cmp eax, 1
je 0x510130
push 0
lea ecx, [esp + 0x478]
call fcn.0053f600
lea ecx, [esp + 0x474]
mov byte [esp + 0xa1c], 0x23
call sub.MFC42.DLL_CDialog::DoModal
push 1
push str.warn
push str.UPDATE
lea ecx, [esp + 0x50]
call fcn.004477d0
lea ecx, [esp + 0x474]
mov byte [esp + 0xa1c], bl
call fcn.0053f940
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0x511570
push 0xea60
push 0
push 0
call esi
mov dword [0x5d05a0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x51021d
xor ecx, ecx
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x44], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [eax + eax + 2]
add esp, 4
mov dword [esp + 0x3c], edx
call fcn.004bbc90
test eax, eax
je 0x510191
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x510211
lea ecx, [esp + 0x44]
mov byte [esp + 0xa1c], 0x1f
call fcn.004476a0
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa1c], 0x1e
test eax, eax
je 0x5101b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa1c], 0xa
test eax, eax
je 0x5101ce
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x604]
mov byte [esp + 0xa1c], 4
call fcn.00544810
mov eax, dword [esp + 0x20]
mov byte [esp + 0xa1c], 3
test eax, eax
je 0x5101f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xa1c], 0
test eax, eax
je 0x510334
jmp 0x51032e
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x4a
push eax
call ebp
push 0x511d10
push 0x3e8
push 0
push 0
call esi
push 0x512040
push 0xbb8
push 0
push 0
mov dword [0x5d05a4], eax
call esi
lea ecx, [esp + 0x44]
mov dword [0x5d05a8], eax
mov byte [esp + 0xa1c], 0x1f
call fcn.004476a0
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa1c], 0x1e
test eax, eax
je 0x51026e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa1c], 0xa
test eax, eax
je 0x510284
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x604]
mov byte [esp + 0xa1c], 4
call fcn.00544810
mov eax, dword [esp + 0x20]
mov byte [esp + 0xa1c], 3
test eax, eax
je 0x5102ae
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xa1c], 0
test eax, eax
je 0x5102c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x158]
mov dword [esp + 0xa1c], 0xffffffff
call fcn.004476a0
mov eax, 1
jmp 0x51034d
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea ecx, [esp + 0x604]
mov byte [esp + 0xa1c], 4
call fcn.00544810
mov eax, dword [esp + 0x20]
mov byte [esp + 0xa1c], 3
test eax, eax
je 0x51031e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xa1c], 0
test eax, eax
je 0x510334
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x158]
mov dword [esp + 0xa1c], 0xffffffff
call fcn.004476a0
xor eax, eax
mov ecx, dword [esp + 0xa14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa10
ret