Function at 0x494830
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 0x4958aa
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.004989e0
add esp, 4
push dword [esi + 0x58]
call fcn.004989e0
add esp, 4
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [edi], 0
mov ecx, ebp
test ebx, ebx
je 0x4957c9
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 0x4948f0
cmp eax, 2
je 0x4957f2
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 0x4957c3
mov eax, dword [esi + 0x78]
cmp eax, 0xc
ja case.default.0x4948f8
jmp dword [eax*4 + 0xa2fab0]
movzx ecx, byte [ebp]
mov edx, ecx
and dl, 0xe0
cmp dl, 0x20
je 0x4948bc
test cl, cl
js 0x494d30
mov eax, 1
movsd xmm0, qword [0xa2fa90]
test ecx, ecx
je 0x49493a
cmp ecx, 0x10
je 0x49493a
cmp ecx, 0x40
je 0x49493a
xor eax, eax
movsd xmm0, qword [0xa2faa0]
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 0x4948d3
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 0x494adc
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.00497350
add esp, 0x14
test eax, eax
js 0x4958a2
mov edi, eax
push esi
call fcn.00497440
add esp, 4
test eax, eax
jne 0x4957f2
add ebp, edi
mov esi, dword [esp + 0x50]
sub dword [esi + 0x60], edi
jne 0x495893
mov eax, dword [esi + 0x34]
mov byte [eax], 0
jmp 0x494bb7
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 0x494a1d
mov edi, dword [esi + 0x60]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x70], 0
mov ecx, ebp
test edi, edi
jne 0x494a4c
mov esi, ecx
movzx edx, byte [ecx]
and edx, 0x7f
mov ebx, 1
mov ecx, 1
cmp edx, 0x7f
jne 0x494de3
mov ecx, esi
lea ebp, [esi + 1]
mov edi, 0x7f
cmp ebp, dword [esp + 8]
je 0x494de1
cmp ebp, dword [esp + 8]
je 0x494d1a
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 0x4958a2
mov dword [esp + 0x14], edx
movzx edx, byte [edx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x4958a2
mov ecx, dword [esp + 4]
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x4958a2
test dl, dl
js 0x494e6d
mov esi, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x14]
jmp 0x494ed7
movzx eax, byte [ebp]
and al, 0xe0
cmp al, 0x20
je 0x4948c5
jmp 0x4957f2
mov edi, dword [esi + 0x60]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x70], 0
mov eax, ebp
test edi, edi
jne 0x494b08
movzx edx, byte [ebp]
and edx, 0x7f
mov ebx, 1
mov edi, 1
cmp edx, 0x7f
jne 0x494dd9
lea eax, [ebp + 1]
mov edi, 0x7f
cmp eax, dword [esp + 8]
je 0x494dd7
cmp eax, dword [esp + 8]
je 0x4951c3
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 0x4958a2
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x4958a2
mov ecx, dword [esp + 4]
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x4958a2
test dl, dl
js 0x494def
mov ebp, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x14]
jmp 0x494e5f
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.00493430
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 0x4958a2
add ebp, eax
cmp edx, eax
jne 0x495893
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.0x4948f8
mov eax, dword [esi + 0x74]
mov ecx, 7
mov dword [esp + 0x14], eax
cmp eax, 1
je 0x494bf0
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 0x494d43
cmp eax, ebx
je 0x494d74
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 0x4958a2
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx]
mov edi, ebx
and edi, 0x7f
cmp edx, edi
jb 0x4958a2
mov ecx, dword [esp]
shl edi, cl
mov edx, dword [esp + 0xc]
add edx, edi
jb 0x4958a2
test bl, bl
js 0x494fa3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [esi + 0x70], ecx
inc eax
mov ecx, 1
jmp 0x494d83
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 0x494d97
cmp eax, ebx
je 0x4953f9
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 0x4958a2
mov dword [esp + 0x10], edx
mov dword [esp + 4], ebx
movzx edx, byte [ebx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x4958a2
shl ebx, cl
mov edi, dword [esp + 0x14]
add edi, ebx
jb 0x4958a2
test dl, dl
js 0x49501a
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 0x495406
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 0x494ee4
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 4
jmp 0x4948d3
xor edi, 0x7f
movzx eax, byte [ebp]
and eax, edi
mov ebx, 1
cmp eax, edi
jne 0x494f8d
lea eax, [ebp + 1]
cmp eax, dword [esp + 8]
je 0x495098
mov edx, edi
mov ebx, dword [esp + 8]
cmp eax, ebx
jne 0x494c1f
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 0x49509a
jmp 0x4957f2
movzx edi, byte [ebp]
and edi, 0x1f
mov eax, 1
cmp edi, 0x1f
jne 0x494f99
mov dword [esp], ecx
lea ecx, [ebp + 1]
mov edi, 0x1f
mov dword [esp + 4], ecx
cmp ecx, ebx
je 0x4950f8
mov eax, dword [esp + 4]
mov ecx, dword [esp]
cmp eax, ebx
jne 0x494caf
jmp 0x4953f9
xor edi, edi
mov dword [esi + 0x60], edx
jmp 0x495201
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
jmp 0x494f13
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 0x4951bc
mov ebp, edi
mov edi, 0x1ffffff
shr edi, cl
cmp ecx, 0x18
ja 0x4958a2
mov dword [esp + 0xc], ebx
movzx edx, byte [ebx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x4958a2
mov ecx, dword [esp + 4]
add ecx, 7
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x4958a2
test dl, dl
js 0x495108
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp]
mov dword [esi + 0x70], ecx
inc ebx
mov ecx, 1
jmp 0x4951d0
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 0x495090
mov ebp, edi
mov edi, 0x1ffffff
shr edi, cl
cmp ecx, 0x18
ja 0x4958a2
mov dword [esp + 0x10], ebx
movzx edx, byte [esi]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x4958a2
mov ecx, dword [esp + 4]
add ecx, 7
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x4958a2
test dl, dl
js 0x495275
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 0x4958a2
cmp edx, 0x10000
ja 0x4958a2
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
mov eax, ebx
test ebx, ebx
js 0x4958a2
add esi, ebx
test ecx, ecx
je 0x495895
mov edi, dword [esp + 0x50]
cmp byte [edi + 0x7c], 0
je 0x494f46
push dword [esp + 0x24]
call fcn.00497340
add esp, 4
mov dword [edi + 0x78], 7
mov eax, dword [edi + 0x60]
lea edx, [eax*2 + 1]
jmp 0x494f4e
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.004988e0
add esp, 0xc
test eax, eax
jne 0x4958a2
mov eax, dword [edi]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esp + 0x3c]
call fcn.0049c6f0
add esp, 0xc
xor eax, eax
mov esi, dword [esp + 0x50]
jmp 0x4948e3
mov ecx, 1
mov edi, eax
jmp 0x49509a
mov ecx, 1
jmp 0x495413
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 0x4950ff
mov edx, 0x1ffffff
mov ecx, dword [esp]
shr edx, cl
mov ecx, dword [esp]
cmp ecx, 0x18
ja 0x4958a2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
movzx ebx, byte [edi]
mov edi, ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x4958a2
add ecx, 7
shl ebx, cl
mov edx, dword [esp + 0xc]
add edx, ebx
jb 0x4958a2
mov ebx, edi
test bl, bl
js 0x495325
mov eax, dword [esp + 0x18]
jmp 0x494c77
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 0x4953f1
mov edx, 0x1ffffff
mov ecx, dword [esp]
shr edx, cl
mov ecx, dword [esp]
cmp ecx, 0x18
ja 0x4958a2
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x4958a2
add ecx, 7
shl ebx, cl
add edi, ebx
jb 0x4958a2
cmp byte [esp + 0xc], 0
js 0x49538c
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
jmp 0x494d0c
mov esi, dword [esp]
jmp 0x494d1e
xor ecx, ecx
mov eax, dword [esp + 4]
lea edx, [eax + 0x3d]
mov eax, 0xfffffdf5
cmp edi, edx
ja 0x4958a2
mov dword [esi + 0x60], edi
test ebx, ebx
js 0x4958ba
add ebp, ebx
mov esi, ebp
test ecx, ecx
je 0x495895
test edi, edi
je 0x4958a2
lea eax, [edi - 1]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0x64], eax
cmp dword [esp + 0x14], 1
je 0x4958be
mov dword [ecx + 0x78], 9
xor eax, eax
mov ebx, dword [esp + 8]
mov ebp, esi
mov esi, ecx
jmp 0x4948e3
xor ecx, ecx
jmp 0x495413
mov edx, dword [esp + 0xc]
jmp 0x494d76
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 2]
cmp edx, dword [esp + 8]
je 0x4951bc
mov ebp, edi
mov edi, 0x3ffff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0x11
ja 0x4958a2
mov dword [esp + 0xc], edx
movzx edx, byte [edx]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x4958a2
mov ecx, dword [esp + 4]
add ecx, 0xe
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x4958a2
test dl, dl
jns 0x494e58
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 3]
cmp edx, dword [esp + 8]
je 0x4951bc
mov ebp, edi
mov edi, 0x7ff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0xa
ja 0x4958a2
mov dword [esp + 0xc], edx
movzx ebx, byte [edx]
mov edx, ebx
and edx, 0x7f
cmp edi, edx
jb 0x4958a2
mov ecx, dword [esp + 4]
add ecx, 0x15
shl edx, cl
add edx, ebp
jb 0x4958a2
test bl, bl
mov ebp, dword [esp]
js 0x4955ad
mov edi, edx
mov ebx, dword [esp + 0xc]
jmp 0x494e5f
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 0x4958a2
cmp edx, 0x10000
ja 0x4958a2
mov edi, ecx
mov eax, dword [esp + 0x50]
mov dword [eax + 0x60], edx
mov eax, ebx
test ebx, ebx
js 0x4958a2
add ebp, ebx
test edi, edi
je 0x495893
mov esi, dword [esp + 0x50]
cmp byte [esi + 0x7c], 0
je 0x495234
push dword [esp + 0x24]
call fcn.00497340
add esp, 4
mov dword [esi + 0x78], 0xb
mov eax, dword [esi + 0x60]
lea edx, [eax*2 + 1]
jmp 0x49523c
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.004988e0
add esp, 0xc
test eax, eax
jne 0x4958a2
mov eax, dword [edi]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esp + 0x30]
call fcn.0049c6f0
add esp, 0xc
mov al, 1
jmp 0x4948e3
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 2]
cmp esi, dword [esp + 8]
je 0x4954be
mov ebp, edi
mov edi, 0x3ffff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0x11
ja 0x4958a2
movzx edx, byte [esi]
mov ebx, edx
and ebx, 0x7f
cmp edi, ebx
jb 0x4958a2
mov ecx, dword [esp + 4]
add ecx, 0xe
shl ebx, cl
mov edi, ebp
add edi, ebx
jb 0x4958a2
test dl, dl
jns 0x494ed2
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 3]
cmp esi, dword [esp + 8]
je 0x4954be
mov ebp, edi
mov edi, 0x7ff
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 0xa
ja 0x4958a2
movzx ebx, byte [esi]
mov edx, ebx
and edx, 0x7f
cmp edi, edx
jb 0x4958a2
mov ecx, dword [esp + 4]
add ecx, 0x15
shl edx, cl
add edx, ebp
jb 0x4958a2
test bl, bl
mov ebp, dword [esp]
js 0x495612
mov ebx, esi
mov esi, ebp
mov edi, edx
jmp 0x494ed7
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + 2]
cmp ebx, dword [esp + 8]
je 0x4954ca
mov edi, edx
mov edx, 0x3ffff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0x11
ja 0x4958a2
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x4958a2
add ecx, 0xe
shl ebx, cl
add edi, ebx
jb 0x4958a2
cmp byte [esp + 0xc], 0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
js 0x4954d3
mov eax, dword [esp + 0x18]
mov edx, edi
jmp 0x494c77
mov ecx, dword [esp + 4]
lea ebx, [ecx + 2]
cmp ebx, dword [esp + 8]
je 0x4953f1
mov edx, 0x3ffff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0x11
ja 0x4958a2
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x4958a2
add ecx, 0xe
shl ebx, cl
add edi, ebx
mov edx, dword [esp + 0x10]
jb 0x4958a2
mov ebx, edi
cmp byte [esp + 0xc], 0
mov edi, dword [esp + 8]
js 0x495532
mov eax, dword [esp + 0x18]
mov edi, ebx
mov ebx, eax
jmp 0x494d0c
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 0x4957f2
cmp edi, edx
ja 0x4957f2
mov dword [esi + 0x60], edi
test eax, eax
js 0x4958a2
add ebp, eax
test ecx, ecx
je 0x495893
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x18], edi
mov eax, dword [esi + 0x14]
cmp eax, edi
jbe 0x4954ac
mov edi, dword [esi + 0x10]
nop word cs:[eax + eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4954ac
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.004989e0
add esp, 4
push dword [ebx]
call fcn.004989e0
add esp, 4
push ebx
push edi
call fcn.004978e0
add esp, 8
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
ja 0x495450
mov dword [esi + 0x78], 1
xor eax, eax
mov ebx, dword [esp + 8]
jmp 0x4948e3
mov esi, dword [esp]
mov ebx, dword [esp + 0x10]
jmp 0x494d1e
mov ebx, dword [esp + 0x1c]
jmp 0x494d76
mov ecx, dword [esp + 0x10]
add ecx, 3
mov dword [esp + 0xc], ecx
cmp ecx, edx
je 0x49559f
mov edx, 0x7ff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0xa
ja 0x4958a2
mov ebx, dword [esp + 0xc]
movzx ebx, byte [ebx]
mov dword [esp + 0x18], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x4958a2
add ecx, 0x15
shl ebx, cl
add ebx, edi
jb 0x4958a2
cmp byte [esp + 0x18], 0
js 0x495675
mov edx, ebx
mov eax, dword [esp + 0xc]
jmp 0x494c77
mov ecx, dword [esp + 4]
add ecx, 3
mov dword [esp + 0xc], ecx
cmp ecx, edi
je 0x4955a6
mov edx, 0x7ff
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 0xa
ja 0x4958a2
mov edi, dword [esp + 0xc]
movzx edi, byte [edi]
mov dword [esp + 0x18], edi
and edi, 0x7f
cmp edx, edi
jb 0x4958a2
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 0x4958a2
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 4]
js 0x4956d5
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
jmp 0x494d0c
mov edx, edi
jmp 0x494d76
mov edi, ebx
jmp 0x4953f5
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 4]
cmp ebx, dword [esp + 8]
je 0x495733
mov edi, 0xf
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 3
ja 0x4958a2
mov dword [esp + 0xc], ebx
movzx ebx, byte [ebx]
mov ecx, ebx
and ecx, 0x7f
cmp edi, ecx
jb 0x4958a2
mov edi, ecx
mov ecx, dword [esp + 4]
add ecx, 0x1c
mov dword [esp + 4], ecx
shl edi, cl
add edi, edx
jb 0x4958a2
test bl, bl
js 0x49575b
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
jmp 0x494e5f
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 4]
cmp ebx, dword [esp + 8]
je 0x49573a
mov edi, 0xf
mov ecx, dword [esp + 4]
shr edi, cl
cmp ecx, 3
ja 0x4958a2
mov esi, ebp
mov ebp, ebx
movzx ebx, byte [ebx]
mov ecx, ebx
and ecx, 0x7f
cmp edi, ecx
jb 0x4958a2
mov edi, ecx
mov ecx, dword [esp + 4]
add ecx, 0x1c
mov dword [esp + 4], ecx
shl edi, cl
add edi, edx
jb 0x4958a2
test bl, bl
js 0x495775
mov ebx, ebp
mov ecx, dword [esp + 4]
jmp 0x494ed7
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 4]
cmp edi, dword [esp + 8]
je 0x495747
mov edx, 0xf
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 3
ja 0x4958a2
mov dword [esp + 0xc], edi
movzx ecx, byte [edi]
mov edi, ecx
and ecx, 0x7f
cmp edx, ecx
jb 0x4958a2
mov edx, ecx
mov ecx, dword [esp]
add ecx, 0x1c
mov dword [esp], ecx
shl edx, cl
add edx, ebx
jb 0x4958a2
mov ecx, edi
test cl, cl
js 0x49578f
mov eax, dword [esp + 0xc]
jmp 0x494c74
add ebx, 4
cmp ebx, edi
je 0x495752
mov edx, 0xf
mov ecx, dword [esp]
shr edx, cl
cmp ecx, 3
ja 0x4958a2
mov dword [esp + 0x18], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0xc], ebx
and ebx, 0x7f
cmp edx, ebx
jb 0x4958a2
add ecx, 0x1c
mov dword [esp], ecx
shl ebx, cl
add ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
jb 0x4958a2
mov ecx, ebx
cmp byte [esp + 0xc], 0
js 0x4957a9
mov ebx, dword [esp + 0x18]
mov edi, ecx
jmp 0x494d09
mov edi, edx
jmp 0x4951bf
mov esi, ebp
mov edi, edx
mov ebx, dword [esp + 0x10]
jmp 0x494d1e
mov edx, ebx
mov ebx, dword [esp + 0x1c]
jmp 0x494d76
mov edi, dword [esp + 0x1c]
jmp 0x4953f5
mov ecx, dword [esp + 0x14]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
je 0x4951c3
jmp 0x4958a2
mov ecx, dword [esp + 0x14]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
je 0x494d1e
jmp 0x4958a2
mov ecx, dword [esp + 0x10]
add ecx, 5
cmp ecx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
je 0x494d76
jmp 0x4958a2
mov ebx, dword [esp + 4]
add ebx, 5
cmp ebx, edi
mov edi, ecx
mov ecx, dword [esp + 0x14]
je 0x4953f9
jmp 0x4958a2
mov ecx, ebx
mov ebp, dword [esp + 0x5c]
cmp dword [esp + 0x64], 0
je 0x4957e9
mov edx, dword [esi + 0x78]
dec edx
mov eax, 0xfffffdf5
cmp edx, 1
ja 0x4958a2
mov eax, dword [esp + 0x58]
or byte [eax], 1
sub ecx, ebp
mov eax, ecx
jmp 0x4958aa
mov eax, 0xfffffdf5
jmp 0x4958a2
mov ecx, esi
mov edx, dword [esp + 0x28]
push ebx
push ebp
call 0x4959d0
add esp, 8
test eax, eax
js 0x4958a2
add ebp, eax
cmp dword [esi + 0x60], 0
jne 0x495893
mov eax, dword [esi + 0x48]
mov byte [eax], 0
jmp 0x49586b
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.00493430
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 0x4958a2
add ebp, eax
cmp edx, eax
jne 0x495893
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 0x49596d
mov edi, ebp
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.00495a30
jmp 0x49597a
mov esi, ebp
mov ecx, dword [esp + 0x64]
mov eax, 0xfffffdf5
test ecx, ecx
je 0x4958b2
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 0x4958aa
mov eax, ebx
jmp 0x4958a2
cmp edx, eax
jbe 0x49599f
cmp eax, 0x3d
mov ebp, esi
jb 0x495907
add edi, 0xffffffc2
cmp dword [esp + 4], edi
jbe 0x4959b4
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 0x495935
mov ecx, eax
shl ecx, 6
lea edx, [ecx + eax*4]
add edx, 0xa2fdd4
lea esi, [ecx + eax*4 + 0xa2fde8]
mov eax, dword [ecx + eax*4 + 0xa2fe10]
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 0x4958aa
mov edi, ebp
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.00495aa0
test eax, eax
jne 0x4958a2
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 0x4958aa
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 0xa30e08
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.00497350
add esp, 0x14
mov edi, eax
test eax, eax
js 0x495a21
push ebx
call fcn.00497440
add esp, 4
mov ecx, eax
mov eax, 0xfffffdf5
test ecx, ecx
jne 0x495a23
sub dword [esi + 0x60], edi
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret