Function at 0x41eb90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b859
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x492984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.byondwin.dll_protected_virtual:_int___thiscall_CDialogSK::OnInitDialog_void_]
lea ecx, [ebx + 0x98]
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CResizableLayout::RemoveAllAnchors_void_]
push 0
lea ecx, [ebx + 0x10c]
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CResizableGrip::SetSizeGripVisibility_int_]
lea ecx, [ebx + 0x10c]
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CResizableGrip::UpdateSizeGrip_void_]
lea eax, [ebp - 0x168]
push str.BYOND:_Your_Game_Is_Starting
push eax
call dword [sym.imp.byondcore.dll_struct_DMWideStringStub___cdecl_Utf82Wide_char_const__]
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x164]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, ebx
call sub.mfc120u.dll_Ordinal_13997
lea ecx, [ebp - 0x164]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x168]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMWideStringStub::destructor_void_]
call sub.mfc120u.dll_Ordinal_2204
push 0x89
push 0xe
push 0x89
call sub.mfc120u.dll_Ordinal_2173
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x40000
mov ecx, ebx
call sub.mfc120u.dll_Ordinal_8655
push 0
push 0x40000
push 0
mov ecx, ebx
call sub.mfc120u.dll_Ordinal_8658
push 0x263c
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp - 0x16c], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x41ecf1
push 0
mov ecx, esi
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::constructor_class_CWnd__]
mov dword [esi], vtable.CVHTMLCtrl.0
mov dword [esi + 0x98], vtable.CVHTMLCtrl.1.0
mov dword [esi + method.CVHTMLCtrl.2.virtual_0], vtable.CVHTMLCtrl.2.0
mov dword [esi + method.CVHTMLCtrl.3.virtual_0], vtable.CVHTMLCtrl.3.0
mov dword [esi + method.CVHTMLCtrl.4.virtual_0], vtable.CVHTMLCtrl.4.0
jmp 0x41ecf3
xor esi, esi
push 0
push 0x420b20
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x23c], esi
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetLinkCallback_int____cdecl___class_CWnd___char_const____int_]
mov ecx, dword [ebx + 0x23c]
push 0x420980
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetCompleteCallback_int____cdecl___class_CWnd___char_const___]
mov ecx, dword [ebx + 0x23c]
push 0x4209b0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetErrorCallback_int____cdecl___class_CWnd___char_const___int__]
mov ecx, dword [ebx + 0x23c]
push 0x420ca0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetPopupCallback_int____cdecl___class_CWnd___char_const___]
mov ecx, dword [ebx + 0x23c]
push 0x420c20
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetMouseCallback_int____cdecl___class_CWnd___struct_tagMSG___]
mov ecx, dword [ebx + 0x23c]
push 1
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::HandleByondUrls_int_]
mov ecx, dword [ebx + 0x23c]
push 0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetShowStatus_int_]
mov ecx, dword [ebx + 0x23c]
push 0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetShowTitle_int_]
mov ecx, dword [ebx + 0x23c]
push 0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetShowURL_int_]
mov ecx, dword [ebx + 0x23c]
push 0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetShowArrows_int_]
mov ecx, dword [ebx + 0x23c]
push 0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetShowBorder_int_]
mov ecx, dword [ebx + 0x23c]
push 0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetMouseWheel_int_]
mov ecx, dword [ebx + 0x23c]
push 1
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::DisableRefresh_int_]
mov ecx, dword [ebx + 0x23c]
push 1
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetSilent_int_]
mov ecx, dword [ebx + 0x23c]
push 1
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetScriptSilence_int_]
mov ecx, dword [ebx + 0x23c]
push 1
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::DisableCache_int_]
mov ecx, dword [ebx + 0x23c]
push 0
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::SetAutoScroll_int_]
mov ecx, dword [ebx + 0x23c]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x198]
test eax, eax
je 0x41ef4f
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x23c]
push 1
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
push 0
push 0
call sub.mfc120u.dll_Ordinal_8699
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [ebx + 0x20]
call edi
push eax
call sub.mfc120u.dll_Ordinal_4843
mov esi, eax
test esi, esi
je 0x41ee8a
jmp 0x41ee60
mov ecx, dword [ebx + 0x23c]
mov ecx, dword [ecx + 0x20]
cmp ecx, dword [esi + 0x20]
je 0x41ee77
push 0
mov ecx, esi
call sub.mfc120u.dll_Ordinal_14094
push 2
push dword [esi + 0x20]
call edi
push eax
call sub.mfc120u.dll_Ordinal_4843
mov esi, eax
test esi, esi
jne 0x41ee60
push dword [0x48e39c]
mov eax, dword [ebx + 0x23c]
lea ecx, [ebx + 0x98]
push dword [0x48e398]
push dword [0x49658c]
push dword [0x496588]
push dword [eax + 0x20]
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CResizableLayout::AddAnchor_struct_HWND_____struct_tagANCHOR__struct_tagANCHOR_]
push str.splash_ds.html
lea ecx, [ebp - 0x160]
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_char_const__]
push dword [ebp - 0x160]
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 3
push eax
call dword [sym.imp.byondcore.dll_struct_DMString___cdecl_GetRscFile_char_const__]
add esp, 8
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 4
call dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_struct_DMString_const__]
mov esi, dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 3
call esi
push 0
push 0xffffffffffffffff
push str._html__body_scrollno_style_background:black____body___html_
push dword [ebp - 0x160]
call fcn.00420870
mov ecx, dword [ebx + 0x23c]
add esp, 0x10
push 1
push 1
push 0
push dword [ebp - 0x160]
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CVHTMLCtrl::Navigate_char_const___char_const___int__int_]
mov ecx, ebx
call fcn.0041f7d0
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
call esi
jmp 0x41ef6a
mov ecx, dword [ebx + 0x23c]
test ecx, ecx
je 0x41ef60
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebx + 0x23c], 0
push str.psapi.dll
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x164], eax
test eax, eax
je 0x41f189
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4679c4
push eax
call esi
push str.GetModuleBaseNameA
push dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
call esi
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x168], edi
je 0x41f0c3
test eax, eax
je 0x41f0c3
test edi, edi
je 0x41efc9
mov eax, dword [edi + 0x20]
jmp 0x41efcb
xor eax, eax
push 0x4679ec
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
call sub.mfc120u.dll_Ordinal_4843
mov edi, eax
test edi, edi
je 0x41f0c3
lea eax, [ebp - 0x174]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x174]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41efc0
lea eax, [ebp - 0x178]
mov byte [ebp - 0x114], 0
push eax
push 4
lea eax, [ebp - 0x170]
push eax
push esi
call dword [ebp - 0x168]
test eax, eax
je 0x41f04f
push 0x82
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x170]
push esi
call dword [ebp - 0x16c]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x160]
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_char_const__]
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.byondcore.dll_public:_int___thiscall_DMString::CompareNoCase_char_const__const]
lea ecx, [ebp - 0x160]
push str.byond
call esi
test eax, eax
je 0x41f0b0
push str.byond.exe
lea ecx, [ebp - 0x160]
call esi
test eax, eax
je 0x41f0b0
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
jmp 0x41efc0
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x41f189
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41f189
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x41f189
push dword [ebx + 0x20]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x124], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [ebp - 0x124]
push eax
je 0x41f11d
push dword [ebx + 0x20]
jmp 0x41f120
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push dword [edi + 0x20]
mov dword [ebp - 0x15c], 0x28
call fcn.00456c70
lea ecx, [ebp - 0x15c]
push ecx
push eax
call fcn.00456b00
push dword [ebp - 0x154]
lea eax, [ebp - 0x124]
push dword [ebp - 0x158]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x120]
sub eax, edx
mov ecx, dword [ebp - 0x124]
push 1
push eax
mov eax, dword [ebp - 0x11c]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, ebx
call sub.mfc120u.dll_Ordinal_8699
push 0
mov ecx, ebx
call sub.mfc120u.dll_Ordinal_14367
push 5
mov ecx, ebx
call sub.mfc120u.dll_Ordinal_14094
push 0xd
push 0x465f28
push str.window_on_top
mov esi, 0x465f0c
call dword [sym.imp.byondcore.dll_char_const____cdecl_GetConfig_char_const___char_const___enum_ConfigSetEnum_]
add esp, 0xc
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x41f1d5
test cl, cl
je 0x41f1d1
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x41f1d5
add eax, 2
add esi, 2
test cl, cl
jne 0x41f1b5
xor eax, eax
jmp 0x41f1da
sbb eax, eax
or eax, 1
mov ecx, ebx
push 3
push 0
push 0
push 0
push 0
test eax, eax
jne 0x41f1f2
push dword [sym.imp.mfc120u.dll_Ordinal_14459]
jmp 0x41f1f8
push dword [sym.imp.mfc120u.dll_Ordinal_14458]
call sub.mfc120u.dll_Ordinal_13991
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004580b8
mov esp, ebp
pop ebp
ret