Function at 0x403560
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x5711e8]
sub esp, 0x28
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x40358d
call fcn.00422b70
mov eax, dword [eax + 4]
push 0
push 0x77fc
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x3c]
lea edi, [esi + 0x28]
mov dword [esi + 0x8f8], ecx
mov edx, dword [0x591228]
push 1
push str.ACC_BACK.PNG
push edx
mov ecx, edi
call fcn.00493930
mov eax, dword [0x591228]
push 1
push str.ACC_ENABLE.PNG
push eax
lea ecx, [esi + 0x25c]
call fcn.00493930
mov ecx, dword [0x591228]
push 1
push str.ACC_DISABLE.PNG
push ecx
lea ecx, [esi + 0x490]
call fcn.00493930
mov edx, dword [0x591228]
push 1
push str.ACC_DISABLE2.PNG
push edx
lea ecx, [esi + 0x6c4]
call fcn.00493930
mov ecx, edi
call fcn.00494650
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ecx, esi
mov ebx, eax
add ebp, 0x3e
sub edi, 5
call fcn.004032b0
sub eax, 3
push 0
push 0x2008
push 0
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 1
mov dword [esi + 0x1418], eax
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
add edx, eax
mov eax, ebp
mov dword [ebx + 4], edx
sub eax, ecx
mov ecx, dword [esi + 0x8f8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 4]
add edi, ebp
mov dword [esp + 0x30], edi
mov edx, dword [ecx]
call dword [edx + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push 0x90000000
push 0
push str.XWnd
push 0x8080088
mov ecx, esi
call fcn.0050be20
mov edi, eax
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call fcn.004e74d0
mov ecx, eax
call fcn.00506fa0
call fcn.00422b70
push 0
push 0x77ed
push 0x405
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [sym.imp.MSVCP60.dll_struct_std::nothrow_t_const_std::nothrow]
push edx
push 0x478
call fcn.0051e205
add esp, 8
test eax, eax
je 0x403837
push esi
mov ecx, eax
call fcn.004a1a00
test eax, eax
mov dword [esp + 0x10], eax
je 0x4038d4
push 3
push 2
push 1
push 0
push str.close_normal.PNG
mov ecx, eax
call fcn.004a1b80
mov ecx, dword [esp + 0x10]
push 2
call fcn.004a1b50
mov ecx, dword [esp + 0x10]
push 0x6e
call fcn.004a1e00
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004a1df0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004a2030
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebx]
mov edi, eax
add edx, 0x10
sub edi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
lea edx, [esp + 0x28]
sub edi, 0xc
add eax, 0xfffffff4
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x34], eax
call fcn.004a1d10
mov eax, dword [esi + 0x1424]
mov ecx, dword [esi + 0x1428]
lea edi, [esi + 0x141c]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
mov ebp, eax
jae 0x403844
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x403794
sub eax, ecx
sar eax, 2
cmp eax, 1
mov dword [esp + 0x3c], eax
ja 0x40379c
mov dword [esp + 0x3c], 1
mov ecx, edi
call fcn.004d7970
add eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
jns 0x4037af
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
mov ecx, edi
push eax
mov eax, dword [edi + 4]
push ebp
push eax
call fcn.0046ea90
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], eax
push ecx
push 1
push eax
mov ecx, edi
call fcn.0046eac0
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 8]
add edx, 4
mov ecx, edi
push edx
push eax
push ebp
call fcn.0046ea90
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.004f0f70
mov eax, dword [edi + 4]
push eax
call fcn.0051e1fa
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, edi
mov dword [edi + 0xc], edx
call fcn.004d7970
lea eax, [ebp + eax*4 + 4]
mov dword [edi + 4], ebp
mov dword [edi + 8], eax
jmp 0x4038d4
mov dword [esp + 0x10], 0
jmp 0x4038d4
mov ecx, eax
sub ecx, ebp
sar ecx, 2
cmp ecx, 1
jae 0x403894
lea edx, [ebp + 4]
mov ecx, edi
push edx
push eax
push ebp
call fcn.0046ea90
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
sub edx, ebp
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.0046eac0
mov ecx, dword [edi + 8]
mov eax, ebp
cmp ebp, ecx
je 0x4038d0
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x403885
jmp 0x4038d0
push eax
push eax
add eax, 0xfffffffc
mov ecx, edi
push eax
call fcn.0046ea90
mov ecx, dword [edi + 8]
lea eax, [ecx - 4]
cmp ebp, eax
je 0x4038ba
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, ebp
mov dword [ecx], edx
jne 0x4038ab
lea ecx, [ebp + 4]
mov eax, ebp
cmp ebp, ecx
je 0x4038d0
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x4038c3
add dword [edi + 8], 4
mov eax, dword [sym.imp.MSVCP60.dll_struct_std::nothrow_t_const_std::nothrow]
push eax
push 0x478
call fcn.0051e205
add esp, 8
test eax, eax
je 0x4039e5
push esi
mov ecx, eax
call fcn.004a1a00
test eax, eax
mov dword [esp + 0x10], eax
je 0x403b0d
push 5
mov ecx, eax
call fcn.004a1b50
push 0xc42b
call fcn.0049c120
mov ecx, dword [esp + 0x14]
add esp, 4
push eax
call fcn.004a1b60
mov ebp, 4
push ebp
call fcn.004f93f0
mov ecx, eax
call fcn.004fa620
mov ecx, dword [esp + 0x10]
push eax
call fcn.004a1d70
mov ecx, dword [esp + 0x10]
push 0xf38e2a
push 0xf38e2a
push 0xf38e2a
push 0xf38e2a
call fcn.004a1d40
mov ecx, dword [esp + 0x10]
push 0x6f
call fcn.004a1e00
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004a1df0
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
lea edx, [eax - 0x4e]
lea ecx, [ebx - 0x46]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
add eax, 0xfffffff1
add ebx, 0xffffffc9
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
call fcn.004a1d10
mov eax, dword [esi + 0x1424]
mov ecx, dword [esi + 0x1428]
lea edi, [esi + 0x141c]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
mov ebx, eax
jae 0x403a85
mov edx, dword [edi + 4]
test edx, edx
je 0x4039d8
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x4039dd
mov ecx, 1
test edx, edx
jne 0x4039f2
xor eax, eax
jmp 0x4039f7
mov dword [esp + 0x10], 0
jmp 0x403b0d
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x40], eax
jge 0x403a03
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
mov eax, dword [edi + 4]
mov ecx, edi
push ebp
push ebx
push eax
call fcn.0046ea90
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], eax
push ecx
push 1
push eax
mov ecx, edi
call fcn.0046eac0
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 8]
add edx, 4
mov ecx, edi
push edx
push eax
push ebx
call fcn.0046ea90
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.004f0f70
mov eax, dword [edi + 4]
push eax
call fcn.0051e1fa
mov ecx, dword [esp + 0x44]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, edi
mov dword [edi + 0xc], edx
call fcn.004d7970
lea eax, [ebp + eax*4 + 4]
mov dword [edi + 4], ebp
mov dword [edi + 8], eax
jmp 0x403b0d
mov ecx, eax
sub ecx, ebx
sar ecx, 2
cmp ecx, 1
jae 0x403ad2
lea edx, [ebx + 4]
mov ecx, edi
push edx
push eax
push ebx
call fcn.0046ea90
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
sub edx, ebx
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.0046eac0
mov eax, dword [edi + 8]
cmp ebx, eax
je 0x403b0a
mov edx, dword [esp + 0x10]
mov dword [ebx], edx
add ebx, ebp
cmp ebx, eax
jne 0x403ac4
jmp 0x403b0a
push eax
push eax
add eax, 0xfffffffc
mov ecx, edi
push eax
call fcn.0046ea90
mov ecx, dword [edi + 8]
lea eax, [ecx - 4]
cmp ebx, eax
je 0x403af5
sub eax, ebp
sub ecx, ebp
cmp eax, ebx
mov edx, dword [eax]
mov dword [ecx], edx
jne 0x403ae9
lea ecx, [ebx + 4]
mov eax, ebx
cmp ebx, ecx
je 0x403b0a
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, ebp
cmp eax, ecx
jne 0x403afe
add dword [edi + 8], ebp
mov ecx, esi
call fcn.00403b50
push 0xff
mov ecx, esi
call fcn.004033c0
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc