Function at 0x10049ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db4c5
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x10118974]
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 0x100e4a18
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 0x10049b7b
cmp dword [ebx + 0x124], 0
je 0x10049b5e
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 0x10049b7b
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 0x10049b98
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.100079d0
mov dword [ebp - 4], 0
call fcn.10064ac0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10049d09
push 0x51
push str.d:jenkins.jenkinsworkspacemgamecef_basicjs_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.1000b3d0
push 3
push 0x100e4e3c
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.1000b3d0
mov byte [ebp - 4], 2
call fcn.10064ac0
mov edi, eax
lea ecx, [ebp - 0xfc]
push 0x56
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007d20
mov esi, eax
push str.icon_path:
push esi
mov byte [ebp - 4], 3
call fcn.10009060
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, 0x100e4c88
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.100053e0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.10009120
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10049cbc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10049cb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049ed6
push edx
push ecx
call fcn.100915df
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 0x10049d06
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10049cfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049edb
push edx
push ecx
call fcn.100915df
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 0x10049d46
cmp dword [ebp - 0x48], 0
jne 0x10049d50
movzx eax, cx
push eax
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
je 0x10049d46
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 0x10049e7f
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.10064ac0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10049e62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x51
push str.d:jenkins.jenkinsworkspacemgamecef_basicjs_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.1000b3d0
push 3
push 0x100e4e3c
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.1000b3d0
mov byte [ebp - 4], 5
call fcn.10064ac0
mov edi, eax
lea ecx, [ebp - 0xfc]
push 0x62
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007d20
mov esi, eax
push str.set_icon:
push esi
mov byte [ebp - 4], 6
call fcn.10009060
add esp, 8
mov ecx, esi
push dword [ebp - 0x5c]
call fcn.100132f0
push 0x100e805c
push esi
call fcn.10009060
add esp, 8
mov ecx, esi
push ebx
call fcn.10013140
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.10009120
lea ecx, [ebp - 0x40]
call fcn.100088c0
lea ecx, [ebp - 0x28]
call fcn.100088c0
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x5c]
mov edi, dword [sym.imp.USER32.dll_SetClassLongW]
test esi, esi
je 0x10049e7f
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 0x10049eb5
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10049eab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049ee0
push edx
push ecx
call fcn.100915df
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.1009195e
mov esp, ebp
pop ebp
ret
call fcn.100af803
call fcn.100af803
call fcn.100af803
int3