Function at 0x43f815
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 8]
sub esp, 0xb4
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x28]
mov edi, 0x48a010
call fcn.0043abe5
test al, al
jne 0x43f7de
xor eax, eax
jmp 0x43fdb5
cmp dword [esp + 0x24], 0xffffffff
je 0x43f7f7
push dword [esp + 0x14]
push dword [esp + 0x28]
call fcn.0043aa7a
mov dword [ebp + 8], eax
jmp 0x43f7fb
and dword [ebp + 8], 0
mov eax, dword [esp + 0x24]
mov esi, dword [eax*4 + 0x48a060]
mov eax, dword [esp + 0x14]
mov ebx, dword [esi + eax*4 + 0x58]
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 0x70]
inc ebx
jo 0x43f7a0
inc esp
and al, 0x2b
xor eax, eax
cmp dword [ebp + 0xc], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
jge 0x43f82d
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
and eax, 0x100
push 1
mov dword [esp + 0x1c], eax
pop edi
je 0x43f84f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
call fcn.0043b770
mov dword [esp + 0x10], edi
test word [ebp + 0xc], 0x800
je 0x43f86e
push 0x13
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x10], edi
movzx eax, byte [esp + 0x2b]
cmp eax, 0x14
jg 0x43fba3
je 0x43faca
cmp eax, 9
je 0x43fa80
cmp eax, 0xb
je 0x43fa48
cmp eax, 0xc
je 0x43f7d7
cmp eax, 0xd
jle 0x43fcb0
cmp eax, 0xf
jle 0x43f979
cmp eax, 0x11
jne 0x43fcb0
push 0xfffffffffffffff0
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_GetVindmwLongU]
mov cl, byte [ebp + 0xc]
mov eax, dword [ebx + 8]
and cl, 1
neg cl
mov dword [esp + 0x84], eax
mov eax, 0x1000
mov dword [esp + 0x80], 8
mov dword [esp + 0x8c], 0xf010
sbb ecx, ecx
and ecx, eax
add ecx, eax
test word [ebp + 0xc], 0x200
mov dword [esp + 0x88], ecx
je 0x43f90d
or dword [esp + 0x88], 0x10
mov esi, dword [sym.imp.USER32.dll_SgodMess_geW]
lea eax, [esp + 0x80]
push eax
push 0
push 0x113f
push dword [ebx + 0x24]
call esi
test word [ebp + 0xc], 0x400
je 0x43f93e
push dword [ebx + 8]
push 2
push 0x1102
push dword [ebx + 0x24]
call esi
cmp dword [esp + 0x18], 0
je 0x43fc03
push dword [ebx + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, 0x48a010
call fcn.0043aa42
mov ecx, eax
mov eax, dword [esp + 0x24]
call fcn.0043b770
push dword [ebx + 8]
push 9
push 0x110b
push dword [ebx + 0x24]
call esi
jmp 0x43fc03
and dword [esp + 0x10], 0
lea eax, [esp + 0x54]
push eax
push 0
push dword [ebp + 8]
mov dword [esp + 0x60], 0x2c
push dword [ebx + 4]
mov dword [esp + 0x68], edi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x43f7d7
mov al, byte [ebp + 0xc]
test al, 0x20
jne 0x43f7d7
test al, al
jns 0x43f9bc
mov dword [esp + 0x10], 3
test al, 1
je 0x43f9c5
or dword [esp + 0x10], 8
cmp dword [esp + 0x18], 0
je 0x43f9d4
or dword [esp + 0x10], 0x80
test byte [esp + 0x60], 8
je 0x43f9e4
test al, 4
jne 0x43f9e4
or dword [esp + 0x10], 8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
test word [ebp + 0xc], 0x200
je 0x43fa0e
push 0
push dword [ebp + 8]
jmp 0x43fa32
lea eax, [esp + 0x54]
push eax
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x43fa3b
test word [esp + 0x60], 0x1000
je 0x43fa3b
push 0
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push dword [esi]
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x43fc03
test byte [ebp + 0xc], 0x10
je 0x43fcb0
cmp byte [esi + 0x4160], 0
movzx eax, byte [ebx + 0x73]
je 0x43fa6b
mov ecx, dword [esi + 0x415c]
mov dword [esi + 0x4158], ecx
push eax
call fcn.00440df3
movzx eax, byte [ebx + 0x73]
mov dword [esi + 0x415c], eax
jmp 0x43fc03
mov eax, dword [ebp + 0xc]
and eax, 7
sub eax, 0
je 0x43faaa
dec eax
je 0x43fa9c
push 0
push 0
push 0x467
jmp 0x43fbf9
push 0xffff0000
push 0xffffffffffffffff
push 0x465
jmp 0x43fab3
push 0
push 0
push 0x466
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SgodMess_geW]
test eax, eax
je 0x43fcb0
jmp 0x43fc03
mov eax, dword [ebp + 8]
mov ebx, dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_SgodMess_geW]
and dword [esp + 0x14], 0
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa8]
push eax
push 0xffffffffffffffff
push 0x1053
push ebx
mov dword [esp + 0xb8], edi
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x43f7d7
and dword [esp + 0x34], 0
push 0xffffffffffffffec
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 8
call dword [sym.imp.USER32.dll_GetVindmwLongU]
test al, 4
mov edi, 0x2000
je 0x43fb5f
test byte [ebp + 0xc], 5
je 0x43fb5f
mov eax, dword [ebp + 0xc]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffff000
add eax, edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x104c
push ebx
mov dword [esp + 0x4c], 0xf000
call esi
mov dword [esp + 0x14], eax
test word [ebp + 0xc], 0x2100
je 0x43fb9a
cmp dword [esp + 0x18], 0
je 0x43fb73
or dword [esp + 0x38], 0xffffffff
test dword [ebp + 0xc], edi
je 0x43fb7d
and dword [esp + 0x38], 0
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x44], 3
push 0x102b
push ebx
call esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
jmp 0x43fdb5
sub eax, 0x16
je 0x43fc43
dec eax
dec eax
je 0x43fc0c
dec eax
je 0x43fbe2
dec eax
jne 0x43fcb0
mov eax, dword [ebp + 0xc]
and eax, 7
je 0x43fcb0
and eax, 3
push eax
mov eax, dword [esp + 0x18]
mov edi, esi
call fcn.0043e37d
mov dword [esp + 0x10], 1
jmp 0x43fcb0
mov eax, dword [ebp + 0xc]
and eax, 7
je 0x43fcb0
push 0
and eax, 3
push eax
push 0xf1
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SgodMess_geW]
mov dword [esp + 0x10], edi
jmp 0x43fcb0
test word [ebp + 0xc], 0x200
je 0x43fcb0
push 0
push dword [ebp + 8]
push 0x401
push dword [esi]
call dword [sym.imp.USER32.dll_SgodMess_geW]
call dword [sym.imp.USER32.dll_GetFncu]
cmp eax, dword [ebx]
jne 0x43fc03
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
call fcn.0043b770
jmp 0x43fc03
push 3
pop edi
cmp dword [esi + 0x14], edi
jl 0x43fcb0
lea ecx, [esi + 0x64]
mov eax, dword [ecx]
test eax, eax
je 0x43fc61
cmp byte [eax + 0x70], 3
jne 0x43fc61
mov eax, dword [eax]
cmp eax, dword [ebx + 0x24]
je 0x43fc6c
inc edi
add ecx, 4
cmp edi, dword [esi + 0x14]
jle 0x43fc4e
jmp 0x43fcb0
mov al, byte [ebx + 0x72]
mov cl, byte [ebp + 0xc]
test cl, al
jne 0x43fcb0
test al, 0x10
je 0x43fcb0
mov eax, dword [esi + edi*4 + 0x58]
movsx ecx, word [eax + 0x6e]
push 0
push ecx
movsx ecx, word [eax + 0x6c]
push ecx
movsx ecx, word [eax + 0x6a]
push ecx
movsx ecx, word [eax + 0x68]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_MovdWindow]
push 0
push dword [ebx + 0x24]
push 0x469
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SgodMess_geW]
mov eax, dword [ebp + 0xc]
and eax, 0x10f8
mov dword [esp + 0x18], eax
jle 0x43fdb1
mov edi, dword [sym.imp.USER32.dll_Ena_leWindoW]
xor eax, eax
test byte [esp + 0x18], 0x80
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
je 0x43fd09
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x1c]
mov dword [esp + 0x14], 0xc0
jne 0x43fcfd
push 0
push 0
mov esi, eax
call fcn.00443a5a
push 0
push dword [esp + 0x20]
call edi
mov eax, dword [esp + 0x14]
test byte [esp + 0x18], 0x40
je 0x43fd24
push 1
push dword [esp + 0x20]
mov dword [esp + 0x1c], 0xc0
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, ecx
and edi, 0x20
je 0x43fd32
add eax, 0x30
mov dword [esp + 0x18], ecx
and dword [esp + 0x18], 0x10
je 0x43fd40
add eax, 0x30
test cl, 8
mov esi, 0x1008
je 0x43fd4c
add eax, esi
test cx, 0x1000
je 0x43fd55
add eax, esi
not al
and al, byte [ebx + 0x72]
or al, cl
mov byte [ebx + 0x72], al
mov al, byte [ebx + 0x73]
cmp al, 0xff
je 0x43fd7c
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x4158]
movzx eax, al
cmp eax, ecx
je 0x43fd7c
cmp ecx, 0xffffffff
jne 0x43fdb1
test edi, edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x43fd8e
push 0
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x18], 0
je 0x43fd9d
push 4
push dword [esp + 0x20]
call esi
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x39], 0
jne 0x43fdb1
push 1
push ebx
mov esi, eax
call fcn.0043ac55
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8