Function at 0x10028ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009cc40
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x100cb2bc]
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
mov dword [ebp - 0x64], ebx
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x100a3a4c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebx + 0xa4], 0
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
je 0x10028f8b
cmp dword [ebx + 0x124], 0
je 0x10028f6e
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
or eax, 0xcf0000
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp byte [ebx + 0x16c], 0
je 0x10028f8b
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
and eax, 0xfffdffff
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp dword [ebx + 0x128], 0
je 0x10028fa8
push 0xffffffffffffffec
push dword [ebx + 4]
call esi
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebx + 0xb4]
mov esi, eax
mov eax, dword [ebx + 0xb0]
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], eax
call fcn.10012330
mov dword [ebp - 4], 0
call fcn.10042a90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10029119
push 0x37
push str.d:work_basic_mgamejs_basicjs_basicwebwndweb_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.100065f0
push 3
push 0x100a38bc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100065f0
mov byte [ebp - 4], 2
call fcn.10042a90
mov edi, eax
lea ecx, [ebp - 0xfc]
push 0x50
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003990
mov esi, eax
push str.icon_path:
push esi
mov byte [ebp - 4], 3
call fcn.10004a70
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, 0x100a3a84
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1000a1f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.10004ba0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100290cc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100290c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100292e6
push edx
push ecx
call fcn.10051a28
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10029116
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002910c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100292eb
push edx
push ecx
call fcn.10051a28
add esp, 8
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov edi, dword [sym.imp.USER32.dll_SetClassLongW]
test ecx, ecx
jle 0x10029156
cmp dword [ebp - 0x48], 0
jne 0x10029160
movzx eax, cx
push eax
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
je 0x10029156
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0xfffffffffffffff2
push dword [ebx + 4]
call edi
cmp dword [ebp - 0x48], 0
je 0x1002928f
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x2010
cmovae eax, dword [ebp - 0x58]
push 0
push 0
push 1
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
mov dword [ebp - 0x5c], esi
call fcn.10042a90
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10029272
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x37
push str.d:work_basic_mgamejs_basicjs_basicwebwndweb_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov ebx, eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100065f0
push 3
push 0x100a38bc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.100065f0
mov byte [ebp - 4], 5
call fcn.10042a90
mov edi, eax
lea ecx, [ebp - 0xfc]
push 0x5c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10003990
mov esi, eax
push str.set_icon:
push esi
mov byte [ebp - 4], 6
call fcn.10004a70
add esp, 8
mov ecx, esi
push dword [ebp - 0x5c]
call fcn.1002c0a0
push 0x100a41d4
push esi
call fcn.10004a70
add esp, 8
mov ecx, esi
push ebx
call fcn.10012570
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.10004ba0
lea ecx, [ebp - 0x40]
call fcn.10004360
lea ecx, [ebp - 0x28]
call fcn.10004360
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x5c]
mov edi, dword [sym.imp.USER32.dll_SetClassLongW]
test esi, esi
je 0x1002928f
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0xfffffffffffffff2
push dword [ebx + 4]
call edi
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x100292c5
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100292bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100292f0
push edx
push ecx
call fcn.10051a28
add esp, 8
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.10051a36
mov esp, ebp
pop ebp
ret
call fcn.10076ce3
call fcn.10076ce3
call fcn.10076ce3
int3