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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov eax, 0xfffffdf5
cmp byte [esi + 0x20], 0
jne 0x49746a
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x38], eax
push dword [esi + 0x5c]
call fcn.0049a5a0
add esp, 4
push dword [esi + 0x58]
call fcn.0049a5a0
add esp, 4
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [edi], 0
mov ecx, ebp
test ebx, ebx
je 0x497389
add ebx, ebp
lea eax, [esi + 0x24]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x54]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x50]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 8], ebx
jmp 0x4964b0
cmp eax, 2
je 0x4973b2
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 3
mov dword [esi + 0x60], 0
mov dword [esi + 0x70], 0
xor eax, eax
cmp ebp, ebx
setne cl
or cl, al
je 0x497383
mov eax, dword [esi + 0x78]
cmp eax, 0xc
ja case.default.0x4964b8
jmp dword [eax*4 + 0x9a9710]
movzx ecx, byte [ebp]
mov edx, ecx
and dl, 0xe0
cmp dl, 0x20
je 0x49647c
test cl, cl
js 0x4968f0
mov eax, 1
movsd xmm0, qword [0x9a96f0]
test ecx, ecx
je 0x4964fa
cmp ecx, 0x10
je 0x4964fa
cmp ecx, 0x40
je 0x4964fa
xor eax, eax
movsd xmm0, qword [0x9a9700]
movlps qword [esi + 0x74], xmm0
movzx ecx, byte [ebp]
shr cl, 6
and cl, 1
mov byte [esi + 0x7d], cl
movzx ecx, byte [ebp]
and cl, 0xf0
cmp cl, 0x10
sete byte [esi + 0x7e]
add ebp, eax
jmp 0x496493
movzx eax, byte [ebp]
shr al, 7
mov byte [esi + 0x7c], al
mov dword [esi + 0x78], 0xa
mov dword [esi + 0x60], 0
mov dword [esi + 0x70], 0
xor ecx, ecx
jmp 0x49669c
mov ecx, ebx
sub ecx, ebp
mov edx, dword [esi + 0x60]
lea esi, [edx + ebp]
xor eax, eax
cmp ecx, edx
setae al
cmovb esi, ebx
sub esi, ebp
push eax
push esi
push ebp
push dword [esp + 0x40]
mov esi, dword [esp + 0x34]
push esi
call fcn.00498f10
add esp, 0x14
test eax, eax
js 0x497462
mov edi, eax
push esi
call fcn.00499000
add esp, 4
test eax, eax
jne 0x4973b2
add ebp, edi
mov esi, dword [esp + 0x50]
sub dword [esi + 0x60], edi
jne 0x497453
mov eax, dword [esi + 0x34]
mov byte [eax], 0
jmp 0x496777
movzx eax, byte [ebp]
shr al, 7
mov byte [esi + 0x7c], al
mov dword [esi + 0x78], 6
mov dword [esi + 0x60], 0
mov dword [esi + 0x70], 0
xor eax, eax
mov ecx, ebp
jmp 0x4965dd
mov edi, dword [esi + 0x60]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x70], 0
mov ecx, ebp
test edi, edi
jne 0x49660c
mov esi, ecx
movzx edx, byte [ecx]
and edx, 0x7f
mov ebx, 1
mov ecx, 1
cmp edx, 0x7f
jne 0x4969a3
mov ecx, esi
lea ebp, [esi + 1]
mov edi, 0x7f
cmp ebp, dword [esp + 8]
je 0x4969a1
cmp ebp, dword [esp + 8]
je 0x4968da
mov edx, ebp
mov dword [esp], ecx
mov ebp, edi
mov edi, 0xffffffff
mov ecx, eax
shr edi, cl
mov ecx, eax
mov eax, 0xfffffdf5
mov dword [esp + 4], ecx
cmp ecx, 0x1f
ja 0x497462
mov dword [esp + 0x14], edx
movzx edx, byte [edx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x497462
mov ecx, dword [esp + 4]
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x497462
test dl, dl
js 0x496a2d
mov esi, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x14]
jmp 0x496a97
movzx eax, byte [ebp]
and al, 0xe0
cmp al, 0x20
je 0x496485
jmp 0x4973b2
mov edi, dword [esi + 0x60]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x70], 0
mov eax, ebp
test edi, edi
jne 0x4966c8
movzx edx, byte [ebp]
and edx, 0x7f
mov ebx, 1
mov edi, 1
cmp edx, 0x7f
jne 0x496999
lea eax, [ebp + 1]
mov edi, 0x7f
cmp eax, dword [esp + 8]
je 0x496997
cmp eax, dword [esp + 8]
je 0x496d83
mov dword [esp + 0x14], eax
mov dword [esp], ebp
mov ebp, edi
mov edi, 0xffffffff
shr edi, cl
mov eax, 0xfffffdf5
mov dword [esp + 4], ecx
cmp ecx, 0x1f
ja 0x497462
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x497462
mov ecx, dword [esp + 4]
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x497462
test dl, dl
js 0x4969af
mov ebp, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x14]
jmp 0x496a1f
mov edi, ebx
sub edi, ebp
mov eax, dword [esi + 0x60]
cmp edi, eax
cmovae edi, eax
push edi
push ebp
push dword [esi + 0x34]
call fcn.00494ff0
add esp, 0xc
mov ecx, eax
mov eax, edi
mov dword [esi + 0x34], ecx
mov edx, dword [esi + 0x60]
mov esi, edx
sub esi, edi
mov edi, dword [esp + 0x50]
mov dword [edi + 0x60], esi
mov esi, dword [esp + 0x50]
test eax, eax
js 0x497462
add ebp, eax
cmp edx, eax
jne 0x497453
mov byte [ecx], 0
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x50]
mov dword [ecx + 0xc], eax
mov dword [esi + 0x78], 9
jmp case.default.0x4964b8
mov eax, dword [esi + 0x74]
mov ecx, 7
mov dword [esp + 0x14], eax
cmp eax, 1
je 0x4967b0
xor eax, eax
cmp byte [esi + 0x7d], 0
setne al
lea ecx, [eax*2 + 4]
mov eax, dword [esi + 0xc]
mov dword [esp + 4], eax
mov edx, dword [esi + 0x60]
mov edi, 0x70
shr edi, cl
shl edi, cl
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x70], 0
mov eax, ebp
test edx, edx
je 0x496903
cmp eax, ebx
je 0x496934
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov edx, 0xffffffff
mov dword [esp], ecx
mov ecx, dword [esp]
shr edx, cl
mov eax, 0xfffffdf5
cmp dword [esp], 0x1f
ja 0x497462
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx]
mov edi, ebx
and edi, 0x7f
cmp edx, edi
jb 0x497462
mov ecx, dword [esp]
shl edi, cl
mov edx, dword [esp + 0xc]
add edx, edi
jb 0x497462
test bl, bl
js 0x496b63
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [esi + 0x70], ecx
inc eax
mov ecx, 1
jmp 0x496943
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x60]
mov edx, dword [esi + 0x68]
cmp eax, edx
cmovb edx, eax
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x70], 0
mov eax, ebp
test edi, edi
je 0x496957
cmp eax, ebx
je 0x496fb9
mov ebx, eax
mov dword [esp + 0x14], edi
mov edi, 0xffffffff
mov dword [esp], ecx
mov ecx, dword [esp]
shr edi, cl
mov ecx, dword [esp]
mov eax, 0xfffffdf5
cmp ecx, 0x1f
ja 0x497462
mov dword [esp + 0x10], edx
mov dword [esp + 4], ebx
movzx edx, byte [ebx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x497462
shl ebx, cl
mov edi, dword [esp + 0x14]
add edi, ebx
jb 0x497462
test dl, dl
js 0x496bda
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esi + 0x70], ecx
inc ebx
mov ecx, 1
jmp 0x496fc6
mov esi, ecx
mov ebx, eax
mov eax, dword [esp + 0x50]
mov dword [eax + 0x70], ebx
xor ecx, ecx
mov ebx, dword [esp + 8]
jmp 0x496aa4
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 4
jmp 0x496493
xor edi, 0x7f
movzx eax, byte [ebp]
and eax, edi
mov ebx, 1
cmp eax, edi
jne 0x496b4d
lea eax, [ebp + 1]
cmp eax, dword [esp + 8]
je 0x496c58
mov edx, edi
mov ebx, dword [esp + 8]
cmp eax, ebx
jne 0x4967df
mov ebx, ecx
mov esi, dword [esp + 0x50]
mov dword [esi + 0x70], ebx
xor ecx, ecx
mov eax, dword [esp + 8]
sub eax, ebp
mov ebx, eax
mov edi, edx
cmp eax, 0xffffffff
jne 0x496c5a
jmp 0x4973b2
movzx edi, byte [ebp]
and edi, 0x1f
mov eax, 1
cmp edi, 0x1f
jne 0x496b59
mov dword [esp], ecx
lea ecx, [ebp + 1]
mov edi, 0x1f
mov dword [esp + 4], ecx
cmp ecx, ebx
je 0x496cb8
mov eax, dword [esp + 4]
mov ecx, dword [esp]
cmp eax, ebx
jne 0x49686f
jmp 0x496fb9
xor edi, edi
mov dword [esi + 0x60], edx
jmp 0x496dc1
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
jmp 0x496ad3
mov edx, dword [esp + 8]
mov ecx, edx
mov ebx, dword [esp + 0x14]
sub ecx, ebx
lea ebp, [ecx*8]
sub ebp, ecx
mov ecx, dword [esp + 4]
add ebp, ecx
mov dword [esp + 0x10], ebp
inc ebx
cmp ebx, edx
je 0x496d7c
mov ebp, edi
mov edi, 0x1ffffff
shr edi, cl
cmp ecx, 0x18
ja 0x497462
mov dword [esp + 0xc], ebx
movzx edx, byte [ebx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x497462
mov ecx, dword [esp + 4]
add ecx, 7
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x497462
test dl, dl
js 0x496cc8
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp]
mov dword [esi + 0x70], ecx
inc ebx
mov ecx, 1
jmp 0x496d90
mov edx, dword [esp + 8]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
lea ebx, [ecx*8]
sub ebx, ecx
mov ecx, dword [esp + 4]
add ebx, ecx
inc esi
cmp esi, edx
je 0x496c50
mov ebp, edi
mov edi, 0x1ffffff
shr edi, cl
cmp ecx, 0x18
ja 0x497462
mov dword [esp + 0x10], ebx
movzx edx, byte [esi]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x497462
mov ecx, dword [esp + 4]
add ecx, 7
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x497462
test dl, dl
js 0x496e35
mov ebx, esi
mov esi, dword [esp]
mov eax, dword [esp + 0x50]
mov dword [eax + 0x70], ecx
inc ebx
mov ecx, 1
mov edx, edi
sub ebx, esi
mov eax, 0xfffffdf5
cmp ebx, 0xffffffff
je 0x497462
cmp edx, 0x10000
ja 0x497462
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
mov eax, ebx
test ebx, ebx
js 0x497462
add esi, ebx
test ecx, ecx
je 0x497455
mov edi, dword [esp + 0x50]
cmp byte [edi + 0x7c], 0
je 0x496b06
push dword [esp + 0x24]
call fcn.00498f00
add esp, 4
mov dword [edi + 0x78], 7
mov eax, dword [edi + 0x60]
lea edx, [eax*2 + 1]
jmp 0x496b0e
mov dword [edi + 0x78], 8
inc edx
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x2c]
mov ebp, esi
push dword [esp + 0x38]
push edx
push edi
call fcn.0049a4a0
add esp, 0xc
test eax, eax
jne 0x497462
mov eax, dword [edi]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esp + 0x3c]
call fcn.0049e2b0
add esp, 0xc
xor eax, eax
mov esi, dword [esp + 0x50]
jmp 0x4964a3
mov ecx, 1
mov edi, eax
jmp 0x496c5a
mov ecx, 1
jmp 0x496fd3
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
mov ecx, edx
mov edi, dword [esp + 0x10]
sub ecx, edi
lea ebx, [ecx*8]
sub ebx, ecx
add ebx, dword [esp]
inc edi
cmp edi, edx
je 0x496cbf
mov edx, 0x1ffffff
mov ecx, dword [esp]
shr edx, cl
mov ecx, dword [esp]
cmp ecx, 0x18
ja 0x497462
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
movzx ebx, byte [edi]
mov edi, ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x497462
add ecx, 7
shl ebx, cl
mov edx, dword [esp + 0xc]
add edx, ebx
jb 0x497462
mov ebx, edi
test bl, bl
js 0x496ee5
mov eax, dword [esp + 0x18]
jmp 0x496837
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
sub ecx, ebx
lea edx, [ecx*8]
sub edx, ecx
add edx, dword [esp]
mov dword [esp + 0x14], edx
inc ebx
cmp ebx, dword [esp + 8]
je 0x496fb1
mov edx, 0x1ffffff
mov ecx, dword [esp]
shr edx, cl
mov ecx, dword [esp]
cmp ecx, 0x18
ja 0x497462
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x497462
add ecx, 7
shl ebx, cl
add edi, ebx
jb 0x497462
cmp byte [esp + 0xc], 0
js 0x496f4c
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
jmp 0x4968cc
mov esi, dword [esp]
jmp 0x4968de
xor ecx, ecx
mov eax, dword [esp + 4]
lea edx, [eax + 0x3d]
mov eax, 0xfffffdf5
cmp edi, edx
ja 0x497462
mov dword [esi + 0x60], edi
test ebx, ebx
js 0x49747a
add ebp, ebx
mov esi, ebp
test ecx, ecx
je 0x497455
test edi, edi
je 0x497462
lea eax, [edi - 1]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x64], eax
cmp dword [esp + 0x14], 1
je 0x49747e
mov dword [ecx + 0x78], 9
xor eax, eax
mov ebx, dword [esp + 8]
mov ebp, esi
mov esi, ecx
jmp 0x4964a3
xor ecx, ecx
jmp 0x496fd3
mov edx, dword [esp + 0xc]
jmp 0x496936
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 2]
cmp edx, dword [esp + 8]
je 0x496d7c
mov ebp, edi
mov edi, 0x3ffff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0x11
ja 0x497462
mov dword [esp + 0xc], edx
movzx edx, byte [edx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x497462
mov ecx, dword [esp + 4]
add ecx, 0xe
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x497462
test dl, dl
jns 0x496a18
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 3]
cmp edx, dword [esp + 8]
je 0x496d7c
mov ebp, edi
mov edi, 0x7ff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0xa
ja 0x497462
mov dword [esp + 0xc], edx
movzx ebx, byte [edx]
mov edx, ebx
and edx, 0x7f
cmp edi, edx
jb 0x497462
mov ecx, dword [esp + 4]
add ecx, 0x15
shl edx, cl
add edx, ebp
jb 0x497462
test bl, bl
mov ebp, dword [esp]
js 0x49716d
mov edi, edx
mov ebx, dword [esp + 0xc]
jmp 0x496a1f
mov ebp, dword [esp]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov dword [eax + 0x70], ecx
xor ecx, ecx
mov ebx, dword [esp + 8]
mov edx, edi
sub ebx, ebp
mov eax, 0xfffffdf5
cmp ebx, 0xffffffff
je 0x497462
cmp edx, 0x10000
ja 0x497462
mov edi, ecx
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
mov eax, ebx
test ebx, ebx
js 0x497462
add ebp, ebx
test edi, edi
je 0x497453
mov esi, dword [esp + 0x50]
cmp byte [esi + 0x7c], 0
je 0x496df4
push dword [esp + 0x24]
call fcn.00498f00
add esp, 4
mov dword [esi + 0x78], 0xb
mov eax, dword [esi + 0x60]
lea edx, [eax*2 + 1]
jmp 0x496dfc
mov dword [esi + 0x78], 0xc
inc edx
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x30]
push dword [esp + 0x38]
push edx
push edi
call fcn.0049a4a0
add esp, 0xc
test eax, eax
jne 0x497462
mov eax, dword [edi]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esp + 0x30]
call fcn.0049e2b0
add esp, 0xc
mov al, 1
jmp 0x4964a3
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 2]
cmp esi, dword [esp + 8]
je 0x49707e
mov ebp, edi
mov edi, 0x3ffff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0x11
ja 0x497462
movzx edx, byte [esi]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x497462
mov ecx, dword [esp + 4]
add ecx, 0xe
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x497462
test dl, dl
jns 0x496a92
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 3]
cmp esi, dword [esp + 8]
je 0x49707e
mov ebp, edi
mov edi, 0x7ff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0xa
ja 0x497462
movzx ebx, byte [esi]
mov edx, ebx
and edx, 0x7f
cmp edi, edx
jb 0x497462
mov ecx, dword [esp + 4]
add ecx, 0x15
shl edx, cl
add edx, ebp
jb 0x497462
test bl, bl
mov ebp, dword [esp]
js 0x4971d2
mov ebx, esi
mov esi, ebp
mov edi, edx
jmp 0x496a97
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + 2]
cmp ebx, dword [esp + 8]
je 0x49708a
mov edi, edx
mov edx, 0x3ffff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0x11
ja 0x497462
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x497462
add ecx, 0xe
shl ebx, cl
add edi, ebx
jb 0x497462
cmp byte [esp + 0xc], 0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
js 0x497093
mov eax, dword [esp + 0x18]
mov edx, edi
jmp 0x496837
mov ecx, dword [esp + 4]
lea ebx, [ecx + 2]
cmp ebx, dword [esp + 8]
je 0x496fb1
mov edx, 0x3ffff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0x11
ja 0x497462
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x497462
add ecx, 0xe
shl ebx, cl
add edi, ebx
mov edx, dword [esp + 0x10]
jb 0x497462
mov ebx, edi
cmp byte [esp + 0xc], 0
mov edi, dword [esp + 8]
js 0x4970f2
mov eax, dword [esp + 0x18]
mov edi, ebx
mov ebx, eax
jmp 0x4968cc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x50]
mov dword [esi + 0x70], ecx
xor ecx, ecx
mov ebx, dword [esp + 8]
sub ebx, ebp
mov eax, ebx
cmp ebx, 0xffffffff
je 0x4973b2
cmp edi, edx
ja 0x4973b2
mov dword [esi + 0x60], edi
test eax, eax
js 0x497462
add ebp, eax
test ecx, ecx
je 0x497453
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x18], edi
mov eax, dword [esi + 0x14]
cmp eax, edi
jbe 0x49706c
mov edi, dword [esi + 0x10]
nop word cs:[eax + eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x49706c
dec ecx
mov edx, dword [esi]
mov ebx, dword [esi + 8]
add ebx, ecx
and ebx, dword [esi + 4]
mov ebx, dword [edx + ebx*4]
mov edx, dword [ebx]
mov esi, dword [ebx + 4]
mov edx, dword [edx + 0xc]
add edx, dword [esi + 0xc]
sub eax, edx
add eax, 0xffffffe0
mov edx, dword [esp + 0x50]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
push esi
mov esi, dword [esp + 0x54]
call fcn.0049a5a0
add esp, 4
push dword [ebx]
call fcn.0049a5a0
add esp, 4
push ebx
push edi
call fcn.004994a0
add esp, 8
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
ja 0x497010
mov dword [esi + 0x78], 1
xor eax, eax
mov ebx, dword [esp + 8]
jmp 0x4964a3
mov esi, dword [esp]
mov ebx, dword [esp + 0x10]
jmp 0x4968de
mov ebx, dword [esp + 0x1c]
jmp 0x496936
mov ecx, dword [esp + 0x10]
add ecx, 3
mov dword [esp + 0xc], ecx
cmp ecx, edx
je 0x49715f
mov edx, 0x7ff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0xa
ja 0x497462
mov ebx, dword [esp + 0xc]
movzx ebx, byte [ebx]
mov dword [esp + 0x18], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x497462
add ecx, 0x15
shl ebx, cl
add ebx, edi
jb 0x497462
cmp byte [esp + 0x18], 0
js 0x497235
mov edx, ebx
mov eax, dword [esp + 0xc]
jmp 0x496837
mov ecx, dword [esp + 4]
add ecx, 3
mov dword [esp + 0xc], ecx
cmp ecx, edi
je 0x497166
mov edx, 0x7ff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0xa
ja 0x497462
mov edi, dword [esp + 0xc]
movzx edi, byte [edi]
mov dword [esp + 0x18], edi
and edi, 0x7f
cmp edx, edi
jb 0x497462
add ecx, 0x15
shl edi, cl
add edi, ebx
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 8]
jb 0x497462
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 4]
js 0x497295
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
jmp 0x4968cc
mov edx, edi
jmp 0x496936
mov edi, ebx
jmp 0x496fb5
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 4]
cmp ebx, dword [esp + 8]
je 0x4972f3
mov edi, 0xf
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 3
ja 0x497462
mov dword [esp + 0xc], ebx
movzx ebx, byte [ebx]
mov ecx, ebx
and ecx, 0x7f
cmp edi, ecx
jb 0x497462
mov edi, ecx
mov ecx, dword [esp + 4]
add ecx, 0x1c
mov dword [esp + 4], ecx
shl edi, cl
add edi, edx
jb 0x497462
test bl, bl
js 0x49731b
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
jmp 0x496a1f
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 4]
cmp ebx, dword [esp + 8]
je 0x4972fa
mov edi, 0xf
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 3
ja 0x497462
mov esi, ebp
mov ebp, ebx
movzx ebx, byte [ebx]
mov ecx, ebx
and ecx, 0x7f
cmp edi, ecx
jb 0x497462
mov edi, ecx
mov ecx, dword [esp + 4]
add ecx, 0x1c
mov dword [esp + 4], ecx
shl edi, cl
add edi, edx
jb 0x497462
test bl, bl
js 0x497335
mov ebx, ebp
mov ecx, dword [esp + 4]
jmp 0x496a97
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 4]
cmp edi, dword [esp + 8]
je 0x497307
mov edx, 0xf
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 3
ja 0x497462
mov dword [esp + 0xc], edi
movzx ecx, byte [edi]
mov edi, ecx
and ecx, 0x7f
cmp edx, ecx
jb 0x497462
mov edx, ecx
mov ecx, dword [esp]
add ecx, 0x1c
mov dword [esp], ecx
shl edx, cl
add edx, ebx
jb 0x497462
mov ecx, edi
test cl, cl
js 0x49734f
mov eax, dword [esp + 0xc]
jmp 0x496834
add ebx, 4
cmp ebx, edi
je 0x497312
mov edx, 0xf
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 3
ja 0x497462
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x497462
add ecx, 0x1c
mov dword [esp], ecx
shl ebx, cl
add ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
jb 0x497462
mov ecx, ebx
cmp byte [esp + 0xc], 0
js 0x497369
mov ebx, dword [esp + 0x18]
mov edi, ecx
jmp 0x4968c9
mov edi, edx
jmp 0x496d7f
mov esi, ebp
mov edi, edx
mov ebx, dword [esp + 0x10]
jmp 0x4968de
mov edx, ebx
mov ebx, dword [esp + 0x1c]
jmp 0x496936
mov edi, dword [esp + 0x1c]
jmp 0x496fb5
mov ecx, dword [esp + 0x14]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
je 0x496d83
jmp 0x497462
mov ecx, dword [esp + 0x14]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
je 0x4968de
jmp 0x497462
mov ecx, dword [esp + 0x10]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
je 0x496936
jmp 0x497462
mov ebx, dword [esp + 4]
add ebx, 5
cmp ebx, edi
mov edi, ecx
mov ecx, dword [esp + 0x14]
je 0x496fb9
jmp 0x497462
mov ecx, ebx
mov ebp, dword [esp + 0x5c]
cmp dword [esp + 0x64], 0
je 0x4973a9
mov edx, dword [esi + 0x78]
dec edx
mov eax, 0xfffffdf5
cmp edx, 1
ja 0x497462
mov eax, dword [esp + 0x58]
or byte [eax], 1
sub ecx, ebp
mov eax, ecx
jmp 0x49746a
mov eax, 0xfffffdf5
jmp 0x497462
mov ecx, esi
mov edx, dword [esp + 0x28]
push ebx
push ebp
call 0x497590
add esp, 8
test eax, eax
js 0x497462
add ebp, eax
cmp dword [esi + 0x60], 0
jne 0x497453
mov eax, dword [esi + 0x48]
mov byte [eax], 0
jmp 0x49742b
sub ebx, ebp
mov eax, dword [esi + 0x60]
cmp ebx, eax
mov esi, ebx
cmovae esi, eax
push esi
push ebp
mov eax, dword [esp + 0x58]
push dword [eax + 0x48]
call fcn.00494ff0
add esp, 0xc
mov ecx, eax
mov eax, esi
mov edx, dword [esp + 0x50]
mov dword [edx + 0x48], ecx
mov edx, dword [edx + 0x60]
mov esi, edx
sub esi, eax
mov edi, dword [esp + 0x50]
mov dword [edi + 0x60], esi
mov esi, dword [esp + 0x50]
test eax, eax
js 0x497462
add ebp, eax
cmp edx, eax
jne 0x497453
mov byte [ecx], 0
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x54]
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x74], 2
jne 0x49752d
mov edi, ebp
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.004975f0
jmp 0x49753a
mov esi, ebp
mov ecx, dword [esp + 0x64]
mov eax, 0xfffffdf5
test ecx, ecx
je 0x497472
mov ecx, dword [esp + 0x50]
mov byte [ecx + 0x20], 1
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
sub esi, dword [esp + 0x5c]
mov eax, esi
jmp 0x49746a
mov eax, ebx
jmp 0x497462
cmp edx, eax
jbe 0x49755f
cmp eax, 0x3d
mov ebp, esi
jb 0x4974c7
add edi, 0xffffffc2
cmp dword [esp + 4], edi
jbe 0x497574
mov esi, dword [esp + 0x50]
mov eax, dword [esi]
add edi, dword [esi + 8]
and edi, dword [esi + 4]
mov edx, dword [eax + edi*4]
movq xmm0, qword [edx]
mov eax, dword [edx + 8]
movzx ecx, byte [edx + 0xc]
movzx ebx, byte [edx + 0xf]
mov byte [esp + 0x22], bl
movzx edx, word [edx + 0xd]
mov word [esp + 0x20], dx
jmp 0x4974f5
mov ecx, eax
shl ecx, 6
lea edx, [ecx + eax*4]
add edx, 0x9a9a34
lea esi, [ecx + eax*4 + 0x9a9a48]
mov eax, dword [ecx + eax*4 + 0x9a9a70]
movd xmm1, esi
mov esi, dword [esp + 0x50]
movd xmm0, edx
punpckldq xmm0, xmm1
xor ecx, ecx
mov edx, dword [esp + 0x54]
movq qword [edx], xmm0
mov dword [edx + 8], eax
mov byte [edx + 0xc], cl
movzx eax, word [esp + 0x20]
mov word [edx + 0xd], ax
movzx eax, byte [esp + 0x22]
mov byte [edx + 0xf], al
mov dword [esi + 0x78], 2
mov eax, dword [esp + 0x58]
or byte [eax], 2
sub ebp, dword [esp + 0x5c]
mov eax, ebp
jmp 0x49746a
mov edi, ebp
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.00497660
test eax, eax
jne 0x497462
mov eax, dword [esp + 0x50]
mov dword [eax + 0x78], 2
mov eax, dword [esp + 0x58]
or byte [eax], 2
mov eax, edi
sub eax, dword [esp + 0x5c]
jmp 0x49746a
push 0x518
push str.nghttp2_hd.c
push str.INDEX_RANGE_VALID_context__idx_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
push 0x263
push str.nghttp2_hd.c
push 0x9aaa68
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop dword [eax]
push ebp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, edi
sub ebx, eax
mov ebp, dword [ecx + 0x60]
xor ecx, ecx
cmp ebx, ebp
lea ebp, [eax + ebp]
setae cl
cmovb ebp, edi
lea ebx, [esi + 0x24]
sub ebp, eax
push ecx
push ebp
push eax
push edx
push ebx
call fcn.00498f10
add esp, 0x14
mov edi, eax
test eax, eax
js 0x4975e1
push ebx
call fcn.00499000
add esp, 4
mov ecx, eax
mov eax, 0xfffffdf5
test ecx, ecx
jne 0x4975e3
sub dword [esi + 0x60], edi
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret