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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xfc
mov ebx, dword [esp + 0x110]
mov ebp, dword [esp + 0x11c]
cmp dword [esp + 0x118], 2
jle 0x4c8404
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.tag_option
mov dword [esp + 8], 0x5ee480
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x98]
test eax, eax
jne 0x4c842d
mov eax, dword [esp + 0x44]
cmp eax, 0xb
jbe switch.0x004c8440
xor eax, eax
jmp 0x4c8432
mov dword [esp + 0xc], 0x618bf0
mov dword [esp + 8], ebp
mov dword [esp + 4], 2
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x428]
mov eax, 1
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
jmp dword [eax*4 + 0x618d68]
mov eax, dword [esp + 0x118]
sub eax, 4
cmp eax, 1
jbe 0x4c8c3c
mov dword [esp + 0xc], str.tagName__aboveThis_
nop
mov dword [esp + 8], ebp
mov dword [esp + 4], 3
jmp 0x4c8418
mov eax, dword [esp + 0x118]
sub eax, 5
cmp eax, 1
jbe 0x4c8e4f
mov dword [esp + 0xc], str.tagName_index1__index2_
jmp 0x4c8464
mov eax, dword [esp + 0x118]
sub eax, 5
cmp eax, 1
ja 0x4c8487
lea ecx, [ebx + 0xa4]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov edx, ebx
xor eax, eax
call fcn.004c7e6c
mov dword [esp + 0x2c], eax
test eax, eax
je case.default.0x4c8440
lea edx, [esp + 0x58]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00490148
test eax, eax
jne 0x4c842d
mov dword [esp + 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004be464
lea edx, [esp + 0x88]
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0048dcfc
cmp dword [esp + 0x118], 5
jne 0x4c96d6
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, 4
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea ebp, [esp + 0xc8]
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call fcn.004be8e0
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.004bd3d4
test eax, eax
je 0x4c95c4
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x60]
test eax, eax
js 0x4c95b4
mov ecx, dword [esp + 0x2c]
jmp 0x4c85be
sub eax, dword [edx + 8]
mov edx, dword [edx + 4]
test eax, eax
js 0x4c95b4
test eax, eax
jne 0x4c85b0
cmp dword [edx], 0x618660
jne 0x4c85b0
cmp dword [edx + 0xc], ecx
jne 0x4c85b0
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp], ebp
call fcn.0048e0fc
test eax, eax
jns case.default.0x4c8440
lea esi, [esp + 0xa8]
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0048dfa4
mov dword [esp + 4], esi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x11c]
mov dword [esp], ebp
call fcn.004bd00c
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0048dfa4
mov dword [esp + 4], esi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x11c]
xor eax, eax
jmp 0x4c8432
mov eax, dword [esp + 0x118]
sub eax, 3
cmp eax, 1
jbe 0x4c8ac8
mov dword [esp + 0xc], str._index_
jmp 0x4c8464
mov eax, dword [esp + 0x118]
sub eax, 4
cmp eax, 1
jbe 0x4c8cb8
mov dword [esp + 0xc], str.tagName__belowThis_
jmp 0x4c8464
cmp dword [esp + 0x118], 5
je 0x4c8be0
mov dword [esp + 0xc], str.tag_cget_tagName_option
mov dword [esp + 8], ebp
mov dword [esp + 4], 1
jmp 0x4c8418
cmp dword [esp + 0x118], 3
je 0x4c8fb8
mov esi, 3
jmp 0x4c8700
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x20], eax
call fcn.004c82b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x1b8]
inc esi
cmp dword [esp + 0x118], esi
jle case.default.0x4c8440
mov eax, dword [ebx]
mov edi, dword [eax + 0x34]
mov eax, dword [ebp + esi*4]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov dword [esp + 4], eax
mov eax, dword [ebx]
add eax, 8
mov dword [esp], eax
call edi
test eax, eax
je 0x4c86f2
mov edi, dword [eax + 0xc]
cmp dword [ebx + 0xa4], edi
je 0x4c86f2
mov edx, dword [edi + 0xa0]
test edx, edx
je 0x4c86d0
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov ecx, dword [ebx]
mov dword [esp], ecx
mov dword [esp + 0x20], eax
call fcn.004c4fcc
mov eax, dword [esp + 0x20]
jmp 0x4c86d0
cmp dword [esp + 0x118], 4
jle 0x4c8bc0
test eax, eax
sete dl
movzx ecx, dl
mov dword [esp + 0x34], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
mov byte [esp + 0x20], dl
call dword [eax + 0x558]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004c7f3c
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x118]
sub eax, 5
and eax, 0xfffffffe
add eax, 7
mov dword [esp + 0x38], eax
mov esi, 5
lea eax, [esp + 0x58]
mov dword [esp + 0x28], eax
mov dl, byte [esp + 0x20]
xor edx, 1
movzx edx, dl
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ebp
mov ebp, esi
jmp 0x4c88c3
lea esi, [esp + 0x68]
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ebp*4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00490148
test eax, eax
jne 0x4c842d
mov dword [esp + 4], esi
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.0048e0fc
test eax, eax
jns case.default.0x4c8440
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0xa0]
test edx, edx
je 0x4c8948
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004c4fcc
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.004beb38
test eax, eax
je 0x4c88b6
mov eax, dword [esp + 0x2c]
cmp dword [ebx + 0xa4], eax
je 0x4c8cfa
add ebp, 2
cmp ebp, dword [esp + 0x38]
je case.default.0x4c8440
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ebp*4 - 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00490148
test eax, eax
jne 0x4c842d
cmp dword [esp + 0x118], ebp
jg 0x4c8800
lea edi, [esp + 0x68]
mov ecx, 4
mov esi, dword [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], 1
lea esi, [esp + 0x68]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.0048e9c8
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0xa0]
test edx, edx
jne 0x4c8858
mov dword [esp], ebx
call fcn.004c4ea8
jmp 0x4c8882
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [0x68bb7c]
call dword [eax + 0xdc]
mov esi, eax
cmp dword [esp + 0x118], 4
je 0x4c8d2d
mov dword [esp + 0xc], str.tagName
jmp 0x4c8464
mov eax, dword [esp + 0x118]
sub eax, 4
cmp eax, 2
ja 0x4c8bd0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004c7f3c
mov esi, eax
mov edi, dword [ebx]
mov eax, dword [edi + 0xec]
test eax, eax
je 0x4c9709
cmp dword [esp + 0x118], 6
je 0x4c946a
cmp dword [esp + 0x118], 5
je 0x4c8fc5
mov eax, dword [esi]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xec]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00428318
xor eax, eax
jmp 0x4c8432
cmp dword [esp + 0x118], 3
jne 0x4c8a38
mov dword [esp + 0xc], str.tagName__option___value___option_value_..._
jmp 0x4c8464
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
lea edx, [esp + 0x48]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004c7f3c
mov esi, eax
cmp dword [esp + 0x118], 5
jg 0x4c902b
mov eax, dword [ebx + 0x18]
je 0x4c9462
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov eax, dword [esi + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00481984
test eax, eax
je 0x4c842d
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x3b4]
xor eax, eax
jmp 0x4c8432
cmp dword [esp + 0x118], 3
je 0x4c93cc
lea esi, [esp + 0x58]
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00490148
test eax, eax
jne 0x4c842d
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.004bd4d8
mov esi, eax
test eax, eax
je case.default.0x4c8440
mov eax, dword [esp + 0x48]
mov edx, esi
call fcn.004c7d0c
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [0x68bb7c]
call dword [eax + 0xdc]
mov edi, eax
xor ebx, ebx
mov eax, dword [esp + 0x48]
mov ebp, esi
test eax, eax
jle 0x4c8b93
lea esi, [esi]
mov eax, dword [0x68bb7c]
mov esi, dword [eax + 0xb8]
mov dword [esp + 4], 0xffffffff
mov ecx, dword [ebp + ebx*4]
mov ecx, dword [ecx]
mov dword [esp], ecx
call dword [eax + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call esi
inc ebx
cmp dword [esp + 0x48], ebx
jg 0x4c8b54
mov esi, ebp
mov dword [esp + 4], edi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x3b4]
mov dword [esp], esi
mov eax, dword [0x68bb7c]
call dword [eax + 0x18]
xor eax, eax
jmp 0x4c8432
mov dword [esp + 0xc], str.tagName_index1__index2_index1_index2_..._
jmp 0x4c8464
mov dword [esp + 0xc], str.tagName__sequence___command_
jmp 0x4c8464
lea ecx, [ebx + 0xa4]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp + 0x114]
call fcn.004c7e6c
test eax, eax
je 0x4c842d
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00481a74
test eax, eax
jne 0x4c8aa5
jmp 0x4c842d
lea edi, [ebx + 0xa4]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov ecx, edi
mov edx, ebx
mov eax, dword [esp + 0x114]
call fcn.004c7e6c
mov esi, eax
test eax, eax
je 0x4c842d
cmp dword [esp + 0x118], 5
je 0x4c95db
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
dec edx
lea ecx, [esi + 8]
mov dword [esp], edx
mov edx, edi
call fcn.004c7c4c
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004c4fcc
xor eax, eax
jmp 0x4c8432
lea edi, [ebx + 0xa4]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov ecx, edi
mov edx, ebx
mov eax, dword [esp + 0x114]
call fcn.004c7e6c
mov esi, eax
test eax, eax
je 0x4c842d
cmp dword [esp + 0x118], 5
je 0x4c9432
xor eax, eax
lea ecx, [esi + 8]
mov dword [esp], eax
mov edx, edi
mov eax, dword [ebx]
jmp 0x4c8c7e
mov dword [esp], ebx
call fcn.00463614
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4c8d21
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x4c8d21
test byte [ebx + 0x164], 1
je 0x4c9795
mov dword [ebx + 0x14], 1
jmp 0x4c88b6
lea ecx, [ebx + 0xa4]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov edx, ebx
xor eax, eax
call fcn.004c7e6c
mov edx, eax
test eax, eax
je case.default.0x4c8440
lea edi, [esp + 0x88]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 0x20], edx
call fcn.0048dcfc
mov dword [esp + 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004be464
lea ecx, [esp + 0xa8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0048dcfc
lea ebp, [esp + 0xc8]
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.004be8e0
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.004bd3d4
test eax, eax
jne 0x4c9574
mov dword [esp + 0x24], 0
jmp 0x4c8e2f
mov eax, dword [0x68bb7c]
mov edi, dword [eax + 0xb8]
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0048e08c
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call edi
inc dword [esp + 0x24]
mov dword [esp], ebp
call fcn.004bd00c
test eax, eax
jne 0x4c8e00
test byte [esp + 0x24], 1
jne 0x4c9723
mov dword [esp + 4], esi
jmp 0x4c8aa9
lea ecx, [ebx + 0xa4]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov edx, ebx
xor eax, eax
call fcn.004c7e6c
mov esi, eax
test eax, eax
je case.default.0x4c8440
lea edx, [esp + 0x58]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00490148
test eax, eax
jne 0x4c842d
cmp dword [esp + 0x118], 5
je 0x4c9757
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00490148
test eax, eax
jne 0x4c842d
lea ebp, [esp + 0xc8]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call fcn.004be5ec
mov dword [esp], ebp
call fcn.004bd184
test eax, eax
jne 0x4c9609
mov eax, dword [ebx + 8]
test eax, eax
je case.default.0x4c8440
cmp eax, dword [esp + 0x6c]
jne case.default.0x4c8440
cmp dword [esp + 0x70], 0
jne case.default.0x4c8440
mov dword [esp + 4], esi
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004bd3d4
test eax, eax
je case.default.0x4c8440
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
call fcn.0048e0fc
test eax, eax
jns case.default.0x4c8440
lea edi, [esp + 0x88]
mov dword [esp + 8], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0048dfa4
lea esi, [esp + 0xa8]
mov dword [esp + 8], esi
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.0048dfa4
mov dword [esp + 4], edi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x11c]
mov dword [esp + 4], esi
jmp 0x4c8633
mov dword [esp + 0xc], str.tagName__tagName_..._
jmp 0x4c8464
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xec]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.0042688c
test eax, eax
je 0x4c969c
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x3a8]
xor eax, eax
jmp 0x4c8432
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
add ebp, 0x10
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x118]
sub eax, 4
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00481570
test eax, eax
jne 0x4c842d
mov ecx, dword [esi + 0x18]
test ecx, ecx
js 0x4c9789
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4c90b0
lea edx, [esi + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00476a2c
test eax, eax
jne 0x4c842d
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4c90d9
lea edx, [esi + 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00415e30
test eax, eax
jne 0x4c842d
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4c9109
lea edx, [esi + 0x44]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004163d8
test eax, eax
jne 0x4c842d
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4c9139
lea edx, [esi + 0x4c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004163d8
test eax, eax
jne 0x4c842d
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4c9169
lea edx, [esi + 0x54]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004163d8
test eax, eax
jne 0x4c842d
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4c9198
lea edx, [esi + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x84]
test eax, eax
jne 0x4c842d
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4c91c8
lea edx, [esi + 0x64]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004163d8
test eax, eax
jne 0x4c842d
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4c9202
lea edx, [esi + 0x6c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004163d8
test eax, eax
jne 0x4c842d
cmp dword [esi + 0x6c], 0
js 0x4c99a9
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4c923c
lea edx, [esi + 0x74]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004163d8
test eax, eax
jne 0x4c842d
cmp dword [esi + 0x74], 0
js 0x4c99b5
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4c9276
lea edx, [esi + 0x7c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004163d8
test eax, eax
jne 0x4c842d
cmp dword [esi + 0x7c], 0
js 0x4c9910
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4c9295
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x18]
mov dword [esi + 0x84], 0
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4c92c4
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004640b0
mov dword [esi + 0x84], eax
test eax, eax
je 0x4c842d
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4c92f9
lea edx, [esi + 0x90]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x84]
test eax, eax
jne 0x4c842d
mov eax, dword [esi + 0x98]
test eax, eax
je 0x4c932e
lea edx, [esi + 0x9c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x84]
test eax, eax
jne 0x4c842d
cmp dword [ebx + 0xa4], esi
je 0x4c9a47
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa8], 0
cmp dword [esi + 0x98], 0
je 0x4c99c1
mov dword [esi + 0xa0], 1
mov dword [esi + 0xa8], 1
cmp dword [esi + 0x14], 0
je 0x4c991c
mov dword [esi + 0xa0], 1
xor eax, eax
cmp dword [esp + 0x48], 0
jne 0x4c8432
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edx, dword [ebx]
mov dword [esp], edx
mov dword [esp + 0x20], eax
call fcn.004c4fcc
mov eax, dword [esp + 0x20]
jmp 0x4c8432
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
shl eax, 2
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x14]
mov esi, eax
lea edi, [esp + 0x4c]
mov dword [esp + 4], edi
mov eax, dword [ebx]
add eax, 8
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x24c]
xor ebp, ebp
test eax, eax
je 0x4c941d
nop
mov eax, dword [eax + 0xc]
mov dword [esi + ebp*4], eax
inc ebp
mov dword [esp], edi
mov eax, dword [0x68bb7c]
call dword [eax + 0x30c]
test eax, eax
jne 0x4c9404
mov eax, dword [ebx + 0xa4]
mov dword [esi + ebp*4], eax
lea eax, [ebp + 1]
mov dword [esp + 0x48], eax
jmp 0x4c8b22
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov ecx, edi
mov edx, ebx
mov eax, dword [esp + 0x114]
call fcn.004c7e6c
test eax, eax
je 0x4c842d
mov eax, dword [eax + 8]
cmp dword [esi + 8], eax
jge 0x4c8cee
dec eax
jmp 0x4c8cee
mov edx, dword [ebp + 0x10]
jmp 0x4c8a78
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov edi, eax
mov al, byte [eax]
test al, al
je 0x4c97cb
cmp al, 0x2b
je 0x4c97c0
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
mov dword [esp + 0x20], edx
call dword [eax + 0x558]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xec]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00426b04
test eax, eax
je 0x4c842d
test eax, 0xbfffc080
je case.default.0x4c8440
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xec]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004268e4
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x36c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.events_may_be_used
mov dword [esp + 8], str.only_key__button__motion__enter__leave__and_virtual
mov dword [esp + 4], str.requested_illegal_events_
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x120]
mov eax, 1
jmp 0x4c8432
mov eax, dword [0x68bb7c]
mov edx, dword [eax + 0xb8]
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x20], edx
call fcn.0048e08c
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov edx, dword [esp + 0x20]
call edx
mov dword [esp + 0x24], 1
jmp 0x4c8e2f
mov dword [esp], ebp
call fcn.004bd00c
test eax, eax
je case.default.0x4c8440
mov dword [esp], ebp
call fcn.004bd00c
test eax, eax
jne 0x4c85cf
xor eax, eax
jmp 0x4c8432
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov ecx, edi
mov edx, ebx
mov eax, dword [esp + 0x114]
call fcn.004c7e6c
test eax, eax
je 0x4c842d
mov edx, dword [eax + 8]
cmp dword [esi + 8], edx
jle 0x4c9602
inc edx
mov eax, dword [ebx]
jmp 0x4c8c76
mov eax, dword [esp + 0xd8]
cmp dword [eax], 0x618660
je 0x4c9843
lea edx, [esp + 0xa8]
mov dword [esp + 0x2c], edx
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0048dfa4
mov dword [esp], ebp
call fcn.004bd184
lea ecx, [esp + 0x88]
mov dword [esp + 0x30], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0048dfa4
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.0048e0fc
test eax, eax
js 0x4c9806
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x11c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
jmp 0x4c8633
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x2c0]
cmp byte [eax], 0
jne 0x4c842d
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x36c]
xor eax, eax
jmp 0x4c8432
lea eax, [esp + 0x68]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00490148
test eax, eax
je 0x4c8554
jmp 0x4c842d
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.00425814
mov dword [edi + 0xec], eax
jmp 0x4c89da
mov eax, dword [0x68bb7c]
mov edi, dword [eax + 0xb8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.0048e08c
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call edi
jmp 0x4c8e46
lea edx, [esp + 0x68]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0048dcfc
jmp 0x4c8ed8
mov dword [esi + 0x18], 0
jmp 0x4c9087
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x463670
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0042b2b4
or dword [ebx + 0x164], 1
jmp 0x4c8d21
inc edi
mov edx, 1
jmp 0x4c9491
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xec]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
call fcn.004268e4
jmp 0x4c8432
mov eax, dword [ebx + 8]
test eax, eax
je case.default.0x4c8440
cmp eax, dword [esp + 0x6c]
jne case.default.0x4c8440
cmp dword [esp + 0x70], 0
jne case.default.0x4c8440
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0048dfa4
jmp 0x4c9672
lea edx, [esp + 0x88]
mov dword [esp + 0x30], edx
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0048dfa4
mov eax, dword [ebx + 8]
test eax, eax
je 0x4c9999
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea edx, [esp + 0xa8]
mov dword [esp + 0x2c], edx
mov dword [esp + 4], edx
mov dword [esp], ebp
call fcn.0048e0fc
test eax, eax
js 0x4c9960
mov dword [esp + 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004be464
lea edi, [esp + 0x78]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0048dcfc
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.004be8e0
mov dword [esp], ebp
call fcn.004bd00c
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0048dfa4
jmp 0x4c9672
mov dword [esi + 0x7c], 0
jmp 0x4c9276
cmp dword [esi + 0x20], 0
jne 0x4c9379
cmp dword [esi + 0x28], 0
jne 0x4c9379
cmp dword [esi + 0x2c], 0
jne 0x4c9379
cmp dword [esi + 0x34], 0
jne 0x4c9379
cmp dword [esi + 0x58], 0
jne 0x4c9379
cmp dword [esi + 0x8c], 0
jne 0x4c9379
jmp 0x4c9383
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call fcn.0048e0fc
test eax, eax
jns case.default.0x4c8440
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.0048dfa4
jmp 0x4c98a5
lea ecx, [esp + 0xa8]
mov dword [esp + 0x2c], ecx
jmp 0x4c98a5
mov dword [esi + 0x6c], 0
jmp 0x4c9202
mov dword [esi + 0x74], 0
jmp 0x4c923c
cmp dword [esi + 0x30], 0
jne 0x4c935b
cmp dword [esi + 0x38], 0
jne 0x4c935b
cmp dword [esi + 0x40], 0
jne 0x4c935b
cmp dword [esi + 0x48], 0
jne 0x4c935b
cmp dword [esi + 0x50], 0
jne 0x4c935b
cmp dword [esi + 0x60], 0
jne 0x4c935b
cmp dword [esi + 0x68], 0
jne 0x4c935b
cmp dword [esi + 0x70], 0
jne 0x4c935b
cmp dword [esi + 0x78], 0
jne 0x4c935b
cmp dword [esi + 0x80], 0
jne 0x4c935b
cmp dword [esi + 0x88], 2
jne 0x4c935b
cmp dword [esi + 0x94], 3
jne 0x4c935b
jmp 0x4c936f
mov eax, dword [esi + 0x14]
mov dword [ebx + 0xa8], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0xb0], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0xb4], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0xb8], eax
jmp 0x4c933a