Function at 0x477e90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x477ebf
push 0x735
push 0x557b4c
call fcn.0045b590
test eax, eax
je 0x477ebf
int3
cmp dword [ebp - 0x10], 0
jne 0x477eca
call fcn.00431d30
xor edx, edx
jne 0x477e99
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x148]
call eax
mov dword [ebp - 4], eax
push 0x73a
push 0x557b84
mov ecx, dword [ebp - 4]
push ecx
call fcn.0045d090
cmp dword [ebp - 4], 0
jne 0x477eff
call fcn.00431d30
xor edx, edx
jne 0x477ee1
cmp dword [ebp + 8], 0
je 0x477f30
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x477f30
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x80]
mov edx, dword [edx]
mov eax, dword [edx + 0x64]
call eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call fcn.0042f470
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47801a
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call fcn.0042f4b0
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
push 0x745
push 0x557bbc
mov eax, dword [ebp - 0x18]
push eax
call fcn.0045d090
cmp dword [ebp - 0x18], 0
jne 0x477f87
call fcn.00431d30
xor ecx, ecx
jne 0x477f69
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx ecx, ax
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0xe800
jb 0x478015
cmp dword [ebp - 0x14], 0xe81f
ja 0x478015
mov ecx, dword [ebp - 0x14]
sub ecx, 0xe800
mov edx, 1
shl edx, cl
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x15c]
call eax
test eax, eax
je 0x477fe0
mov ecx, dword [ebp - 8]
or ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x164]
call edx
test eax, eax
je 0x477ffd
cmp dword [ebp - 0x14], 0xe81f
je 0x478015
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
and ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00476ab0
jmp 0x477f48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
cmp dword [ebp + 8], 0
je 0x478189
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0xb4], 0
je 0x47804d
push 0x756
push 0x557bf4
call fcn.0045b590
test eax, eax
je 0x47804d
int3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xb4], eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.00474d20
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x478096
push 0x75e
push 0x557c2c
call fcn.0045b590
test eax, eax
je 0x478096
int3
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x4780e7
push 1
mov ecx, dword [ebp - 0x34]
call fcn.00433d30
push 0
mov ecx, dword [ebp - 0x34]
call fcn.004334e0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xd0]
and ecx, 0xfffffffe
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xd0], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x60], 0
push 0x7915
mov ecx, dword [ebp - 0x34]
call fcn.004743b0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x47812a
push 0xe900
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x478141
push 0xea21
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300000
je 0x478184
push str.Warning:_scroll_bars_in_frame_windows_may_cause_unusual_behaviour._n
push 0
mov ecx, 0x5c97d8
call fcn.0040d7e0
push eax
push 0x77a
push 0x557c64
lea ecx, [ebp - 0x30]
call fcn.00401100
push eax
call fcn.00429920
add esp, 0x10
jmp 0x4782ab
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xb4], 0
push 0xea21
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4781ee
push 0xe900
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4781dd
push 0xea21
push 0xfffffffffffffff4
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xe900
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x478215
push 1
mov ecx, dword [ebp - 0x34]
call fcn.00433d30
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x80], 0
je 0x47823c
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x80]
mov edx, dword [eax]
mov eax, dword [edx + 0x64]
call eax
push 1
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x150]
call eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x47826f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x478289
push 0x79f
push 0x557ce4
call fcn.0045b590
test eax, eax
je 0x478289
int3
push 5
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x60], ecx
push 1
mov ecx, dword [ebp - 0x34]
call fcn.00474d20
mov esp, ebp
pop ebp
ret 8