Function at 0x422ae0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x2c
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x423201
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
cmp eax, 1
jne 0x422b1e
push 1
call fcn.00422a90
push ebp
mov ecx, esi
call fcn.00423900
jmp 0x422f4a
cmp eax, 0x10
jne 0x422b3e
push 1
mov ecx, esi
call fcn.00422a90
mov ecx, esi
call fcn.004253e0
mov dword [ebx], 0
jmp 0x422f4c
cmp eax, 0x2b
jne 0x422b62
push 1
mov ecx, esi
call fcn.00422a90
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
push ebp
push edi
call dword [eax + 0x18]
mov dword [ebx], 1
jmp 0x422f4c
cmp eax, 0x111
jne 0x422cc5
cmp di, 0x3f2
jne 0x422b8a
mov ecx, esi
call fcn.004253e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0x3f3
jne 0x422ba7
mov ecx, esi
call fcn.00423930
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 1
jne 0x422bc3
mov ecx, esi
call fcn.00493060
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0xe140
jne 0x422be0
mov ecx, esi
call fcn.00493060
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 2
jne 0x422bfc
mov ecx, esi
call fcn.00423940
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0x68
jne 0x422c18
mov ecx, esi
call fcn.00424000
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0x69
jne 0x422c34
mov ecx, esi
call fcn.00424050
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0x71
jne 0x422c50
mov ecx, esi
call fcn.00424130
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0x6a
jne 0x422c6c
mov ecx, esi
call fcn.004243d0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0x7d
jne 0x422c88
mov ecx, esi
call fcn.00424670
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0x6c
jne 0x422ca4
mov ecx, esi
call fcn.00424640
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp di, 0x85
jne 0x422f6a
mov ecx, esi
call fcn.00425410
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp eax, 0x18
jne 0x422ce7
push 1
mov ecx, esi
call fcn.00422a90
push ebp
push edi
mov ecx, esi
call fcn.00425490
mov dword [ebx], 0
jmp 0x422f4c
cmp eax, 0x112
jne 0x422d17
push 1
mov ecx, esi
call fcn.00422a90
mov ecx, ebp
shr ecx, 0x10
movsx ecx, cx
movsx eax, bp
push ecx
push eax
push edi
mov ecx, esi
call fcn.00425650
mov dword [ebx], 0
jmp 0x422f4c
cmp eax, 3
jne 0x422d51
push 1
mov ecx, esi
call fcn.00422a90
mov eax, dword [esi + 0x18]
test eax, eax
je 0x422d46
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [ebx], 0
jmp 0x422f4c
cmp eax, 5
jne 0x422d7f
push 1
mov ecx, esi
call fcn.00422a90
mov edx, ebp
shr edx, 0x10
movsx ecx, dx
movsx eax, bp
push ecx
push eax
push edi
mov ecx, esi
call fcn.00424b70
mov dword [ebx], 0
jmp 0x422f4c
cmp eax, 0xf
jne 0x422da8
push 1
mov ecx, esi
call fcn.00422a90
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x50], esp
mov dword [eax], edi
call fcn.00426420
mov dword [ebx], 0
jmp 0x422f4c
cmp eax, 2
jne 0x422dc8
push 1
mov ecx, esi
call fcn.00422a90
mov ecx, esi
call fcn.00424d30
mov dword [ebx], 0
jmp 0x422f4c
cmp eax, 0x14
jne 0x422deb
push 1
mov ecx, esi
call fcn.00422a90
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x50], esp
mov dword [eax], edi
call fcn.00425a70
jmp 0x422f4a
cmp eax, 0x11
jne 0x422e07
push 1
mov ecx, esi
call fcn.00422a90
push ebp
push edi
mov ecx, esi
call fcn.004253f0
jmp 0x422f4a
cmp eax, 0x7e9
jne 0x422e2a
push 1
mov ecx, esi
call fcn.00422a90
push ebp
push edi
push 0x7e9
mov ecx, esi
call fcn.00424d50
jmp 0x422f4a
cmp eax, 0x7ea
jne 0x422e4d
push 1
mov ecx, esi
call fcn.00422a90
push ebp
push edi
push 0x7ea
mov ecx, esi
call fcn.004258c0
jmp 0x422f4a
cmp eax, 0x7eb
jne 0x422e70
push 1
mov ecx, esi
call fcn.00422a90
push ebp
push edi
push 0x7eb
mov ecx, esi
call fcn.004258e0
jmp 0x422f4a
cmp eax, 0x7ec
jne 0x422e93
push 1
mov ecx, esi
call fcn.00422a90
push ebp
push edi
push 0x7ec
mov ecx, esi
call fcn.004259c0
jmp 0x422f4a
cmp eax, 0x7ee
jne 0x422eb6
push 1
mov ecx, esi
call fcn.00422a90
push ebp
push edi
push 0x7ee
mov ecx, esi
call fcn.00426400
jmp 0x422f4a
cmp eax, 0x113
jne 0x422ef2
push 1
mov ecx, esi
call fcn.00422a90
push edi
mov ecx, esi
call fcn.004250e0
mov ecx, esi
mov dword [ebx], 0
call fcn.00422a80
test eax, eax
je 0x422f66
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp eax, 0x7ed
jne 0x422f26
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push 1
push eax
push ecx
push 0x7ed
mov ecx, esi
call fcn.00425df0
mov edx, dword [esp + 0x50]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp eax, 0x84
jne 0x422f6a
push 1
mov ecx, esi
call fcn.00422a90
mov ecx, ebp
shr ecx, 0x10
movsx ecx, cx
movsx eax, bp
push ecx
push eax
mov ecx, esi
call fcn.00423210
mov dword [ebx], eax
mov ecx, esi
call fcn.00422a80
test eax, eax
je 0x422f66
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
mov eax, dword [esp + 0x44]
cmp eax, 5
lea ecx, [esi + 0x68]
jne 0x4231cf
test ecx, ecx
je 0x422f7f
lea esi, [ecx - 0x68]
jmp 0x422f81
xor esi, esi
mov al, byte [ecx + 0x1c]
test al, al
je 0x422fb6
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x422fa7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x422fbf
test edi, edi
jne 0x422fb6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x422fbf
cmp edi, 1
je 0x4231ec
mov eax, ebp
lea edi, [esi + 0x68]
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
test edi, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], edi
je 0x422fe2
lea ebp, [edi - 0x68]
jmp 0x422fe4
xor ebp, ebp
mov eax, dword [ebp + 4]
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x42301f
mov eax, dword [edi + 0x14]
cmp eax, 0xffffffff
je 0x42301f
mov ecx, dword [edi + 0x18]
cmp ecx, 0xffffffff
je 0x42301f
cmp dword [esp + 0x48], eax
jge 0x423015
mov dword [esp + 0x48], eax
cmp dword [esp + 0x4c], ecx
jge 0x42301f
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x423043
mov edx, dword [ebp + 4]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 4]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x44], eax
jle 0x423193
xor edx, edx
jmp 0x423066
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
xor edx, edx
lea esi, [eax + eax*2]
mov eax, dword [edi]
shl esi, 3
lea ecx, [esi + eax]
mov eax, dword [esi + eax + 4]
test ah, 0x10
je 0x423147
shr eax, 0x10
and eax, 0xff
lea edx, [ecx + 8]
mov ebx, eax
mov eax, dword [edx]
cmp ebx, 1
mov dword [esp + 0x1c], eax
mov ebp, dword [edx + 4]
mov dword [esp + 0x20], ebp
mov edi, dword [edx + 8]
mov dword [esp + 0x24], edi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x28], edx
jle 0x4230f6
lea eax, [ecx + 0x24]
lea ecx, [ebx - 1]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax - 4]
cmp dword [esp + 0x1c], ecx
jl 0x4230c2
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax]
cmp ebp, ecx
jl 0x4230ce
mov ebp, ecx
mov dword [esp + 0x20], ebp
mov ecx, dword [eax + 4]
cmp edi, ecx
jg 0x4230db
mov edi, ecx
mov dword [esp + 0x24], edi
mov ecx, dword [eax + 8]
cmp edx, ecx
jg 0x4230e8
mov edx, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x14]
add eax, 0x18
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4230b5
xor edi, edi
test ebx, ebx
jle 0x42313d
mov edx, dword [esp + 0x10]
lea ebp, [edx + 0x68]
xor eax, eax
test edi, edi
jle 0x423113
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
lea eax, [ecx + esi - 0x18]
mov edx, dword [esp + 0x54]
push eax
push 1
lea ecx, [esp + 0x24]
mov eax, dword [edx]
mov edx, dword [esp + 0x54]
add eax, esi
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00426ca0
inc edi
add esi, 0x18
cmp edi, ebx
jl 0x423103
mov ecx, dword [esp + 0x44]
lea ebx, [ecx + ebx - 1]
jmp 0x423175
mov eax, dword [esp + 0x4c]
push edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
push edx
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
lea ecx, [ebp + 0x68]
call fcn.00426ca0
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
inc ebx
mov dword [esp + 0x44], ebx
cmp ebx, dword [edx + 4]
jl 0x423058
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x4231a7
mov eax, dword [ebp + 4]
push 0
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 4]
push 0x185
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
cmp eax, 0x24
jne 0x423201
cmp dword [ecx + 0x14], 0xffffffff
je 0x4231ec
cmp dword [ecx + 0x18], 0xffffffff
je 0x4231ec
mov edx, dword [ecx + 0x14]
mov dword [ebp + 0x18], edx
mov eax, dword [ecx + 0x18]
mov dword [ebp + 0x1c], eax
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x18