Function at 0x418e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b36ae
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
cmp dword [ebx + 0x1ac], edi
sete al
test al, al
jne 0x419eaa
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x1b0], edi
mov dword [ebx + 0x1b8], eax
cmp edx, edi
je 0x418e77
push 1
push edi
push ecx
push edi
mov ecx, ebx
call fcn.00419ff0
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x1bc], edx
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
cmp eax, edi
jne 0x418e9c
push 0x80004003
call fcn.004a91a0
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x6c], ecx
cmp eax, edi
jne 0x418edd
push 0x80004003
call fcn.004a91a0
push edi
push 0x3ed
lea esi, [esp + 0xa8]
call fcn.00409450
mov dword [esp + 0xd8], edi
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x74], edi
mov dword [esp + 0x18], esp
mov dword [ecx], eax
cmp eax, edi
je 0x418f11
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x74]
call fcn.0041b520
cmp eax, edi
jge 0x418f2b
cmp eax, 0x80004002
je 0x418f2b
push eax
call fcn.004a91a0
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0xa0]
cmp eax, edi
je 0x418f46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1ac]
cmp eax, edi
jne 0x418f5a
push 0x80004003
call fcn.004a91a0
push edi
push 0x3ee
lea esi, [esp + 0xa4]
call fcn.00409450
mov byte [esp + 0xd8], 3
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esp
mov dword [ecx], eax
cmp eax, edi
je 0x418f8f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x24]
call fcn.0041b520
cmp eax, edi
jge 0x418fa9
cmp eax, 0x80004002
je 0x418fa9
push eax
call fcn.004a91a0
mov byte [esp + 0xd8], 5
mov eax, dword [esp + 0x9c]
cmp eax, edi
je 0x418fc4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1ac]
cmp eax, edi
jne 0x418fd8
push 0x80004003
call fcn.004a91a0
push edi
push 0x3ef
lea esi, [esp + 0xa0]
call fcn.00409450
mov byte [esp + 0xd8], 6
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x68], edi
mov dword [esp + 0x18], esp
mov dword [ecx], eax
cmp eax, edi
je 0x41900d
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x68]
call fcn.0041b5a0
cmp eax, edi
jge 0x419027
cmp eax, 0x80004002
je 0x419027
push eax
call fcn.004a91a0
mov byte [esp + 0xd8], 8
mov eax, dword [esp + 0x98]
cmp eax, edi
je 0x419042
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1ac]
xor edi, edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
cmp eax, edi
jne 0x419074
push 0x80004003
call fcn.004a91a0
push 0
push 0x1f40
lea esi, [esp + 0x20]
call fcn.00409450
mov byte [esp + 0xd8], 9
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4190cd
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x40]
push ecx
push esi
call edx
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov byte [esp + 0xd8], 8
test esi, esi
je 0x4190e1
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x10], 0
test esi, esi
je 0x419536
cmp dword [esp + 0x20], 0
je 0x419536
cmp dword [esp + 0x64], 0
je 0x419536
movzx edx, byte [ebx + 0x1c7]
xor edi, edi
push edi
push edx
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], esp
push esi
call ecx
mov edx, dword [ebx + 0x30]
push edx
mov ecx, edi
xor dl, dl
call fcn.004209b0
add esp, 0x10
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push ecx
mov edi, edx
mov edx, dword [eax + 0x40]
push esi
call edx
cmp byte [ebx + 0x1c7], 0
je 0x419179
call fcn.00408930
cmp byte [eax + 0xc], 0
je 0x419172
mov eax, dword [eax]
cmp eax, 0x64
je 0x419172
push 0x64
push eax
push 0x14
call dword [sym.imp.KERNEL32.DLL_MulDiv]
jmp 0x41917b
mov eax, 0x14
jmp 0x41917b
xor eax, eax
mov ecx, dword [esp + 0x44]
add eax, ecx
add eax, edi
mov dword [esp + 0x4c], eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
push 1
lea eax, [esp + 0x44]
push eax
push esi
call ecx
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
cmp byte [ebx + 0x1c7], al
je 0x4191d9
call fcn.00408930
cmp byte [eax + 0xc], 0
je 0x4191d2
mov eax, dword [eax]
cmp eax, 0x64
je 0x4191d2
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.DLL_MulDiv]
jmp 0x4191db
mov eax, 0xa
jmp 0x4191db
xor eax, eax
mov edx, dword [esp + 0x44]
lea esi, [eax + edx]
add esi, edi
mov dword [esp + 0x28], esi
call fcn.00408930
cmp byte [eax + 0xc], 0
je 0x41920e
mov eax, dword [eax]
cmp eax, 0x64
je 0x41920e
push 0x64
push eax
push 0x8a
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x419216
mov dword [esp + 0x6c], 0x8a
mov eax, dword [esp + 0x4c]
push ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
call fcn.00408ce0
call fcn.0041beb0
add esp, 4
cmp al, 1
jne 0x4193f3
mov esi, dword [esp + 0x20]
xor edi, edi
push edi
push edi
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], esp
push esi
call edx
mov eax, dword [ebx + 0x30]
push eax
mov ecx, edi
xor dl, dl
call fcn.004209b0
mov ecx, dword [esi]
add esp, 0x10
mov dword [esp + 0x30], edx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x40]
push esi
call eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x5c]
add edx, eax
push edi
push 0x3ec
lea eax, [ebx + 0x1ac]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x80], edx
call fcn.00409130
lea esi, [esp + 0x20]
call fcn.00409450
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0xa
call fcn.0041b430
mov byte [esp + 0xd8], 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4192f6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x41936b
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x18], esp
call fcn.00408ce0
call fcn.0041beb0
add esp, 4
cmp al, 1
jne 0x41936b
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x50]
push ecx
push esi
call edx
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x78]
jl 0x41936b
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x74]
jl 0x41936b
call fcn.00408930
cmp byte [eax + 0xc], 0
je 0x41935c
mov eax, dword [eax]
cmp eax, 0x64
je 0x41935c
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov edi, eax
jmp 0x419361
mov edi, 0xa
mov edx, dword [esp + 0x5c]
add edx, edi
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x20]
add ecx, eax
push 1
mov dword [esp + 0x84], ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
lea eax, [esp + 0x78]
push eax
push esi
call ecx
mov edx, dword [esp + 0x30]
add edi, edx
add edi, dword [esp + 0x88]
add dword [esp + 0x28], edi
call fcn.00408930
cmp byte [eax + 0xc], 0
je 0x4193c6
mov eax, dword [eax]
cmp eax, 0x64
je 0x4193c6
push 0x64
push eax
push 0x96
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x4193ce
mov dword [esp + 0x6c], 0x96
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov byte [esp + 0xd8], 8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x419402
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x419402
add esi, dword [esp + 0x88]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
push ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x18], esp
call fcn.00408ce0
call fcn.0041beb0
add esp, 4
cmp al, 1
jne 0x419511
mov edi, dword [esp + 0x64]
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push edi
call edx
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
call fcn.00408ce0
call fcn.0041beb0
movzx eax, al
add esp, 4
neg eax
sbb eax, eax
and eax, dword [esp + 0x88]
push 1
add eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
add eax, esi
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push ecx
push edi
call edx
mov eax, dword [esp + 0x90]
add eax, esi
add dword [esp + 0x28], eax
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
call fcn.00408ce0
call fcn.0041beb0
add esp, 4
test al, al
je 0x4194d7
call fcn.00408930
cmp byte [eax + 0xc], 0
je 0x4194cd
mov eax, dword [eax]
cmp eax, 0x64
je 0x4194cd
push 0x64
push eax
push 0xa9
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x419505
mov dword [esp + 0x6c], 0xa9
jmp 0x419505
call fcn.00408930
cmp byte [eax + 0xc], 0
je 0x4194fd
mov eax, dword [eax]
cmp eax, 0x64
je 0x4194fd
push 0x64
push eax
push 0x96
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov dword [esp + 0x6c], eax
jmp 0x419505
mov dword [esp + 0x6c], 0x96
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
push 1
push eax
mov eax, dword [edx + 0x9c]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x9c]
push 1
push esi
call edx
mov edi, dword [esp + 0x8c]
mov eax, dword [ebx + 0x218]
sub eax, dword [ebx + 0x214]
test eax, 0xfffffff0
je 0x419842
mov eax, dword [ebx + 0x218]
sub eax, dword [ebx + 0x214]
xor ecx, ecx
sar eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp eax, ecx
jbe 0x4197c3
mov dword [esp + 0x18], ecx
jmp 0x419580
mov ecx, dword [ebx + 0x218]
sub ecx, dword [ebx + 0x214]
sar ecx, 4
cmp dword [esp + 0x1c], ecx
jb 0x41959a
call fcn.0048b3f2
mov edi, dword [ebx + 0x214]
add edi, dword [esp + 0x18]
xor edx, edx
movzx ecx, word [edi + 8]
cmp dx, cx
je 0x41960e
mov eax, dword [ebx + 0x1ac]
test eax, eax
je 0x418e92
push 1
push ecx
lea esi, [esp + 0x8c]
call fcn.00409450
mov byte [esp + 0xd8], 0xd
mov esi, dword [esp + 0x84]
test esi, esi
je 0x4195fa
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0xbc]
push ecx
push esi
call edx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x10], eax
mov byte [esp + 0xd8], 8
test esi, esi
je 0x41960e
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [edi + 0xc]
cmp esi, 0xffffffff
je 0x4196a0
mov eax, dword [ebx + 0x218]
sub eax, dword [ebx + 0x214]
sar eax, 4
cmp esi, eax
jge 0x4196a0
mov ecx, dword [ebx + 0x218]
sub ecx, dword [ebx + 0x214]
sar ecx, 4
cmp esi, ecx
jb 0x419645
call fcn.0048b3f2
shl esi, 4
add esi, dword [ebx + 0x214]
push ecx
mov eax, dword [esi]
mov ecx, esp
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esp
mov dword [ecx], eax
test eax, eax
je 0x419669
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0xa8]
call fcn.00420fb0
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x14]
add esp, 4
sub ecx, dword [edx + 4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], ecx
mov eax, dword [edi]
test eax, eax
je 0x418e92
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 0xa8]
call eax
mov eax, dword [esp + 0x60]
cmp eax, 3
je 0x41975a
cmp eax, 2
je 0x41975a
cmp eax, 9
je 0x41975a
cmp eax, 1
je 0x41975a
cmp eax, 0xb
jne 0x4197ab
xor esi, esi
push esi
push esi
push ecx
mov eax, edi
mov ecx, esp
mov dword [esp + 0x38], esp
call fcn.0041b3b0
mov ecx, dword [ebx + 0x30]
push ecx
mov ecx, esi
xor dl, dl
call fcn.004209b0
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
add esp, 0x10
mov esi, edx
test eax, eax
je 0x418e92
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x50]
push ecx
push eax
call edx
mov eax, dword [edi + 4]
add eax, dword [esp + 0x10]
mov edi, dword [edi]
add esi, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], esi
test edi, edi
je 0x418e92
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push 1
lea ecx, [esp + 0x54]
push ecx
push edi
call edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
jmp 0x4197ab
mov eax, dword [edi]
test eax, eax
je 0x418e92
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x4c]
add ecx, dword [esp + 0x10]
sub eax, dword [esp + 0x44]
mov edi, dword [edi]
mov dword [esp + 0x44], ecx
add ecx, eax
mov dword [esp + 0x4c], ecx
test edi, edi
je 0x418e92
mov ecx, dword [edi]
mov eax, dword [ecx + 0x44]
push 1
lea edx, [esp + 0x44]
push edx
push edi
call eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0x10
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x14]
jb 0x419580
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x10]
cmp eax, esi
jle 0x4197d1
mov esi, eax
test byte [0x4e44d0], 1
jne 0x41980f
or dword [0x4e44d0], 1
mov eax, 0x60
mov dword [0x4e44d4], 0x64
mov dword [0x4e44d8], eax
mov dword [0x4e44dc], eax
mov byte [0x4e44e0], 0
call fcn.0047ae50
test al, al
jne 0x41980f
call fcn.004088d0
cmp byte [0x4e44e0], 0
je 0x419835
mov eax, dword [0x4e44d4]
cmp eax, 0x64
je 0x419835
push 0x64
push eax
push 0x1f
call dword [sym.imp.KERNEL32.DLL_MulDiv]
add esi, eax
mov dword [esp + 0x28], esi
jmp 0x419879
mov eax, 0x1f
add esi, eax
mov dword [esp + 0x28], esi
jmp 0x419879
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.00408ce0
call fcn.0041beb0
mov ecx, dword [esp + 0x70]
movzx edx, al
mov eax, dword [esp + 0x2c]
add esp, 4
neg edx
sbb edx, edx
and edx, edi
add eax, edx
cmp ecx, eax
mov dword [esp + 0x28], eax
jle 0x419879
mov dword [esp + 0x28], ecx
mov eax, dword [ebp + 0xc]
cmp eax, 4
jne 0x41990e
mov eax, dword [ebx + 0x1ac]
push 0
push ecx
mov ecx, esp
mov esi, 0x22b7
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x4198a7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.0041bf20
mov eax, dword [ebx + 0x1ac]
add esp, 8
push 0
push ecx
mov ecx, esp
mov esi, 1
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x4198d3
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.0041bf20
mov eax, dword [ebx + 0x1ac]
add esp, 8
push 0
push ecx
mov ecx, esp
mov esi, 2
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x4198ff
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.0041bf20
add esp, 8
jmp 0x419ddd
cmp eax, 1
je 0x419c07
cmp eax, 2
je 0x419c07
test eax, eax
je 0x41992d
cmp eax, 3
jne 0x419ddd
mov edi, dword [ebx + 0x1c8]
mov eax, dword [ebx + 0x1ac]
dec edi
neg edi
sbb edi, edi
add edi, 2
test eax, eax
jne 0x41994f
push 0x80004003
call fcn.004a91a0
movzx ecx, word [ebx + 0x1c8]
push 0
push ecx
lea esi, [esp + 0x24]
call fcn.00409450
mov byte [esp + 0xd8], 0x11
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x41997e
push 0x80004003
call fcn.004a91a0
push 0
push edi
lea esi, [esp + 0x18]
call fcn.00409450
mov byte [esp + 0xd8], 0x12
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x419bd2
cmp dword [esp + 0x10], 0
je 0x419bd2
lea edx, [ebx + 0x1cc]
push edx
lea ecx, [esp + 0x44]
call fcn.00409050
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea esi, [eax + ecx]
mov eax, dword [ebx + 0x1fc]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x200]
push ecx
push eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x58], esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x44]
push 1
lea edx, [esp + 0x44]
push edx
push edi
call eax
lea ecx, [ebx + 0x1dc]
push ecx
lea ecx, [esp + 0x54]
call fcn.00409050
mov ecx, dword [ebx + 0x200]
mov eax, dword [ebx + 0x1fc]
mov edx, dword [esp + 0x28]
push ecx
push eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
cmp byte [ebx + 0x224], 0
mov dword [esp + 0x28], esi
je 0x419ad4
push 0
push ecx
mov eax, esp
mov dword [eax], edi
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x34], esp
push edi
call edx
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x54]
push ecx
call fcn.00436120
mov byte [esp + 0xd8], 0x13
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419aae
lea esi, [esp + 0x14]
call fcn.00417f10
lea ecx, [ebx + 0x22c]
push eax
mov byte [esp + 0xdc], 0x14
call fcn.004064b0
mov ecx, esi
mov byte [esp + 0xd8], 0x13
call fcn.00403710
mov edx, dword [ebx + 0x228]
push edx
mov ecx, ebx
call fcn.0041a630
mov byte [esp + 0xd8], 0x12
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419ad4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x30]
mov esi, dword [esp + 0x1c]
push 0
push 3
push ecx
mov dword [esp + 0x38], esp
mov edi, esp
push 0
push ecx
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], esp
push esi
call edx
lea eax, [ebx + 0x54]
push edi
push eax
call fcn.00436120
mov edx, dword [esp + 0x20]
call fcn.0042ad50
mov eax, dword [ebx + 0x30]
add esp, 0xc
push 0
push 3
push ecx
mov dword [esp + 0x38], esp
mov edi, esp
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], esp
push eax
call edx
push edi
lea eax, [ebx + 0x54]
push eax
call fcn.00436120
mov edx, dword [esp + 0x20]
call fcn.0042ad50
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
call fcn.004688d0
lea eax, [esp + 0x1c]
lea edi, [esp + 0xa4]
mov byte [esp + 0xd8], 0x15
call fcn.00430ee0
lea eax, [esp + 0x10]
call fcn.00430ee0
mov edx, dword [ebx + 0x30]
mov ecx, edi
push ecx
push edx
call fcn.0041f2a0
add esp, 8
push 1
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], esp
push esi
call ecx
call fcn.0041be10
mov eax, dword [esp + 0x18]
add esp, 8
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041be10
add esp, 8
mov eax, edi
call fcn.004381f0
mov edi, esi
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x10]
test eax, eax
je 0x419bea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xd8], 8
test edi, edi
je 0x419ddd
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
jmp 0x419ddd
mov eax, dword [ebx + 0x1ac]
test eax, eax
jne 0x419c1b
push 0x80004003
call fcn.004a91a0
xor edx, edx
cmp dword [ebp + 0xc], 1
push 0
setne dl
lea esi, [esp + 0x18]
inc edx
push edx
call fcn.00409450
mov byte [esp + 0xd8], 0xe
mov edi, dword [esp + 0x14]
test edi, edi
je 0x419d61
cmp byte [ebx + 0x224], 0
je 0x419cd5
push 0
push ecx
mov eax, esp
mov dword [eax], edi
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], esp
push edi
call ecx
lea edx, [esp + 0x20]
push edx
lea eax, [ebx + 0x54]
push eax
call fcn.00436120
mov byte [esp + 0xd8], 0xf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419caf
lea esi, [esp + 0x60]
call fcn.00417f10
lea ecx, [ebx + 0x22c]
push eax
mov byte [esp + 0xdc], 0x10
call fcn.004064b0
mov ecx, esi
mov byte [esp + 0xd8], 0xf
call fcn.00403710
mov ecx, dword [ebx + 0x228]
push ecx
mov ecx, ebx
call fcn.0041a630
mov byte [esp + 0xd8], 0xe
mov eax, dword [esp + 0x18]
test eax, eax
je 0x419cd5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebx + 0x1cc]
mov eax, dword [ebx + 0x1d8]
mov edx, dword [ebx + 0x1d4]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x1d0]
sub eax, ecx
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x54], ecx
push 1
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x88], eax
mov dword [esp + 0x60], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push ecx
push edi
call edx
mov eax, dword [ebx + 0x30]
push 0
push 3
push ecx
mov dword [esp + 0x38], esp
mov esi, esp
push 0
push ecx
mov dword [esp + 0x74], eax
mov eax, esp
mov dword [eax], edi
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], esp
push edi
call edx
push esi
lea eax, [ebx + 0x54]
push eax
call fcn.00436120
mov edx, dword [esp + 0x6c]
call fcn.0042ad50
mov ecx, dword [esp + 0x90]
add esp, 0xc
mov dword [esp + 0x28], ecx
mov esi, 1
cmp dword [ebp + 0xc], esi
sete dl
movzx eax, dl
push eax
mov eax, dword [ebx + 0x1ac]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x419d8b
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.0041bf20
add esp, 8
mov esi, 2
cmp dword [ebp + 0xc], esi
sete al
movzx ecx, al
mov eax, dword [ebx + 0x1ac]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x419dbf
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.0041bf20
add esp, 8
mov byte [esp + 0xd8], 8
test edi, edi
je 0x419ddd
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov esi, dword [esp + 0x28]
add esi, dword [esp + 0x94]
cmp byte [ebx + 0x224], 0
je 0x419e04
mov eax, dword [ebx + 0x30]
push 0
push 0x3e8
push 0x11
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebx + 0x30]
add ebx, 0x30
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x419e34
mov edx, dword [esp + 0x24]
push 0x21c
push esi
push edx
push eax
push eax
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
call fcn.0041bc30
jmp 0x419e5f
mov edx, dword [ebx]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0x14
push esi
push eax
mov eax, dword [ebx]
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [esp + 0xd8], 5
mov eax, dword [esp + 0x64]
test eax, eax
je 0x419e77
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x419e8f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x70]
test eax, eax
je 0x419eaa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc