Function at 0x494de0
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 0x495e5a
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.00498f90
add esp, 4
push dword [esi + 0x58]
call fcn.00498f90
add esp, 4
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [edi], 0
mov ecx, ebp
test ebx, ebx
je 0x495d79
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 0x494ea0
cmp eax, 2
je 0x495da2
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 0x495d73
mov eax, dword [esi + 0x78]
cmp eax, 0xc
ja case.default.0x494ea8
jmp dword [eax*4 + 0x97f3f0]
movzx ecx, byte [ebp]
mov edx, ecx
and dl, 0xe0
cmp dl, 0x20
je 0x494e6c
test cl, cl
js 0x4952e0
mov eax, 1
movsd xmm0, qword [0x97f3d0]
test ecx, ecx
je 0x494eea
cmp ecx, 0x10
je 0x494eea
cmp ecx, 0x40
je 0x494eea
xor eax, eax
movsd xmm0, qword [0x97f3e0]
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 0x494e83
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 0x49508c
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.00497900
add esp, 0x14
test eax, eax
js 0x495e52
mov edi, eax
push esi
call fcn.004979f0
add esp, 4
test eax, eax
jne 0x495da2
add ebp, edi
mov esi, dword [esp + 0x50]
sub dword [esi + 0x60], edi
jne 0x495e43
mov eax, dword [esi + 0x34]
mov byte [eax], 0
jmp 0x495167
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 0x494fcd
mov edi, dword [esi + 0x60]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x70], 0
mov ecx, ebp
test edi, edi
jne 0x494ffc
mov esi, ecx
movzx edx, byte [ecx]
and edx, 0x7f
mov ebx, 1
mov ecx, 1
cmp edx, 0x7f
jne 0x495393
mov ecx, esi
lea ebp, [esi + 1]
mov edi, 0x7f
cmp ebp, dword [esp + 8]
je 0x495391
cmp ebp, dword [esp + 8]
je 0x4952ca
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 0x495e52
mov dword [esp + 0x14], edx
movzx edx, byte [edx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x495e52
mov ecx, dword [esp + 4]
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x495e52
test dl, dl
js 0x49541d
mov esi, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x14]
jmp 0x495487
movzx eax, byte [ebp]
and al, 0xe0
cmp al, 0x20
je 0x494e75
jmp 0x495da2
mov edi, dword [esi + 0x60]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x70], 0
mov eax, ebp
test edi, edi
jne 0x4950b8
movzx edx, byte [ebp]
and edx, 0x7f
mov ebx, 1
mov edi, 1
cmp edx, 0x7f
jne 0x495389
lea eax, [ebp + 1]
mov edi, 0x7f
cmp eax, dword [esp + 8]
je 0x495387
cmp eax, dword [esp + 8]
je 0x495773
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 0x495e52
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x495e52
mov ecx, dword [esp + 4]
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x495e52
test dl, dl
js 0x49539f
mov ebp, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x14]
jmp 0x49540f
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.004939e0
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 0x495e52
add ebp, eax
cmp edx, eax
jne 0x495e43
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.0x494ea8
mov eax, dword [esi + 0x74]
mov ecx, 7
mov dword [esp + 0x14], eax
cmp eax, 1
je 0x4951a0
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 0x4952f3
cmp eax, ebx
je 0x495324
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 0x495e52
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx]
mov edi, ebx
and edi, 0x7f
cmp edx, edi
jb 0x495e52
mov ecx, dword [esp]
shl edi, cl
mov edx, dword [esp + 0xc]
add edx, edi
jb 0x495e52
test bl, bl
js 0x495553
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [esi + 0x70], ecx
inc eax
mov ecx, 1
jmp 0x495333
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 0x495347
cmp eax, ebx
je 0x4959a9
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 0x495e52
mov dword [esp + 0x10], edx
mov dword [esp + 4], ebx
movzx edx, byte [ebx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x495e52
shl ebx, cl
mov edi, dword [esp + 0x14]
add edi, ebx
jb 0x495e52
test dl, dl
js 0x4955ca
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 0x4959b6
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 0x495494
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 4
jmp 0x494e83
xor edi, 0x7f
movzx eax, byte [ebp]
and eax, edi
mov ebx, 1
cmp eax, edi
jne 0x49553d
lea eax, [ebp + 1]
cmp eax, dword [esp + 8]
je 0x495648
mov edx, edi
mov ebx, dword [esp + 8]
cmp eax, ebx
jne 0x4951cf
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 0x49564a
jmp 0x495da2
movzx edi, byte [ebp]
and edi, 0x1f
mov eax, 1
cmp edi, 0x1f
jne 0x495549
mov dword [esp], ecx
lea ecx, [ebp + 1]
mov edi, 0x1f
mov dword [esp + 4], ecx
cmp ecx, ebx
je 0x4956a8
mov eax, dword [esp + 4]
mov ecx, dword [esp]
cmp eax, ebx
jne 0x49525f
jmp 0x4959a9
xor edi, edi
mov dword [esi + 0x60], edx
jmp 0x4957b1
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
jmp 0x4954c3
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 0x49576c
mov ebp, edi
mov edi, 0x1ffffff
shr edi, cl
cmp ecx, 0x18
ja 0x495e52
mov dword [esp + 0xc], ebx
movzx edx, byte [ebx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x495e52
mov ecx, dword [esp + 4]
add ecx, 7
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x495e52
test dl, dl
js 0x4956b8
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp]
mov dword [esi + 0x70], ecx
inc ebx
mov ecx, 1
jmp 0x495780
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 0x495640
mov ebp, edi
mov edi, 0x1ffffff
shr edi, cl
cmp ecx, 0x18
ja 0x495e52
mov dword [esp + 0x10], ebx
movzx edx, byte [esi]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x495e52
mov ecx, dword [esp + 4]
add ecx, 7
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x495e52
test dl, dl
js 0x495825
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 0x495e52
cmp edx, 0x10000
ja 0x495e52
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
mov eax, ebx
test ebx, ebx
js 0x495e52
add esi, ebx
test ecx, ecx
je 0x495e45
mov edi, dword [esp + 0x50]
cmp byte [edi + 0x7c], 0
je 0x4954f6
push dword [esp + 0x24]
call fcn.004978f0
add esp, 4
mov dword [edi + 0x78], 7
mov eax, dword [edi + 0x60]
lea edx, [eax*2 + 1]
jmp 0x4954fe
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.00498e90
add esp, 0xc
test eax, eax
jne 0x495e52
mov eax, dword [edi]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esp + 0x3c]
call fcn.0049cca0
add esp, 0xc
xor eax, eax
mov esi, dword [esp + 0x50]
jmp 0x494e93
mov ecx, 1
mov edi, eax
jmp 0x49564a
mov ecx, 1
jmp 0x4959c3
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 0x4956af
mov edx, 0x1ffffff
mov ecx, dword [esp]
shr edx, cl
mov ecx, dword [esp]
cmp ecx, 0x18
ja 0x495e52
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
movzx ebx, byte [edi]
mov edi, ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x495e52
add ecx, 7
shl ebx, cl
mov edx, dword [esp + 0xc]
add edx, ebx
jb 0x495e52
mov ebx, edi
test bl, bl
js 0x4958d5
mov eax, dword [esp + 0x18]
jmp 0x495227
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 0x4959a1
mov edx, 0x1ffffff
mov ecx, dword [esp]
shr edx, cl
mov ecx, dword [esp]
cmp ecx, 0x18
ja 0x495e52
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x495e52
add ecx, 7
shl ebx, cl
add edi, ebx
jb 0x495e52
cmp byte [esp + 0xc], 0
js 0x49593c
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
jmp 0x4952bc
mov esi, dword [esp]
jmp 0x4952ce
xor ecx, ecx
mov eax, dword [esp + 4]
lea edx, [eax + 0x3d]
mov eax, 0xfffffdf5
cmp edi, edx
ja 0x495e52
mov dword [esi + 0x60], edi
test ebx, ebx
js 0x495e6a
add ebp, ebx
mov esi, ebp
test ecx, ecx
je 0x495e45
test edi, edi
je 0x495e52
lea eax, [edi - 1]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x64], eax
cmp dword [esp + 0x14], 1
je 0x495e6e
mov dword [ecx + 0x78], 9
xor eax, eax
mov ebx, dword [esp + 8]
mov ebp, esi
mov esi, ecx
jmp 0x494e93
xor ecx, ecx
jmp 0x4959c3
mov edx, dword [esp + 0xc]
jmp 0x495326
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 2]
cmp edx, dword [esp + 8]
je 0x49576c
mov ebp, edi
mov edi, 0x3ffff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0x11
ja 0x495e52
mov dword [esp + 0xc], edx
movzx edx, byte [edx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x495e52
mov ecx, dword [esp + 4]
add ecx, 0xe
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x495e52
test dl, dl
jns 0x495408
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 3]
cmp edx, dword [esp + 8]
je 0x49576c
mov ebp, edi
mov edi, 0x7ff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0xa
ja 0x495e52
mov dword [esp + 0xc], edx
movzx ebx, byte [edx]
mov edx, ebx
and edx, 0x7f
cmp edi, edx
jb 0x495e52
mov ecx, dword [esp + 4]
add ecx, 0x15
shl edx, cl
add edx, ebp
jb 0x495e52
test bl, bl
mov ebp, dword [esp]
js 0x495b5d
mov edi, edx
mov ebx, dword [esp + 0xc]
jmp 0x49540f
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 0x495e52
cmp edx, 0x10000
ja 0x495e52
mov edi, ecx
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
mov eax, ebx
test ebx, ebx
js 0x495e52
add ebp, ebx
test edi, edi
je 0x495e43
mov esi, dword [esp + 0x50]
cmp byte [esi + 0x7c], 0
je 0x4957e4
push dword [esp + 0x24]
call fcn.004978f0
add esp, 4
mov dword [esi + 0x78], 0xb
mov eax, dword [esi + 0x60]
lea edx, [eax*2 + 1]
jmp 0x4957ec
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.00498e90
add esp, 0xc
test eax, eax
jne 0x495e52
mov eax, dword [edi]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esp + 0x30]
call fcn.0049cca0
add esp, 0xc
mov al, 1
jmp 0x494e93
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 2]
cmp esi, dword [esp + 8]
je 0x495a6e
mov ebp, edi
mov edi, 0x3ffff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0x11
ja 0x495e52
movzx edx, byte [esi]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x495e52
mov ecx, dword [esp + 4]
add ecx, 0xe
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x495e52
test dl, dl
jns 0x495482
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 3]
cmp esi, dword [esp + 8]
je 0x495a6e
mov ebp, edi
mov edi, 0x7ff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0xa
ja 0x495e52
movzx ebx, byte [esi]
mov edx, ebx
and edx, 0x7f
cmp edi, edx
jb 0x495e52
mov ecx, dword [esp + 4]
add ecx, 0x15
shl edx, cl
add edx, ebp
jb 0x495e52
test bl, bl
mov ebp, dword [esp]
js 0x495bc2
mov ebx, esi
mov esi, ebp
mov edi, edx
jmp 0x495487
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + 2]
cmp ebx, dword [esp + 8]
je 0x495a7a
mov edi, edx
mov edx, 0x3ffff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0x11
ja 0x495e52
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x495e52
add ecx, 0xe
shl ebx, cl
add edi, ebx
jb 0x495e52
cmp byte [esp + 0xc], 0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
js 0x495a83
mov eax, dword [esp + 0x18]
mov edx, edi
jmp 0x495227
mov ecx, dword [esp + 4]
lea ebx, [ecx + 2]
cmp ebx, dword [esp + 8]
je 0x4959a1
mov edx, 0x3ffff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0x11
ja 0x495e52
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x495e52
add ecx, 0xe
shl ebx, cl
add edi, ebx
mov edx, dword [esp + 0x10]
jb 0x495e52
mov ebx, edi
cmp byte [esp + 0xc], 0
mov edi, dword [esp + 8]
js 0x495ae2
mov eax, dword [esp + 0x18]
mov edi, ebx
mov ebx, eax
jmp 0x4952bc
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 0x495da2
cmp edi, edx
ja 0x495da2
mov dword [esi + 0x60], edi
test eax, eax
js 0x495e52
add ebp, eax
test ecx, ecx
je 0x495e43
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x18], edi
mov eax, dword [esi + 0x14]
cmp eax, edi
jbe 0x495a5c
mov edi, dword [esi + 0x10]
nop word cs:[eax + eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x495a5c
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.00498f90
add esp, 4
push dword [ebx]
call fcn.00498f90
add esp, 4
push ebx
push edi
call fcn.00497e90
add esp, 8
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
ja 0x495a00
mov dword [esi + 0x78], 1
xor eax, eax
mov ebx, dword [esp + 8]
jmp 0x494e93
mov esi, dword [esp]
mov ebx, dword [esp + 0x10]
jmp 0x4952ce
mov ebx, dword [esp + 0x1c]
jmp 0x495326
mov ecx, dword [esp + 0x10]
add ecx, 3
mov dword [esp + 0xc], ecx
cmp ecx, edx
je 0x495b4f
mov edx, 0x7ff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0xa
ja 0x495e52
mov ebx, dword [esp + 0xc]
movzx ebx, byte [ebx]
mov dword [esp + 0x18], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x495e52
add ecx, 0x15
shl ebx, cl
add ebx, edi
jb 0x495e52
cmp byte [esp + 0x18], 0
js 0x495c25
mov edx, ebx
mov eax, dword [esp + 0xc]
jmp 0x495227
mov ecx, dword [esp + 4]
add ecx, 3
mov dword [esp + 0xc], ecx
cmp ecx, edi
je 0x495b56
mov edx, 0x7ff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0xa
ja 0x495e52
mov edi, dword [esp + 0xc]
movzx edi, byte [edi]
mov dword [esp + 0x18], edi
and edi, 0x7f
cmp edx, edi
jb 0x495e52
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 0x495e52
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 4]
js 0x495c85
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
jmp 0x4952bc
mov edx, edi
jmp 0x495326
mov edi, ebx
jmp 0x4959a5
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 4]
cmp ebx, dword [esp + 8]
je 0x495ce3
mov edi, 0xf
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 3
ja 0x495e52
mov dword [esp + 0xc], ebx
movzx ebx, byte [ebx]
mov ecx, ebx
and ecx, 0x7f
cmp edi, ecx
jb 0x495e52
mov edi, ecx
mov ecx, dword [esp + 4]
add ecx, 0x1c
mov dword [esp + 4], ecx
shl edi, cl
add edi, edx
jb 0x495e52
test bl, bl
js 0x495d0b
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
jmp 0x49540f
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 4]
cmp ebx, dword [esp + 8]
je 0x495cea
mov edi, 0xf
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 3
ja 0x495e52
mov esi, ebp
mov ebp, ebx
movzx ebx, byte [ebx]
mov ecx, ebx
and ecx, 0x7f
cmp edi, ecx
jb 0x495e52
mov edi, ecx
mov ecx, dword [esp + 4]
add ecx, 0x1c
mov dword [esp + 4], ecx
shl edi, cl
add edi, edx
jb 0x495e52
test bl, bl
js 0x495d25
mov ebx, ebp
mov ecx, dword [esp + 4]
jmp 0x495487
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 4]
cmp edi, dword [esp + 8]
je 0x495cf7
mov edx, 0xf
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 3
ja 0x495e52
mov dword [esp + 0xc], edi
movzx ecx, byte [edi]
mov edi, ecx
and ecx, 0x7f
cmp edx, ecx
jb 0x495e52
mov edx, ecx
mov ecx, dword [esp]
add ecx, 0x1c
mov dword [esp], ecx
shl edx, cl
add edx, ebx
jb 0x495e52
mov ecx, edi
test cl, cl
js 0x495d3f
mov eax, dword [esp + 0xc]
jmp 0x495224
add ebx, 4
cmp ebx, edi
je 0x495d02
mov edx, 0xf
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 3
ja 0x495e52
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x495e52
add ecx, 0x1c
mov dword [esp], ecx
shl ebx, cl
add ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
jb 0x495e52
mov ecx, ebx
cmp byte [esp + 0xc], 0
js 0x495d59
mov ebx, dword [esp + 0x18]
mov edi, ecx
jmp 0x4952b9
mov edi, edx
jmp 0x49576f
mov esi, ebp
mov edi, edx
mov ebx, dword [esp + 0x10]
jmp 0x4952ce
mov edx, ebx
mov ebx, dword [esp + 0x1c]
jmp 0x495326
mov edi, dword [esp + 0x1c]
jmp 0x4959a5
mov ecx, dword [esp + 0x14]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
je 0x495773
jmp 0x495e52
mov ecx, dword [esp + 0x14]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
je 0x4952ce
jmp 0x495e52
mov ecx, dword [esp + 0x10]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
je 0x495326
jmp 0x495e52
mov ebx, dword [esp + 4]
add ebx, 5
cmp ebx, edi
mov edi, ecx
mov ecx, dword [esp + 0x14]
je 0x4959a9
jmp 0x495e52
mov ecx, ebx
mov ebp, dword [esp + 0x5c]
cmp dword [esp + 0x64], 0
je 0x495d99
mov edx, dword [esi + 0x78]
dec edx
mov eax, 0xfffffdf5
cmp edx, 1
ja 0x495e52
mov eax, dword [esp + 0x58]
or byte [eax], 1
sub ecx, ebp
mov eax, ecx
jmp 0x495e5a
mov eax, 0xfffffdf5
jmp 0x495e52
mov ecx, esi
mov edx, dword [esp + 0x28]
push ebx
push ebp
call 0x495f80
add esp, 8
test eax, eax
js 0x495e52
add ebp, eax
cmp dword [esi + 0x60], 0
jne 0x495e43
mov eax, dword [esi + 0x48]
mov byte [eax], 0
jmp 0x495e1b
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.004939e0
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 0x495e52
add ebp, eax
cmp edx, eax
jne 0x495e43
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 0x495f1d
mov edi, ebp
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.00495fe0
jmp 0x495f2a
mov esi, ebp
mov ecx, dword [esp + 0x64]
mov eax, 0xfffffdf5
test ecx, ecx
je 0x495e62
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 0x495e5a
mov eax, ebx
jmp 0x495e52
cmp edx, eax
jbe 0x495f4f
cmp eax, 0x3d
mov ebp, esi
jb 0x495eb7
add edi, 0xffffffc2
cmp dword [esp + 4], edi
jbe 0x495f64
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 0x495ee5
mov ecx, eax
shl ecx, 6
lea edx, [ecx + eax*4]
add edx, 0x97f714
lea esi, [ecx + eax*4 + 0x97f728]
mov eax, dword [ecx + eax*4 + 0x97f750]
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 0x495e5a
mov edi, ebp
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.00496050
test eax, eax
jne 0x495e52
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 0x495e5a
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 0x980748
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.00497900
add esp, 0x14
mov edi, eax
test eax, eax
js 0x495fd1
push ebx
call fcn.004979f0
add esp, 4
mov ecx, eax
mov eax, 0xfffffdf5
test ecx, ecx
jne 0x495fd3
sub dword [esi + 0x60], edi
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret